Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009316/0.0009316, allocations: 80.8 kB / 20.75 MB, free: 3.738 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009721/0.0009721, allocations: 161.4 kB / 24.17 MB, free: 328 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.028/1.028, allocations: 177.1 MB / 204.6 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.986/1.986, allocations: 377.9 MB / 0.624 GB, free: 8.359 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|samTri.y|triggeredSampler.u|triggeredSampler.y|samTri1.y|triggeredSampler1.u|triggeredSampler1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|samTri.y|triggeredSampler.u|triggeredSampler.y|samTri1.y|triggeredSampler1.u|triggeredSampler1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.664e-06/1.664e-06, allocations: 0 / 0.7601 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.501e-05/1.667e-05, allocations: 5.266 kB / 0.7601 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.001391/0.001407, allocations: 0.8063 MB / 0.7609 GB, free: 5.781 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001117/0.002525, allocations: 1.125 MB / 0.762 GB, free: 4.645 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.632e-05/0.002571, allocations: 0.5469 kB / 0.762 GB, free: 4.645 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.695e-05/0.002598, allocations: 6.125 kB / 0.762 GB, free: 4.641 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.947e-05/0.002667, allocations: 16.19 kB / 0.762 GB, free: 4.629 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002418/0.002909, allocations: 52.64 kB / 0.762 GB, free: 4.578 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001004/0.00301, allocations: 76.31 kB / 0.7621 GB, free: 4.516 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.04e-05/0.00309, allocations: 21.69 kB / 0.7621 GB, free: 4.492 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 8.197e-05/0.003172, allocations: 43.89 kB / 0.7622 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.335e-05/0.003215, allocations: 23.91 kB / 0.7622 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.003232, allocations: 8 kB / 0.7622 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 6.583e-05/0.003298, allocations: 23.97 kB / 0.7622 GB, free: 4.395 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.708e-05/0.003315, allocations: 13.17 kB / 0.7622 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.21e-05/0.003337, allocations: 16 kB / 0.7622 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 9.928e-05/0.003436, allocations: 63.72 kB / 0.7623 GB, free: 4.305 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.003438, allocations: 5.125 kB / 0.7623 GB, free: 4.301 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.71e-07/0.003439, allocations: 0 / 0.7623 GB, free: 4.301 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.496e-06/0.003442, allocations: 0 / 0.7623 GB, free: 4.301 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0002971/0.003739, allocations: 273.6 kB / 0.7626 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.873e-05/0.003768, allocations: 8.031 kB / 0.7626 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.517e-05/0.003793, allocations: 9.609 kB / 0.7626 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.692e-05/0.00387, allocations: 121.6 kB / 0.7627 GB, free: 3.852 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.00388, allocations: 10.14 kB / 0.7627 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.00389, allocations: 4.375 kB / 0.7627 GB, free: 3.84 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.122e-05/0.003982, allocations: 70.88 kB / 0.7628 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.071e-06/0.003988, allocations: 192 / 0.7628 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.812e-06/0.003994, allocations: 4.844 kB / 0.7628 GB, free: 3.758 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.004, allocations: 4.125 kB / 0.7628 GB, free: 3.754 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.968e-05/0.00402, allocations: 12.67 kB / 0.7628 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002763/0.004296, allocations: 189.1 kB / 0.763 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.055e-05/0.004357, allocations: 27.48 kB / 0.763 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.759e-05/0.004374, allocations: 16.83 kB / 0.763 GB, free: 3.488 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.521e-05/0.00439, allocations: 4.75 kB / 0.763 GB, free: 3.484 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.532e-05/0.004455, allocations: 63.48 kB / 0.7631 GB, free: 3.41 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.633e-06/0.004457, allocations: 0.75 kB / 0.7631 GB, free: 3.41 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0001043/0.004561, allocations: 53.69 kB / 0.7631 GB, free: 3.352 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.004595, allocations: 52.09 kB / 0.7632 GB, free: 3.289 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.084e-05/0.004666, allocations: 130.7 kB / 0.7633 GB, free: 3.148 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.085e-05/0.004676, allocations: 26.23 kB / 0.7633 GB, free: 3.117 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.745e-05/0.004714, allocations: 95.52 kB / 0.7634 GB, free: 3.023 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.151e-05/0.004735, allocations: 31.75 kB / 0.7635 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.185e-05/0.004767, allocations: 25.7 kB / 0.7635 GB, free: 2.961 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.968e-05/0.004847, allocations: 318.8 kB / 0.7638 GB, free: 2.641 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.537e-05/0.004862, allocations: 7.984 kB / 0.7638 GB, free: 2.633 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.617e-05/0.004898, allocations: 50 kB / 0.7639 GB, free: 2.562 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.271e-05/0.004961, allocations: 76.84 kB / 0.7639 GB, free: 2.469 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.004963, allocations: 0 / 0.7639 GB, free: 2.469 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 8.515e-05/0.005048, allocations: 79.11 kB / 0.764 GB, free: 2.387 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.00506, allocations: 11.92 kB / 0.764 GB, free: 2.375 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.005066, allocations: 4 kB / 0.764 GB, free: 2.371 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.727e-06/0.005074, allocations: 0 / 0.764 GB, free: 2.371 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.425e-05/0.005148, allocations: 30.7 kB / 0.764 GB, free: 2.344 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.915e-06/0.005151, allocations: 3.938 kB / 0.764 GB, free: 2.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.354e-05/0.005185, allocations: 8 kB / 0.7641 GB, free: 2.332 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-06/0.005194, allocations: 4 kB / 0.7641 GB, free: 2.328 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 (triggeredSampler1.y,$PRE.triggeredSampler1.y,triggeredSampler.y,$PRE.triggeredSampler.y,samTri.y,$whenCondition1,samTri1.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.861e-05/0.005252, allocations: 119.1 kB / 0.7642 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.727e-06/0.005261, allocations: 7.938 kB / 0.7642 GB, free: 2.195 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.944e-05/0.00528, allocations: 15.19 kB / 0.7642 GB, free: 2.184 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.005282, allocations: 0 / 0.7642 GB, free: 2.184 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.005284, allocations: 0 / 0.7642 GB, free: 2.184 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.005286, allocations: 0 / 0.7642 GB, free: 2.184 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000175/0.005461, allocations: 226.6 kB / 0.7644 GB, free: 1.938 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.005463, allocations: 3.938 kB / 0.7644 GB, free: 1.934 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.037e-05/0.005484, allocations: 4 kB / 0.7644 GB, free: 1.93 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.005485, allocations: 0.875 kB / 0.7644 GB, free: 1.93 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.29e-06/0.005491, allocations: 3.984 kB / 0.7644 GB, free: 1.926 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.005491, allocations: 0 / 0.7644 GB, free: 1.926 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.005492, allocations: 5.562 kB / 0.7644 GB, free: 1.922 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.417e-05/0.005566, allocations: 147.9 kB / 0.7646 GB, free: 1.762 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.06e-05/0.005577, allocations: 19.88 kB / 0.7646 GB, free: 1.742 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.666e-06/0.005586, allocations: 4 kB / 0.7646 GB, free: 1.738 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.052e-05/0.005616, allocations: 1.281 kB / 0.7646 GB, free: 1.738 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.428e-05/0.00564, allocations: 7.984 kB / 0.7646 GB, free: 1.73 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-06/0.005644, allocations: 0 / 0.7646 GB, free: 1.73 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.724e-05/0.005661, allocations: 21.48 kB / 0.7646 GB, free: 1.707 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.005661, allocations: 0 / 0.7646 GB, free: 1.707 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001389/0.0058, allocations: 20.84 kB / 0.7646 GB, free: 1.688 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (samTri1.y,samTri.y,$whenCondition2,$whenCondition1,triggeredSampler.y,triggeredSampler1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.484e-05/0.005885, allocations: 86.55 kB / 0.7647 GB, free: 1.598 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.945e-05/0.005964, allocations: 49.7 kB / 0.7648 GB, free: 1.547 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.005966, allocations: 0 / 0.7648 GB, free: 1.547 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.677e-05/0.005993, allocations: 21.44 kB / 0.7648 GB, free: 1.523 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001389/0.006132, allocations: 16.83 kB / 0.7648 GB, free: 1.508 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002623/0.006394, allocations: 158.5 kB / 0.765 GB, free: 1.324 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.586e-05/0.00643, allocations: 59.3 kB / 0.765 GB, free: 1.246 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.474e-05/0.006455, allocations: 8.828 kB / 0.765 GB, free: 1.238 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.541e-05/0.00651, allocations: 63.39 kB / 0.7651 GB, free: 1.176 MB / 0.7136 GB Notification: Performance of SimCode: time 7.21e-07/0.006511, allocations: 5.156 kB / 0.7651 GB, free: 1.172 MB / 0.7136 GB Notification: Performance of Templates: time 0.002843/0.009354, allocations: 1.066 MB / 0.7661 GB, free: 208 kB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.066349387168884]