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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001099/0.001099, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001149/0.001149, allocations: 193.9 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.708/2.708, allocations: 437 MB / 0.71 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001341, allocations: 59.91 kB / 0.8687 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6688/0.6702, allocations: 151.6 MB / 1.017 GB, free: 2.77 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.001945/0.6722, allocations: 0.7225 MB / 1.018 GB, free: 2.047 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001326/0.6735, allocations: 1.167 MB / 1.019 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.408e-05/0.6735, allocations: 0 / 1.019 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.83e-05/0.6736, allocations: 4 kB / 1.019 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.416e-05/0.6737, allocations: 3.938 kB / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005261/0.6742, allocations: 141.4 kB / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001759/0.6744, allocations: 131.8 kB / 1.019 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.6745, allocations: 7.984 kB / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001123/0.6746, allocations: 55.89 kB / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.6747, allocations: 43.88 kB / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.23e-05/0.6747, allocations: 15.94 kB / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 7.993e-05/0.6748, allocations: 27.98 kB / 1.019 GB, free: 452 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3e-05/0.6749, allocations: 15.91 kB / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 7.295e-05/0.6749, allocations: 43.91 kB / 1.019 GB, free: 392 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001776/0.6751, allocations: 115.7 kB / 1.019 GB, free: 276 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.6751, allocations: 4 kB / 1.019 GB, free: 272 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.573e-06/0.6751, allocations: 0 / 1.019 GB, free: 272 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 8.476e-06/0.6752, allocations: 0 / 1.019 GB, free: 272 kB / 0.7637 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.0006943/0.6759, allocations: 403 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.6759, allocations: 12.03 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.782e-05/0.676, allocations: 8.844 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000152/0.6761, allocations: 172.3 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.581e-05/0.6762, allocations: 8.375 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.137e-05/0.6762, allocations: 4.375 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002397/0.6764, allocations: 86.14 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.6765, allocations: 192 / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.6765, allocations: 3.938 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.6765, allocations: 0 / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001634/0.6767, allocations: 35.97 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005173/0.6772, allocations: 324.8 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002076/0.6774, allocations: 78.42 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/0.6775, allocations: 40.89 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 7.564e-06/0.6775, allocations: 3.938 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002348/0.6778, allocations: 107.3 kB / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.6778, allocations: 0 / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0005466/0.6783, allocations: 185.5 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.583e-05/0.6784, allocations: 55.39 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.942e-05/0.6785, allocations: 113.8 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.701e-05/0.6785, allocations: 33.64 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.914e-05/0.6786, allocations: 84.14 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.419e-05/0.6786, allocations: 19.8 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.992e-05/0.6787, allocations: 37.7 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.6788, allocations: 322.8 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/0.679, allocations: 51.91 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001505/0.6791, allocations: 66.55 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002349/0.6794, allocations: 124.1 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.6794, allocations: 4 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003969/0.6798, allocations: 195.2 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.82e-05/0.6798, allocations: 33.7 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.329e-06/0.6798, allocations: 0.8438 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.6799, allocations: 4 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.68, allocations: 15.98 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.68, allocations: 3.984 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002052/0.6802, allocations: 39.86 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.984e-05/0.6802, allocations: 8 kB / 1.022 GB, free: 13.37 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,triggeredTrapezoid1.T,triggeredTrapezoid1.rate,triggeredTrapezoid1.endValue,booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition4) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001043/0.6803, allocations: 127 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.869e-05/0.6804, allocations: 7.984 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.563e-05/0.6804, allocations: 8.375 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.6804, allocations: 3.938 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.812e-06/0.6804, allocations: 7.938 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.6804, allocations: 0 / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005005/0.6809, allocations: 414.3 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.6809, allocations: 0 / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.546e-05/0.681, allocations: 7.984 kB / 1.022 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.681, allocations: 0 / 1.022 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.681, allocations: 0 / 1.022 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.681, allocations: 0 / 1.022 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.681, allocations: 4 kB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003672/0.6814, allocations: 243.4 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.851e-05/0.6814, allocations: 89 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.305e-05/0.6815, allocations: 0 / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.6816, allocations: 4 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.927e-05/0.6816, allocations: 7.984 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.6816, allocations: 4 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.895e-05/0.6817, allocations: 95.2 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6817, allocations: 0 / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000277/0.682, allocations: 24 kB / 1.023 GB, free: 12.24 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001649/0.6822, allocations: 125.7 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003731/0.6825, allocations: 183.2 kB / 1.023 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.6826, allocations: 0 / 1.023 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001435/0.6827, allocations: 47.92 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002852/0.683, allocations: 15.98 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003769/0.6834, allocations: 182.9 kB / 1.023 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002216/0.6836, allocations: 0.6885 MB / 1.024 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.353e-05/0.6837, allocations: 4.672 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.993e-05/0.6837, allocations: 15.44 kB / 1.024 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of SimCode: time 2.71e-07/0.6837, allocations: 0 / 1.024 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of Templates: time 0.004082/0.6878, allocations: 1.633 MB / 1.026 GB, free: 9.305 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