Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_10_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_10_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 91.77 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.513/1.513, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.772/2.772, allocations: 437.7 MB / 0.7117 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000449/0.0004491, allocations: 16 kB / 0.8722 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8667/0.8671, allocations: 153.8 MB / 1.022 GB, free: 64 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.000983/0.8682, allocations: 396.9 kB / 1.023 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001611/0.8698, allocations: 1.148 MB / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.568e-05/0.8699, allocations: 0 / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.728e-05/0.8699, allocations: 0 / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.505e-05/0.87, allocations: 7.922 kB / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005972/0.8706, allocations: 118 kB / 1.024 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001986/0.8708, allocations: 107.8 kB / 1.024 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.615e-05/0.8709, allocations: 7.984 kB / 1.024 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001281/0.871, allocations: 47.89 kB / 1.024 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001092/0.8712, allocations: 43.88 kB / 1.024 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.344e-05/0.8712, allocations: 8 kB / 1.024 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.792e-05/0.8713, allocations: 19.92 kB / 1.024 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.921e-05/0.8713, allocations: 11.97 kB / 1.024 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.397e-05/0.8714, allocations: 37.7 kB / 1.024 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001634/0.8716, allocations: 79.81 kB / 1.024 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.8716, allocations: 0 / 1.024 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.424e-06/0.8716, allocations: 4 kB / 1.024 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.99e-06/0.8716, allocations: 0 / 1.024 GB, free: 14.03 MB / 0.7794 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.0006881/0.8723, allocations: 392.1 kB / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.8723, allocations: 12.56 kB / 1.025 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.9e-05/0.8724, allocations: 4 kB / 1.025 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/0.8726, allocations: 174.9 kB / 1.025 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.301e-05/0.8726, allocations: 7.984 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.203e-05/0.8727, allocations: 4 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002643/0.8729, allocations: 81.59 kB / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.873, allocations: 3.984 kB / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.873, allocations: 0 / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.876e-06/0.873, allocations: 11.94 kB / 1.025 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001695/0.8732, allocations: 43.91 kB / 1.025 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005645/0.8738, allocations: 320.8 kB / 1.025 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002241/0.874, allocations: 70.55 kB / 1.025 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001133/0.8741, allocations: 36.89 kB / 1.025 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.8741, allocations: 4 kB / 1.025 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003077/0.8745, allocations: 111.2 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 2.335e-06/0.8745, allocations: 0 / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0005398/0.875, allocations: 185.5 kB / 1.026 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/0.8751, allocations: 55.41 kB / 1.026 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.8752, allocations: 117.8 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.615e-05/0.8752, allocations: 29.7 kB / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.806e-05/0.8753, allocations: 92.23 kB / 1.026 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.635e-05/0.8753, allocations: 19.8 kB / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.365e-05/0.8753, allocations: 0 / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.8755, allocations: 322.8 kB / 1.026 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001461/0.8756, allocations: 51.97 kB / 1.026 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001513/0.8758, allocations: 70.55 kB / 1.026 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001734/0.876, allocations: 90.36 kB / 1.027 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.876, allocations: 0 / 1.027 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004281/0.8764, allocations: 195.2 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.397e-05/0.8765, allocations: 47.5 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.8765, allocations: 4.062 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.8765, allocations: 0 / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.8767, allocations: 15.98 kB / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.8767, allocations: 96 / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002193/0.8769, allocations: 43.84 kB / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.69e-05/0.8769, allocations: 15.98 kB / 1.027 GB, free: 11.2 MB / 0.7794 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.0001087/0.8771, allocations: 126.3 kB / 1.027 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.329e-05/0.8771, allocations: 7.906 kB / 1.027 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.375e-05/0.8771, allocations: 8.375 kB / 1.027 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.8771, allocations: 4 kB / 1.027 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.8772, allocations: 0 / 1.027 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.8772, allocations: 3.984 kB / 1.027 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005948/0.8778, allocations: 406.4 kB / 1.027 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.8778, allocations: 0 / 1.027 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.46e-05/0.8778, allocations: 4 kB / 1.027 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.8778, allocations: 0 / 1.027 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.748e-05/0.8778, allocations: 3.984 kB / 1.027 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.8779, allocations: 4 kB / 1.027 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.8779, allocations: 0 / 1.027 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003859/0.8783, allocations: 247.3 kB / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.069e-05/0.8783, allocations: 81.11 kB / 1.028 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.802e-05/0.8783, allocations: 4 kB / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.8785, allocations: 7.984 kB / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.354e-05/0.8785, allocations: 7.984 kB / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.966e-05/0.8786, allocations: 4 kB / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.181e-05/0.8786, allocations: 95.39 kB / 1.028 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3e-07/0.8786, allocations: 4 kB / 1.028 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002991/0.8789, allocations: 27.91 kB / 1.028 GB, free: 10.07 MB / 0.7794 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.0001976/0.8792, allocations: 111.2 kB / 1.028 GB, free: 9.953 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000403/0.8796, allocations: 183.3 kB / 1.028 GB, free: 9.762 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.8796, allocations: 0 / 1.028 GB, free: 9.762 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001493/0.8797, allocations: 60.08 kB / 1.028 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003021/0.88, allocations: 21.98 kB / 1.028 GB, free: 9.684 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004545/0.8805, allocations: 179.2 kB / 1.028 GB, free: 9.484 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000369/0.8809, allocations: 0.6888 MB / 1.029 GB, free: 8.77 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.027e-05/0.8809, allocations: 12.64 kB / 1.029 GB, free: 8.758 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.11e-05/0.881, allocations: 15.44 kB / 1.029 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of SimCode: time 3.1e-07/0.881, allocations: 0 / 1.029 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of Templates: time 0.005803/0.8868, allocations: 1.491 MB / 1.031 GB, free: 7.273 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches