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.001065/0.001065, allocations: 110.1 kB / 16.42 MB, free: 6.469 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.00104/0.00104, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.559/1.559, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.823/2.823, allocations: 437 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001582/0.001582, allocations: 67.89 kB / 1.019 GB, free: 9.359 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.137/1.139, allocations: 151.6 MB / 1.167 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.001996/1.141, allocations: 0.6705 MB / 1.168 GB, free: 3.172 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001567/1.142, allocations: 1.177 MB / 1.169 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.139e-05/1.142, allocations: 0 / 1.169 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.326e-05/1.142, allocations: 3.938 kB / 1.169 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.661e-05/1.142, allocations: 7.938 kB / 1.169 GB, free: 1.969 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005263/1.143, allocations: 150.9 kB / 1.169 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001972/1.143, allocations: 135.7 kB / 1.169 GB, free: 1.691 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.586e-05/1.143, allocations: 8 kB / 1.169 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/1.143, allocations: 51.89 kB / 1.169 GB, free: 1.633 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001267/1.144, allocations: 59.84 kB / 1.17 GB, free: 1.574 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.257e-05/1.144, allocations: 12 kB / 1.17 GB, free: 1.562 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 8.217e-05/1.144, allocations: 31.98 kB / 1.17 GB, free: 1.531 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.018e-05/1.144, allocations: 11.98 kB / 1.17 GB, free: 1.52 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 8.323e-05/1.144, allocations: 47.83 kB / 1.17 GB, free: 1.473 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001876/1.144, allocations: 115.6 kB / 1.17 GB, free: 1.359 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/1.144, allocations: 7.984 kB / 1.17 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.312e-06/1.144, allocations: 0 / 1.17 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.602e-06/1.144, allocations: 0 / 1.17 GB, free: 1.352 MB / 0.8887 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.0007543/1.145, allocations: 394.8 kB / 1.17 GB, free: 0.9141 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/1.145, allocations: 12.02 kB / 1.17 GB, free: 0.9023 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.311e-05/1.145, allocations: 8.844 kB / 1.17 GB, free: 0.8945 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001464/1.145, allocations: 176.2 kB / 1.17 GB, free: 0.6836 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.638e-05/1.145, allocations: 8.375 kB / 1.17 GB, free: 0.6758 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.613e-05/1.145, allocations: 12.31 kB / 1.17 GB, free: 0.6641 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002248/1.145, allocations: 74.2 kB / 1.17 GB, free: 0.5859 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/1.145, allocations: 192 / 1.17 GB, free: 0.5859 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/1.145, allocations: 3.938 kB / 1.17 GB, free: 0.582 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/1.145, allocations: 7.922 kB / 1.17 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001543/1.146, allocations: 39.97 kB / 1.17 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005009/1.146, allocations: 328.8 kB / 1.171 GB, free: 168 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002185/1.146, allocations: 66.48 kB / 1.171 GB, free: 92 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/1.146, allocations: 32.91 kB / 1.171 GB, free: 56 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 8.195e-06/1.146, allocations: 4 kB / 1.171 GB, free: 52 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002751/1.147, allocations: 107.3 kB / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=9): time 1.413e-06/1.147, allocations: 0 / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9): time 0.0005218/1.147, allocations: 185.5 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.645e-05/1.147, allocations: 51.41 kB / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.339e-05/1.147, allocations: 113.8 kB / 1.171 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.031e-05/1.147, allocations: 29.7 kB / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.171e-05/1.147, allocations: 92.03 kB / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.745e-05/1.147, allocations: 19.81 kB / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.008e-05/1.148, allocations: 38.45 kB / 1.171 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001603/1.148, allocations: 322.8 kB / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/1.148, allocations: 43.97 kB / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001603/1.148, allocations: 74.42 kB / 1.172 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002498/1.148, allocations: 124.2 kB / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/1.148, allocations: 3.938 kB / 1.172 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004135/1.149, allocations: 191.2 kB / 1.172 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.134e-05/1.149, allocations: 41.72 kB / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/1.149, allocations: 3.938 kB / 1.172 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/1.149, allocations: 4 kB / 1.172 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/1.149, allocations: 15.98 kB / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/1.149, allocations: 4.062 kB / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001822/1.149, allocations: 31.91 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.378e-05/1.149, allocations: 4 kB / 1.172 GB, free: 14.47 MB / 0.9044 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.0001079/1.149, allocations: 126.9 kB / 1.172 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.8e-05/1.149, allocations: 7.906 kB / 1.172 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.921e-05/1.149, allocations: 8.375 kB / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/1.149, allocations: 0 / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/1.149, allocations: 4 kB / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.301e-05/1.149, allocations: 88.95 kB / 1.173 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.779e-05/1.149, allocations: 7.984 kB / 1.173 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.129e-05/1.15, allocations: 7.938 kB / 1.173 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.883e-05/1.15, allocations: 11.92 kB / 1.173 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003653/1.15, allocations: 220.8 kB / 1.173 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004103/1.15, allocations: 306.8 kB / 1.173 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001284/1.151, allocations: 51.91 kB / 1.173 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.503e-05/1.151, allocations: 95.39 kB / 1.173 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of Backend: time 3.2e-07/1.151, allocations: 0 / 1.173 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006422/1.151, allocations: 228 kB / 1.173 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0006902/1.152, allocations: 0.6084 MB / 1.174 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of Templates: time 0.004722/1.157, allocations: 1.752 MB / 1.176 GB, free: 10.87 MB / 0.9044 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/jenkins1/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