Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|triggeredTrapezoid1.u|triggeredTrapezoid1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|triggeredTrapezoid1.u|triggeredTrapezoid1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.331/2.331, allocations: 390.3 MB / 405.3 MB, free: 13.5 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 179.3 kB / 498.1 MB, free: 5.75 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.66/1.66, allocations: 223.2 MB / 0.7949 GB, free: 17.84 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009365/0.0009365, allocations: 96.34 kB / 0.9346 GB, free: 6.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003816/0.0003818, allocations: 10.92 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3092/0.3096, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1994/0.509, allocations: 149.5 MB / 1.369 GB, free: 12.57 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003157/0.5094, allocations: 67.97 kB / 1.369 GB, free: 12.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.007715/0.5171, allocations: 2.474 MB / 1.371 GB, free: 10.02 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.094e-06/0.5171, allocations: 4 kB / 1.371 GB, free: 10.02 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.237e-06/0.5172, allocations: 0 / 1.371 GB, free: 10.02 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005649/0.5177, allocations: 392.9 kB / 1.372 GB, free: 9.582 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.5178, allocations: 8.219 kB / 1.372 GB, free: 9.574 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.453e-05/0.5178, allocations: 7.906 kB / 1.372 GB, free: 9.566 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000158/0.518, allocations: 182.8 kB / 1.372 GB, free: 9.348 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.801e-05/0.518, allocations: 4 kB / 1.372 GB, free: 9.344 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.701e-05/0.5181, allocations: 4 kB / 1.372 GB, free: 9.34 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002146/0.5183, allocations: 81.64 kB / 1.372 GB, free: 9.254 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.5183, allocations: 0 / 1.372 GB, free: 9.254 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.5183, allocations: 0 / 1.372 GB, free: 9.254 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.5184, allocations: 0 / 1.372 GB, free: 9.254 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001591/0.5185, allocations: 43.97 kB / 1.372 GB, free: 9.211 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004969/0.519, allocations: 332.6 kB / 1.372 GB, free: 8.836 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001994/0.5192, allocations: 66.55 kB / 1.372 GB, free: 8.762 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.5193, allocations: 4.062 kB / 1.372 GB, free: 8.758 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003075/0.5196, allocations: 107.4 kB / 1.373 GB, free: 8.641 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=9): time 1.573e-06/0.5196, allocations: 4 kB / 1.373 GB, free: 8.637 MB / 0.8698 GB Notification: Performance of matching and sorting (n=9): time 0.0005292/0.5201, allocations: 185.5 kB / 1.373 GB, free: 8.449 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.126e-05/0.5202, allocations: 55.78 kB / 1.373 GB, free: 8.383 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.458e-05/0.5203, allocations: 108.9 kB / 1.373 GB, free: 8.27 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.605e-05/0.5203, allocations: 33.7 kB / 1.373 GB, free: 8.23 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.049e-05/0.5204, allocations: 88.31 kB / 1.373 GB, free: 8.137 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.277e-05/0.5204, allocations: 19.72 kB / 1.373 GB, free: 8.117 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.705e-05/0.5205, allocations: 8 kB / 1.373 GB, free: 8.109 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.5206, allocations: 314.8 kB / 1.373 GB, free: 7.793 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/0.5207, allocations: 51.97 kB / 1.373 GB, free: 7.742 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001456/0.5209, allocations: 70.55 kB / 1.373 GB, free: 7.664 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001576/0.5211, allocations: 85.62 kB / 1.374 GB, free: 7.574 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.5211, allocations: 0 / 1.374 GB, free: 7.574 MB / 0.8698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004016/0.5215, allocations: 199.2 kB / 1.374 GB, free: 7.367 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.906e-05/0.5215, allocations: 35.58 kB / 1.374 GB, free: 7.328 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.5215, allocations: 0 / 1.374 GB, free: 7.328 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.811e-05/0.5216, allocations: 7.984 kB / 1.374 GB, free: 7.32 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.5217, allocations: 16.05 kB / 1.374 GB, free: 7.305 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.5217, allocations: 0 / 1.374 GB, free: 7.305 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001928/0.5219, allocations: 51.77 kB / 1.374 GB, free: 7.254 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.343e-05/0.5219, allocations: 11.98 kB / 1.374 GB, free: 7.242 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$whenCondition2,$whenCondition4,$whenCondition3,$PRE.booPul.y,booPul.y,triggeredTrapezoid1.endValue,triggeredTrapezoid1.rate,triggeredTrapezoid1.T) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001085/0.5221, allocations: 126.5 kB / 1.374 GB, free: 7.109 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.282e-05/0.5221, allocations: 0 / 1.374 GB, free: 7.109 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.543e-05/0.5221, allocations: 16.36 kB / 1.374 GB, free: 7.09 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.5221, allocations: 0 / 1.374 GB, free: 7.09 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.5221, allocations: 0 / 1.374 GB, free: 7.09 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.5221, allocations: 0 / 1.374 GB, free: 7.09 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005258/0.5227, allocations: 414.3 kB / 1.374 GB, free: 6.629 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.5227, allocations: 0 / 1.374 GB, free: 6.629 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.286e-05/0.5227, allocations: 7.984 kB / 1.374 GB, free: 6.621 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.5227, allocations: 0 / 1.374 GB, free: 6.621 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.096e-05/0.5228, allocations: 4.562 kB / 1.374 GB, free: 6.617 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.5228, allocations: 4 kB / 1.374 GB, free: 6.613 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.5228, allocations: 0 / 1.374 GB, free: 6.613 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003818/0.5232, allocations: 252.1 kB / 1.375 GB, free: 6.352 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.469e-05/0.5232, allocations: 85.02 kB / 1.375 GB, free: 6.25 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.393e-05/0.5232, allocations: 3.984 kB / 1.375 GB, free: 6.246 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.5234, allocations: 4 kB / 1.375 GB, free: 6.242 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.326e-05/0.5234, allocations: 7.984 kB / 1.375 GB, free: 6.234 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.5234, allocations: 7.938 kB / 1.375 GB, free: 6.227 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.705e-05/0.5235, allocations: 95.22 kB / 1.375 GB, free: 6.133 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5235, allocations: 0 / 1.375 GB, free: 6.133 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002516/0.5238, allocations: 32 kB / 1.375 GB, free: 6.102 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triggeredTrapezoid1.endValue,triggeredTrapezoid1.rate,triggeredTrapezoid1.T) * Number of discrete states: 1 (triggeredTrapezoid1.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001946/0.524, allocations: 128.4 kB / 1.375 GB, free: 5.969 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003788/0.5244, allocations: 179.3 kB / 1.375 GB, free: 5.781 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.5244, allocations: 0 / 1.375 GB, free: 5.781 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001331/0.5245, allocations: 51.98 kB / 1.375 GB, free: 5.73 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001946/0.5247, allocations: 12.11 kB / 1.375 GB, free: 5.719 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004002/0.5251, allocations: 188 kB / 1.375 GB, free: 5.504 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002714/0.5254, allocations: 0.6887 MB / 1.376 GB, free: 4.789 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.351e-05/0.5254, allocations: 12.66 kB / 1.376 GB, free: 4.773 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.496e-05/0.5255, allocations: 11.44 kB / 1.376 GB, free: 4.766 MB / 0.8698 GB Notification: Performance of SimCode: time 2.71e-07/0.5255, allocations: 0 / 1.376 GB, free: 4.766 MB / 0.8698 GB Notification: Performance of Templates: time 0.003867/0.5294, allocations: 1.489 MB / 1.378 GB, free: 3.293 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches