Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.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.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cons.y|booleanPulse.y|intDef.y_start|intDef.y|intDef.y_reset_in|intWitRes1.y_start|intWitRes1.y|intWitRes1.y_reset_in|intWitRes2.y_start|intWitRes2.y|intWitRes2.y_reset_in",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cons.y|booleanPulse.y|intDef.y_start|intDef.y|intDef.y_reset_in|intWitRes1.y_start|intWitRes1.y|intWitRes1.y_reset_in|intWitRes2.y_start|intWitRes2.y|intWitRes2.y_reset_in",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001227/0.001226, allocations: 105.3 kB / 16.41 MB, free: 6.516 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.001078/0.001078, allocations: 186.7 kB / 17.35 MB, free: 5.734 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.402/1.402, 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.598/2.598, allocations: 437 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001514, allocations: 63.89 kB / 1.019 GB, free: 9.344 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9653/0.9669, allocations: 151.6 MB / 1.167 GB, free: 3.809 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.002587/0.9695, allocations: 0.8764 MB / 1.168 GB, free: 2.934 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002027/0.9716, allocations: 1.181 MB / 1.169 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001083/0.9717, allocations: 0 / 1.169 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 5.086e-05/0.9718, allocations: 7.875 kB / 1.169 GB, free: 1.73 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001224/0.9719, allocations: 27.78 kB / 1.169 GB, free: 1.703 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006973/0.9726, allocations: 159.4 kB / 1.17 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003155/0.973, allocations: 167.7 kB / 1.17 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001697/0.9731, allocations: 37.09 kB / 1.17 GB, free: 1.348 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001673/0.9733, allocations: 67.81 kB / 1.17 GB, free: 1.281 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00014/0.9735, allocations: 67.69 kB / 1.17 GB, free: 1.215 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 5.332e-05/0.9735, allocations: 19.98 kB / 1.17 GB, free: 1.195 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.722e-05/0.9736, allocations: 27.98 kB / 1.17 GB, free: 1.168 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.025e-05/0.9737, allocations: 23.91 kB / 1.17 GB, free: 1.145 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 9.312e-05/0.9738, allocations: 67.72 kB / 1.17 GB, free: 1.078 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002701/0.9741, allocations: 167.3 kB / 1.17 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.9741, allocations: 0 / 1.17 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.254e-06/0.9741, allocations: 0 / 1.17 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.874e-06/0.9741, allocations: 0 / 1.17 GB, free: 0.918 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007968/0.9749, allocations: 454.6 kB / 1.171 GB, free: 428 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.975, allocations: 12.86 kB / 1.171 GB, free: 416 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.878e-05/0.975, allocations: 20.69 kB / 1.171 GB, free: 396 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005998/0.9756, allocations: 256.2 kB / 1.171 GB, free: 100 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.662e-05/0.9757, allocations: 8.375 kB / 1.171 GB, free: 92 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.731e-05/0.9757, allocations: 16.38 kB / 1.171 GB, free: 76 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002601/0.976, allocations: 90.14 kB / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.976, allocations: 3.938 kB / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.976, allocations: 4 kB / 1.171 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.9761, allocations: 0 / 1.171 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001897/0.9763, allocations: 51.89 kB / 1.171 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008165/0.9771, allocations: 388.4 kB / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001307/0.9772, allocations: 42.48 kB / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.513e-05/0.9773, allocations: 20.84 kB / 1.171 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.9774, allocations: 0 / 1.171 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000367/0.9777, allocations: 95.48 kB / 1.172 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=10): time 2.304e-06/0.9777, allocations: 0 / 1.172 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10): time 0.0004803/0.9782, allocations: 137.5 kB / 1.172 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/0.9783, allocations: 55.41 kB / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/0.9784, allocations: 147.5 kB / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.764e-05/0.9785, allocations: 37.7 kB / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 8.436e-05/0.9786, allocations: 104 kB / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.484e-05/0.9786, allocations: 39.62 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.513e-05/0.9787, allocations: 41.7 kB / 1.172 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.9789, allocations: 326.8 kB / 1.172 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001633/0.979, allocations: 47.95 kB / 1.172 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002061/0.9792, allocations: 133.1 kB / 1.173 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000347/0.9796, allocations: 204.6 kB / 1.173 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/0.9796, allocations: 4 kB / 1.173 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000505/0.9801, allocations: 239.1 kB / 1.173 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.821e-05/0.9802, allocations: 34.08 kB / 1.173 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.9802, allocations: 4 kB / 1.173 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.327e-05/0.9802, allocations: 4 kB / 1.173 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.9803, allocations: 23.92 kB / 1.173 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.733e-05/0.9804, allocations: 15.86 kB / 1.173 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002454/0.9806, allocations: 48 kB / 1.173 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.99e-05/0.9807, allocations: 11.98 kB / 1.173 GB, free: 13.54 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (booleanPulse.y,$PRE.booleanPulse.y,$whenCondition4,$whenCondition1,$whenCondition2,sampleTrigger.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * 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.000133/0.9808, allocations: 133.7 kB / 1.173 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.116e-05/0.9808, allocations: 7.906 kB / 1.173 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.107e-05/0.9809, allocations: 12.72 kB / 1.173 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.9809, allocations: 0 / 1.173 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.9809, allocations: 7.984 kB / 1.173 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.408e-05/0.981, allocations: 92.89 kB / 1.173 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.286e-05/0.981, allocations: 8 kB / 1.173 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.982e-05/0.9811, allocations: 7.984 kB / 1.173 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.358e-05/0.9811, allocations: 8 kB / 1.173 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004102/0.9815, allocations: 196.8 kB / 1.174 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004905/0.982, allocations: 330.5 kB / 1.174 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001216/0.9822, allocations: 36.02 kB / 1.174 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.965e-05/0.9823, allocations: 105.3 kB / 1.174 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of Backend: time 2.475e-06/0.9823, allocations: 0 / 1.174 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000747/0.983, allocations: 249.6 kB / 1.174 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of SimCode: time 0.00091/0.9839, allocations: 0.7288 MB / 1.175 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of Templates: time 0.005606/0.9896, allocations: 1.757 MB / 1.177 GB, free: 9.785 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches