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.001225/0.001225, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 193.9 kB / 16.53 MB, free: 6.664 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.419/1.419, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.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.656/2.656, allocations: 437 MB / 0.7103 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 56.05 kB / 0.8692 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5952/0.5966, allocations: 151.6 MB / 1.017 GB, free: 2.637 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002714/0.5993, allocations: 1.468 MB / 1.019 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0006993/0.6001, allocations: 446.9 kB / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.528e-05/0.6001, allocations: 0 / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.918e-05/0.6002, allocations: 3.938 kB / 1.019 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.652e-05/0.6003, allocations: 7.938 kB / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001521/0.6004, allocations: 27.95 kB / 1.019 GB, free: 0.6758 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.965e-05/0.6005, allocations: 47.86 kB / 1.019 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.6006, allocations: 11.98 kB / 1.019 GB, free: 0.6172 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.238e-05/0.6007, allocations: 19.92 kB / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.494e-05/0.6007, allocations: 23.92 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.917e-05/0.6008, allocations: 7.938 kB / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.192e-05/0.6008, allocations: 4 kB / 1.019 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.284e-05/0.6008, allocations: 15.91 kB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.993e-05/0.6009, allocations: 19.94 kB / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.581e-05/0.601, allocations: 51.81 kB / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.601, allocations: 0 / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.282e-06/0.601, allocations: 3.938 kB / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.601, allocations: 0 / 1.019 GB, free: 484 kB / 0.7637 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.0004726/0.6015, allocations: 361.3 kB / 1.02 GB, free: 76 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.6015, allocations: 12.03 kB / 1.02 GB, free: 64 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.816e-05/0.6016, allocations: 4.938 kB / 1.02 GB, free: 60 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.6017, allocations: 164.3 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.6017, allocations: 12.38 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.531e-05/0.6017, allocations: 4.375 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.6019, allocations: 61.92 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.6019, allocations: 0 / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.377e-06/0.6019, allocations: 0 / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.6019, allocations: 4 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.044e-05/0.602, allocations: 27.97 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004754/0.6025, allocations: 304.7 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001119/0.6026, allocations: 62.59 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.1e-05/0.6026, allocations: 24.95 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.025e-05/0.6026, allocations: 0 / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001672/0.6028, allocations: 79.38 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.323e-06/0.6028, allocations: 3.938 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0002186/0.603, allocations: 101.8 kB / 1.021 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.372e-05/0.6031, allocations: 55.34 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.682e-05/0.6032, allocations: 105.8 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.415e-05/0.6032, allocations: 29.7 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.319e-05/0.6032, allocations: 92.05 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.6033, allocations: 7.812 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.583e-05/0.6033, allocations: 37.64 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.6034, allocations: 326.8 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.36e-05/0.6035, allocations: 12 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.225e-05/0.6035, allocations: 51.36 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.352e-05/0.6036, allocations: 67.36 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.6036, allocations: 0 / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001408/0.6038, allocations: 93.53 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.6038, allocations: 4 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.6038, allocations: 4 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.6038, allocations: 3.984 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.072e-05/0.6039, allocations: 15.94 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.6039, allocations: 0 / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.913e-05/0.604, allocations: 11.92 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.604, allocations: 4 kB / 1.021 GB, free: 14.12 MB / 0.7794 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.062e-05/0.6041, allocations: 125.8 kB / 1.022 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.237e-05/0.6041, allocations: 3.906 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.812e-05/0.6041, allocations: 7.969 kB / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.6041, allocations: 4.281 kB / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.6041, allocations: 0 / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.6042, allocations: 3.984 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003749/0.6045, allocations: 362.4 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.6045, allocations: 3.984 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.637e-05/0.6046, allocations: 8 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.6046, allocations: 0 / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.6046, allocations: 8.062 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.6046, allocations: 3.938 kB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.6046, allocations: 0 / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001575/0.6048, allocations: 187.5 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.833e-05/0.6048, allocations: 77.11 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.699e-05/0.6048, allocations: 4 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.459e-05/0.6049, allocations: 15.86 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.94e-05/0.605, allocations: 8 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.605, allocations: 7.984 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.42e-05/0.605, allocations: 79.28 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.605, allocations: 0 / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002372/0.6053, allocations: 19.91 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.551e-05/0.6054, allocations: 99.19 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001362/0.6055, allocations: 59.91 kB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.6055, allocations: 0 / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.24e-05/0.6056, allocations: 31.94 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00026/0.6059, allocations: 10.02 kB / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003861/0.6063, allocations: 153.7 kB / 1.023 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002394/0.6065, allocations: 0.6895 MB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.681e-05/0.6065, allocations: 7.938 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.682e-05/0.6066, allocations: 11.44 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of SimCode: time 3.3e-07/0.6066, allocations: 0 / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of Templates: time 0.002728/0.6093, allocations: 0.7724 MB / 1.024 GB, free: 11.23 MB / 0.7794 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches