Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001625/0.001625, allocations: 112.8 kB / 16.42 MB, free: 6.457 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.001841/0.001841, allocations: 190.7 kB / 17.35 MB, free: 5.719 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.488/1.488, allocations: 222.9 MB / 241 MB, free: 15.08 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.536/2.536, allocations: 437 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 63.91 kB / 1.019 GB, free: 9.426 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.044/1.045, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegratorWithReset): time 0.003584/1.049, allocations: 1.813 MB / 1.169 GB, free: 2.023 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001147/1.05, allocations: 0.5376 MB / 1.17 GB, free: 1.48 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001769/1.05, allocations: 4 kB / 1.17 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001667/1.051, allocations: 27.72 kB / 1.17 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001084/1.051, allocations: 23.75 kB / 1.17 GB, free: 1.426 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002904/1.051, allocations: 67.84 kB / 1.17 GB, free: 1.359 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002708/1.051, allocations: 179.4 kB / 1.17 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001741/1.052, allocations: 45.64 kB / 1.17 GB, free: 1.137 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001214/1.052, allocations: 59.78 kB / 1.17 GB, free: 1.078 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/1.052, allocations: 59.64 kB / 1.17 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.032e-05/1.052, allocations: 8 kB / 1.17 GB, free: 1.012 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 2.395e-05/1.052, allocations: 12 kB / 1.17 GB, free: 1 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.112e-05/1.052, allocations: 27.91 kB / 1.17 GB, free: 0.9727 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 7.751e-05/1.052, allocations: 67.55 kB / 1.17 GB, free: 0.9062 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002102/1.052, allocations: 135.2 kB / 1.17 GB, free: 0.7773 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/1.052, allocations: 0 / 1.17 GB, free: 0.7773 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.613e-06/1.052, allocations: 0 / 1.17 GB, free: 0.7773 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.299e-05/1.052, allocations: 0 / 1.17 GB, free: 0.7773 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0007825/1.053, allocations: 476.5 kB / 1.171 GB, free: 272 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/1.053, allocations: 12.92 kB / 1.171 GB, free: 260 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.448e-05/1.053, allocations: 20.75 kB / 1.171 GB, free: 240 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003644/1.054, allocations: 236 kB / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/1.054, allocations: 4.375 kB / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.461e-05/1.054, allocations: 16.38 kB / 1.171 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003027/1.054, allocations: 156.5 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/1.054, allocations: 3.938 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.86e-05/1.054, allocations: 8 kB / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.942e-06/1.054, allocations: 0 / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002354/1.054, allocations: 79.83 kB / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009503/1.055, allocations: 0.7353 MB / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001433/1.055, allocations: 46.48 kB / 1.172 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/1.055, allocations: 40.81 kB / 1.172 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.669e-05/1.056, allocations: 4 kB / 1.172 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002264/1.056, allocations: 126.6 kB / 1.172 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=11): time 1.703e-06/1.056, allocations: 0 / 1.172 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11): time 0.000496/1.056, allocations: 165.3 kB / 1.172 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.196e-05/1.056, allocations: 136.8 kB / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001932/1.057, allocations: 206.9 kB / 1.173 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/1.057, allocations: 25.7 kB / 1.173 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/1.057, allocations: 132 kB / 1.173 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.625e-05/1.057, allocations: 31.61 kB / 1.173 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.525e-05/1.057, allocations: 41.61 kB / 1.173 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001343/1.057, allocations: 326.8 kB / 1.173 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/1.057, allocations: 43.97 kB / 1.173 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001862/1.057, allocations: 147.6 kB / 1.173 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000338/1.058, allocations: 210.3 kB / 1.174 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/1.058, allocations: 0 / 1.174 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004199/1.058, allocations: 197.4 kB / 1.174 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/1.058, allocations: 8 kB / 1.174 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/1.058, allocations: 7.984 kB / 1.174 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/1.058, allocations: 4 kB / 1.174 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/1.058, allocations: 35.92 kB / 1.174 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.956e-05/1.058, allocations: 11.94 kB / 1.174 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001529/1.058, allocations: 24.08 kB / 1.174 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.848e-05/1.058, allocations: 16 kB / 1.174 GB, free: 12.72 MB / 0.9044 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.0001252/1.059, allocations: 137.6 kB / 1.174 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.409e-05/1.059, allocations: 19.81 kB / 1.174 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.097e-05/1.059, allocations: 17.41 kB / 1.174 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/1.059, allocations: 3.984 kB / 1.174 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/1.059, allocations: 0 / 1.174 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.134e-05/1.059, allocations: 96.92 kB / 1.174 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.779e-05/1.059, allocations: 0 / 1.174 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/1.059, allocations: 19.92 kB / 1.174 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.562e-05/1.059, allocations: 11.98 kB / 1.174 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006035/1.06, allocations: 474.5 kB / 1.175 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000648/1.06, allocations: 0.5784 MB / 1.175 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001486/1.06, allocations: 48.33 kB / 1.175 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001111/1.061, allocations: 148.3 kB / 1.175 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of Backend: time 8.51e-07/1.061, allocations: 0 / 1.175 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0007659/1.061, allocations: 166.8 kB / 1.176 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of SimCode: time 0.001015/1.062, allocations: 0.8264 MB / 1.176 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of Templates: time 0.006058/1.068, allocations: 2.296 MB / 1.179 GB, free: 7.816 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.IntegratorWithReset.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.IntegratorWithReset.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.IntegratorWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_IntegratorWithReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.IntegratorWithReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches