Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cons.y|booleanPulse.y|intWitRes1.y_start|intWitRes1.y_reset|intWitRes1.y|intWitRes2.y_start|intWitRes2.y|intWitRes2.y_reset_in|intNoReset.y_start|intNoReset.y|intDef.y_start|intDef.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.IntegratorWithReset") translateModel(Buildings.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cons.y|booleanPulse.y|intWitRes1.y_start|intWitRes1.y_reset|intWitRes1.y|intWitRes2.y_start|intWitRes2.y|intWitRes2.y_reset_in|intNoReset.y_start|intNoReset.y|intDef.y_start|intDef.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.IntegratorWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001328/0.001329, allocations: 107.8 kB / 16.41 MB, free: 5.551 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.001534/0.001534, allocations: 187.7 kB / 17.34 MB, free: 5.211 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.43/1.43, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.715/2.715, allocations: 461.9 MB / 0.7355 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001544, allocations: 68.11 kB / 1.055 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9382/0.9398, allocations: 157.4 MB / 1.208 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegratorWithReset): time 0.003259/0.9431, allocations: 1.815 MB / 1.21 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001133/0.9442, allocations: 0.5377 MB / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001555/0.9444, allocations: 3.938 kB / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001552/0.9446, allocations: 23.73 kB / 1.211 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.785e-05/0.9447, allocations: 31.72 kB / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002714/0.945, allocations: 71.84 kB / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002764/0.9453, allocations: 171.4 kB / 1.211 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001649/0.9455, allocations: 49.66 kB / 1.211 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001116/0.9456, allocations: 55.72 kB / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 9.025e-05/0.9457, allocations: 63.62 kB / 1.211 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.937e-05/0.9457, allocations: 12 kB / 1.211 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 2.1e-05/0.9457, allocations: 8 kB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.464e-05/0.9458, allocations: 27.92 kB / 1.211 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 7.327e-05/0.9459, allocations: 71.53 kB / 1.211 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002022/0.9461, allocations: 135.2 kB / 1.211 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.9461, allocations: 0 / 1.211 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.302e-06/0.9461, allocations: 0 / 1.211 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.9461, allocations: 0 / 1.211 GB, free: 10.49 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0007467/0.9468, allocations: 476.5 kB / 1.212 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.9469, allocations: 8.031 kB / 1.212 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.903e-05/0.947, allocations: 20.75 kB / 1.212 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00032/0.9473, allocations: 231.9 kB / 1.212 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.9473, allocations: 12.38 kB / 1.212 GB, free: 9.672 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.931e-05/0.9474, allocations: 12.38 kB / 1.212 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002984/0.9477, allocations: 150.2 kB / 1.212 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.9477, allocations: 4 kB / 1.212 GB, free: 9.488 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.631e-05/0.9477, allocations: 4 kB / 1.212 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.038e-05/0.9477, allocations: 4 kB / 1.212 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002285/0.948, allocations: 67.83 kB / 1.212 GB, free: 9.414 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009227/0.9489, allocations: 0.7392 MB / 1.213 GB, free: 8.609 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001443/0.9491, allocations: 50.55 kB / 1.213 GB, free: 8.551 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.9492, allocations: 32.84 kB / 1.213 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.9492, allocations: 3.938 kB / 1.213 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002437/0.9495, allocations: 134.6 kB / 1.213 GB, free: 8.355 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=11): time 1.833e-06/0.9495, allocations: 0 / 1.213 GB, free: 8.355 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11): time 0.0004862/0.95, allocations: 161.5 kB / 1.213 GB, free: 8.191 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.078e-05/0.95, allocations: 136.5 kB / 1.214 GB, free: 8.027 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001926/0.9502, allocations: 198.9 kB / 1.214 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.9503, allocations: 33.7 kB / 1.214 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.994e-05/0.9504, allocations: 132.2 kB / 1.214 GB, free: 7.648 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.98e-05/0.9504, allocations: 27.62 kB / 1.214 GB, free: 7.621 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.22e-05/0.9505, allocations: 49.61 kB / 1.214 GB, free: 7.566 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.9506, allocations: 326.8 kB / 1.214 GB, free: 7.238 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001256/0.9507, allocations: 39.97 kB / 1.214 GB, free: 7.199 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001746/0.9509, allocations: 142.5 kB / 1.214 GB, free: 7.008 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003006/0.9512, allocations: 210.3 kB / 1.215 GB, free: 6.75 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.9512, allocations: 4 kB / 1.215 GB, free: 6.746 MB / 0.9356 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000387/0.9516, allocations: 205.1 kB / 1.215 GB, free: 6.539 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.9516, allocations: 8.5 kB / 1.215 GB, free: 6.531 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.9517, allocations: 11.98 kB / 1.215 GB, free: 6.52 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.9517, allocations: 4 kB / 1.215 GB, free: 6.516 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/0.9518, allocations: 35.91 kB / 1.215 GB, free: 6.48 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.397e-06/0.9518, allocations: 4 kB / 1.215 GB, free: 6.477 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001477/0.952, allocations: 27.83 kB / 1.215 GB, free: 6.449 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.743e-05/0.952, allocations: 8 kB / 1.215 GB, free: 6.441 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 9 (sampleTrigger.y,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition3,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * 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.0001063/0.9521, allocations: 143.9 kB / 1.215 GB, free: 6.293 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.044e-05/0.9522, allocations: 15.81 kB / 1.215 GB, free: 6.277 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.87e-05/0.9522, allocations: 25.39 kB / 1.215 GB, free: 6.25 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.9522, allocations: 4 kB / 1.215 GB, free: 6.246 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.9522, allocations: 0 / 1.215 GB, free: 6.246 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.599e-05/0.9523, allocations: 92.91 kB / 1.215 GB, free: 6.137 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.803e-05/0.9523, allocations: 4 kB / 1.215 GB, free: 6.133 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.9524, allocations: 19.92 kB / 1.215 GB, free: 6.113 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.577e-05/0.9525, allocations: 11.92 kB / 1.215 GB, free: 6.102 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005861/0.9531, allocations: 470.5 kB / 1.216 GB, free: 5.633 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006082/0.9537, allocations: 0.5787 MB / 1.216 GB, free: 5.035 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001475/0.9539, allocations: 52 kB / 1.216 GB, free: 4.984 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000128/0.954, allocations: 148.4 kB / 1.216 GB, free: 4.84 MB / 0.9356 GB Notification: Performance of Backend: time 2.81e-07/0.954, allocations: 0 / 1.216 GB, free: 4.84 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007588/0.9548, allocations: 161.8 kB / 1.217 GB, free: 4.68 MB / 0.9356 GB Notification: Performance of SimCode: time 0.001059/0.9559, allocations: 0.8364 MB / 1.217 GB, free: 3.797 MB / 0.9356 GB Notification: Performance of Templates: time 0.005832/0.9617, allocations: 2.374 MB / 1.22 GB, free: 1.449 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.IntegratorWithReset.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.IntegratorWithReset.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.IntegratorWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_IntegratorWithReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.IntegratorWithReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches