Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer.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.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer") translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 112.2 kB / 16.42 MB, free: 6.445 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.001838/0.001838, allocations: 189.4 kB / 17.35 MB, free: 5.703 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.367/1.367, allocations: 222.9 MB / 241 MB, free: 15.1 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.541/2.541, allocations: 437 MB / 0.7112 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 60.12 kB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7831/0.7845, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002473/0.787, allocations: 1.471 MB / 1.169 GB, free: 2.363 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0006793/0.7877, allocations: 446.8 kB / 1.169 GB, free: 1.922 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.652e-05/0.7877, allocations: 0 / 1.169 GB, free: 1.922 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.559e-05/0.7878, allocations: 0 / 1.169 GB, free: 1.922 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.747e-05/0.7879, allocations: 15.88 kB / 1.169 GB, free: 1.906 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001295/0.788, allocations: 23.97 kB / 1.169 GB, free: 1.883 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.899e-05/0.7881, allocations: 51.84 kB / 1.169 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.984e-05/0.7882, allocations: 11.98 kB / 1.169 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.98e-05/0.7882, allocations: 19.92 kB / 1.169 GB, free: 1.801 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.385e-05/0.7883, allocations: 15.92 kB / 1.169 GB, free: 1.785 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.748e-05/0.7883, allocations: 4 kB / 1.169 GB, free: 1.781 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.261e-05/0.7883, allocations: 8 kB / 1.169 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.524e-05/0.7884, allocations: 19.91 kB / 1.169 GB, free: 1.754 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.345e-05/0.7884, allocations: 23.94 kB / 1.169 GB, free: 1.73 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 9.629e-05/0.7885, allocations: 51.75 kB / 1.169 GB, free: 1.68 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.7885, allocations: 0 / 1.169 GB, free: 1.68 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.273e-06/0.7885, allocations: 0 / 1.169 GB, free: 1.68 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.7885, allocations: 0 / 1.169 GB, free: 1.68 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004686/0.789, allocations: 355.2 kB / 1.17 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.7891, allocations: 8.922 kB / 1.17 GB, free: 1.281 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.255e-05/0.7891, allocations: 8.844 kB / 1.17 GB, free: 1.273 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.7892, allocations: 170.2 kB / 1.17 GB, free: 1.07 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.7892, allocations: 4.375 kB / 1.17 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/0.7893, allocations: 4.375 kB / 1.17 GB, free: 1.062 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001132/0.7894, allocations: 65.92 kB / 1.17 GB, free: 0.9922 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.7894, allocations: 0 / 1.17 GB, free: 0.9922 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.7894, allocations: 0 / 1.17 GB, free: 0.9922 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.7894, allocations: 0 / 1.17 GB, free: 0.9922 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.851e-05/0.7895, allocations: 27.98 kB / 1.17 GB, free: 0.9648 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004906/0.79, allocations: 312.6 kB / 1.17 GB, free: 0.6094 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001101/0.7901, allocations: 58.55 kB / 1.17 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.431e-05/0.7902, allocations: 24.95 kB / 1.17 GB, free: 0.5156 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.109e-05/0.7902, allocations: 0 / 1.17 GB, free: 0.5156 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001511/0.7903, allocations: 79.34 kB / 1.17 GB, free: 436 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.7903, allocations: 4 kB / 1.17 GB, free: 432 kB / 0.8887 GB Notification: Performance of matching and sorting (n=9): time 0.000231/0.7906, allocations: 97.61 kB / 1.171 GB, free: 328 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/0.7906, allocations: 55.41 kB / 1.171 GB, free: 260 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.613e-05/0.7907, allocations: 105.8 kB / 1.171 GB, free: 144 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.7907, allocations: 33.7 kB / 1.171 GB, free: 104 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.675e-05/0.7908, allocations: 80.14 kB / 1.171 GB, free: 20 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.58e-05/0.7908, allocations: 19.72 kB / 1.171 GB, free: 0 / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.504e-05/0.7909, allocations: 29.78 kB / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.791, allocations: 330.7 kB / 1.171 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.293e-05/0.7911, allocations: 16 kB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.327e-05/0.7911, allocations: 43.42 kB / 1.171 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.457e-05/0.7912, allocations: 67.36 kB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.624e-06/0.7912, allocations: 0 / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001406/0.7914, allocations: 89.62 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.7914, allocations: 8 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.7914, allocations: 0 / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.7914, allocations: 7.984 kB / 1.171 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.11e-05/0.7915, allocations: 11.94 kB / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.7915, allocations: 0 / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.161e-05/0.7916, allocations: 19.91 kB / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.7916, allocations: 7.984 kB / 1.171 GB, free: 15.33 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 8.999e-05/0.7917, allocations: 117.8 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.398e-05/0.7917, allocations: 8.031 kB / 1.172 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.393e-05/0.7918, allocations: 11.91 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.7918, allocations: 0 / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.7918, allocations: 288 / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.163e-05/0.7918, allocations: 85.02 kB / 1.172 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.7919, allocations: 11.92 kB / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.647e-05/0.7919, allocations: 4 kB / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.222e-05/0.792, allocations: 11.97 kB / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002008/0.7922, allocations: 177.1 kB / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001973/0.7924, allocations: 250.8 kB / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.006e-05/0.7924, allocations: 27.98 kB / 1.172 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.877e-05/0.7925, allocations: 87.2 kB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of Backend: time 6.21e-07/0.7925, allocations: 0 / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000366/0.7929, allocations: 110.3 kB / 1.172 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005574/0.7934, allocations: 0.5883 MB / 1.173 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of Templates: time 0.002889/0.7963, allocations: 0.7837 MB / 1.174 GB, free: 12.98 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer.makefile (rm -f Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_Continuous_Examples_OffTimer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches