Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001604/0.001604, allocations: 115.5 kB / 16.42 MB, free: 5.988 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.001442/0.001443, allocations: 184.5 kB / 17.35 MB, free: 5.602 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.38/1.38, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.317/2.317, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001635/0.001635, allocations: 63.91 kB / 0.9515 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9702/0.9719, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegratorWithReset): time 0.003174/0.9751, allocations: 1.805 MB / 1.09 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001042/0.9762, allocations: 0.5423 MB / 1.091 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001195/0.9763, allocations: 6.438 kB / 1.091 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001616/0.9765, allocations: 27.11 kB / 1.091 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.687e-05/0.9765, allocations: 25.72 kB / 1.091 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002364/0.9768, allocations: 63.97 kB / 1.091 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002722/0.9771, allocations: 174.9 kB / 1.091 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001802/0.9773, allocations: 52.78 kB / 1.091 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001059/0.9774, allocations: 58.39 kB / 1.091 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.414e-05/0.9775, allocations: 53.22 kB / 1.091 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.039e-05/0.9775, allocations: 9.75 kB / 1.091 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.563e-05/0.9775, allocations: 10.34 kB / 1.091 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.247e-05/0.9776, allocations: 33.98 kB / 1.091 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.536e-05/0.9777, allocations: 71.27 kB / 1.091 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002148/0.9779, allocations: 135.5 kB / 1.092 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.9779, allocations: 1.094 kB / 1.092 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.565e-06/0.9779, allocations: 0 / 1.092 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.9779, allocations: 3.938 kB / 1.092 GB, free: 3.488 MB / 0.8575 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.0007457/0.9787, allocations: 471.1 kB / 1.092 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.867e-05/0.9787, allocations: 9 kB / 1.092 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.238e-05/0.9788, allocations: 22.91 kB / 1.092 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003587/0.9792, allocations: 245.4 kB / 1.092 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.9792, allocations: 4.594 kB / 1.092 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.901e-05/0.9793, allocations: 13.34 kB / 1.092 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003768/0.9797, allocations: 152.2 kB / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.9797, allocations: 4.625 kB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.77e-05/0.9797, allocations: 6 kB / 1.093 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.9797, allocations: 3.625 kB / 1.093 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000264/0.98, allocations: 68.31 kB / 1.093 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009339/0.9809, allocations: 0.738 MB / 1.093 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001499/0.9811, allocations: 44.28 kB / 1.093 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001348/0.9812, allocations: 38.64 kB / 1.093 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/0.9813, allocations: 1.031 kB / 1.093 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002385/0.9815, allocations: 124.4 kB / 1.093 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.573e-06/0.9815, allocations: 0 / 1.093 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.0005295/0.9821, allocations: 172.9 kB / 1.094 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.254e-05/0.9821, allocations: 130.1 kB / 1.094 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002014/0.9823, allocations: 200.3 kB / 1.094 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.9823, allocations: 28.16 kB / 1.094 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.718e-05/0.9824, allocations: 136.9 kB / 1.094 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.417e-05/0.9825, allocations: 35.58 kB / 1.094 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.46e-05/0.9825, allocations: 40.33 kB / 1.094 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.799e-05/0.9826, allocations: 329.7 kB / 1.095 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001335/0.9827, allocations: 36.75 kB / 1.095 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000179/0.9829, allocations: 160.5 kB / 1.095 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003053/0.9832, allocations: 201.6 kB / 1.095 GB, free: 0.6055 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.9832, allocations: 0.9062 kB / 1.095 GB, free: 0.6055 MB / 0.8575 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004325/0.9837, allocations: 204.3 kB / 1.095 GB, free: 0.5117 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.9837, allocations: 7.031 kB / 1.095 GB, free: 0.5117 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.9837, allocations: 4.094 kB / 1.095 GB, free: 0.5117 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.245e-05/0.9838, allocations: 9.75 kB / 1.095 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.9839, allocations: 37.75 kB / 1.095 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.43e-05/0.9839, allocations: 5.547 kB / 1.095 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001541/0.9841, allocations: 23.58 kB / 1.095 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.178e-05/0.9841, allocations: 17.42 kB / 1.095 GB, free: 496 kB / 0.8575 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.0001105/0.9842, allocations: 137 kB / 1.095 GB, free: 360 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.918e-05/0.9843, allocations: 17.78 kB / 1.095 GB, free: 352 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.835e-05/0.9843, allocations: 24.91 kB / 1.095 GB, free: 336 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/0.9844, allocations: 10.16 kB / 1.095 GB, free: 328 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.9844, allocations: 0.9688 kB / 1.095 GB, free: 328 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.117e-05/0.9844, allocations: 95.34 kB / 1.095 GB, free: 220 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.763e-05/0.9845, allocations: 3.422 kB / 1.095 GB, free: 220 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.9846, allocations: 15.06 kB / 1.095 GB, free: 216 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.707e-05/0.9847, allocations: 19.11 kB / 1.096 GB, free: 208 kB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007134/0.9854, allocations: 461.6 kB / 1.096 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007236/0.9862, allocations: 0.58 MB / 1.097 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001738/0.9864, allocations: 47.14 kB / 1.097 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001722/0.9865, allocations: 145.2 kB / 1.097 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of Backend: time 9.32e-07/0.9865, allocations: 4 kB / 1.097 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008249/0.9874, allocations: 154.7 kB / 1.097 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of SimCode: time 0.001205/0.9886, allocations: 0.8244 MB / 1.098 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of Templates: time 0.008139/0.9967, allocations: 2.293 MB / 1.1 GB, free: 14.25 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.IntegratorWithReset.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.IntegratorWithReset.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.IntegratorWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_IntegratorWithReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.IntegratorWithReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches