Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_latest_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_latest_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.001724/0.001724, allocations: 110.3 kB / 16.41 MB, free: 6.504 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.001843/0.001843, allocations: 185.2 kB / 17.34 MB, free: 5.738 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.445/1.445, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.785/2.785, allocations: 474.5 MB / 0.7477 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 59.91 kB / 1.073 GB, free: 7.285 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8084/0.8104, allocations: 160.3 MB / 1.229 GB, free: 11 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002755/0.8132, allocations: 1.46 MB / 1.231 GB, free: 9.527 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0007838/0.814, allocations: 452.3 kB / 1.231 GB, free: 9.082 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.906e-05/0.8141, allocations: 4 kB / 1.231 GB, free: 9.078 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.473e-05/0.8141, allocations: 3.938 kB / 1.231 GB, free: 9.074 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 7.899e-05/0.8142, allocations: 11.88 kB / 1.231 GB, free: 9.062 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001388/0.8144, allocations: 23.91 kB / 1.231 GB, free: 9.039 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 9.476e-05/0.8145, allocations: 55.78 kB / 1.231 GB, free: 8.984 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 9.819e-05/0.8146, allocations: 15.98 kB / 1.231 GB, free: 8.969 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 5.56e-05/0.8146, allocations: 23.92 kB / 1.231 GB, free: 8.945 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 5.598e-05/0.8147, allocations: 15.92 kB / 1.231 GB, free: 8.93 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.676e-05/0.8147, allocations: 8 kB / 1.231 GB, free: 8.922 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.161e-05/0.8147, allocations: 4 kB / 1.231 GB, free: 8.918 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.508e-05/0.8148, allocations: 11.98 kB / 1.231 GB, free: 8.906 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.405e-05/0.8148, allocations: 23.86 kB / 1.231 GB, free: 8.883 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001058/0.8149, allocations: 47.39 kB / 1.231 GB, free: 8.84 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.8149, allocations: 0 / 1.231 GB, free: 8.84 MB / 0.9512 GB Notification: Performance of FrontEnd: time 5.791e-06/0.815, allocations: 0 / 1.231 GB, free: 8.84 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.722e-06/0.815, allocations: 7.938 kB / 1.231 GB, free: 8.832 MB / 0.9512 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.0005496/0.8155, allocations: 364.2 kB / 1.232 GB, free: 8.43 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.8156, allocations: 12.03 kB / 1.232 GB, free: 8.418 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.793e-05/0.8156, allocations: 4.938 kB / 1.232 GB, free: 8.414 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000177/0.8158, allocations: 172.3 kB / 1.232 GB, free: 8.207 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.308e-06/0.8158, allocations: 384 / 1.232 GB, free: 8.207 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.712e-05/0.8158, allocations: 8.375 kB / 1.232 GB, free: 8.199 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.8159, allocations: 61.94 kB / 1.232 GB, free: 8.133 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.816, allocations: 0 / 1.232 GB, free: 8.133 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.816, allocations: 0 / 1.232 GB, free: 8.133 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.816, allocations: 3.984 kB / 1.232 GB, free: 8.129 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.502e-05/0.8161, allocations: 27.98 kB / 1.232 GB, free: 8.102 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005114/0.8166, allocations: 296.8 kB / 1.232 GB, free: 7.762 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/0.8167, allocations: 58.59 kB / 1.232 GB, free: 7.695 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.616e-05/0.8168, allocations: 24.94 kB / 1.232 GB, free: 7.668 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.224e-05/0.8168, allocations: 3.984 kB / 1.232 GB, free: 7.664 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001499/0.8169, allocations: 75.34 kB / 1.232 GB, free: 7.578 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=9): time 3.336e-06/0.8169, allocations: 0 / 1.232 GB, free: 7.578 MB / 0.9512 GB Notification: Performance of matching and sorting (n=9): time 0.0002313/0.8172, allocations: 105.5 kB / 1.232 GB, free: 7.469 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/0.8173, allocations: 59.34 kB / 1.232 GB, free: 7.398 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.8174, allocations: 105.8 kB / 1.233 GB, free: 7.285 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.278e-05/0.8174, allocations: 33.7 kB / 1.233 GB, free: 7.246 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/0.8176, allocations: 84.12 kB / 1.233 GB, free: 7.16 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.792e-05/0.8176, allocations: 27.84 kB / 1.233 GB, free: 7.133 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.743e-05/0.8177, allocations: 25.72 kB / 1.233 GB, free: 7.102 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001792/0.8179, allocations: 322.8 kB / 1.233 GB, free: 6.777 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.935e-05/0.8179, allocations: 16 kB / 1.233 GB, free: 6.762 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001226/0.818, allocations: 43.42 kB / 1.233 GB, free: 6.707 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001041/0.8181, allocations: 71.36 kB / 1.233 GB, free: 6.625 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.8181, allocations: 0 / 1.233 GB, free: 6.625 MB / 0.9512 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001506/0.8183, allocations: 97.5 kB / 1.233 GB, free: 6.523 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.8183, allocations: 8 kB / 1.233 GB, free: 6.516 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.8183, allocations: 64 / 1.233 GB, free: 6.516 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.8183, allocations: 4 kB / 1.233 GB, free: 6.512 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.52e-05/0.8184, allocations: 11.94 kB / 1.233 GB, free: 6.5 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.8185, allocations: 4 kB / 1.233 GB, free: 6.496 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.912e-05/0.8185, allocations: 15.92 kB / 1.233 GB, free: 6.48 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.8185, allocations: 8.031 kB / 1.233 GB, free: 6.473 MB / 0.9512 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 0.0001008/0.8187, allocations: 121.1 kB / 1.233 GB, free: 6.348 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.463e-05/0.8187, allocations: 7.953 kB / 1.233 GB, free: 6.34 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.663e-05/0.8187, allocations: 7.969 kB / 1.233 GB, free: 6.328 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.8187, allocations: 0 / 1.233 GB, free: 6.328 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.8187, allocations: 0 / 1.233 GB, free: 6.328 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.8187, allocations: 3.984 kB / 1.233 GB, free: 6.324 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007154/0.8195, allocations: 362.4 kB / 1.234 GB, free: 5.914 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.8195, allocations: 4.469 kB / 1.234 GB, free: 5.91 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.734e-05/0.8195, allocations: 4 kB / 1.234 GB, free: 5.906 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.8195, allocations: 0 / 1.234 GB, free: 5.906 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.8196, allocations: 288 / 1.234 GB, free: 5.906 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/0.8196, allocations: 3.938 kB / 1.234 GB, free: 5.902 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.8196, allocations: 3.938 kB / 1.234 GB, free: 5.898 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001974/0.8198, allocations: 183.4 kB / 1.234 GB, free: 5.703 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.297e-05/0.8198, allocations: 85.09 kB / 1.234 GB, free: 5.602 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.8199, allocations: 8 kB / 1.234 GB, free: 5.594 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.836e-05/0.8199, allocations: 11.92 kB / 1.234 GB, free: 5.582 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.379e-05/0.82, allocations: 7.984 kB / 1.234 GB, free: 5.574 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-06/0.82, allocations: 0 / 1.234 GB, free: 5.574 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.119e-05/0.8201, allocations: 83.28 kB / 1.234 GB, free: 5.492 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8201, allocations: 4 kB / 1.234 GB, free: 5.488 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002413/0.8203, allocations: 15.95 kB / 1.234 GB, free: 5.473 MB / 0.9512 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 0.0001173/0.8205, allocations: 106.5 kB / 1.234 GB, free: 5.363 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002156/0.8207, allocations: 59.86 kB / 1.234 GB, free: 5.305 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.8207, allocations: 4 kB / 1.234 GB, free: 5.301 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 8.446e-05/0.8208, allocations: 23.98 kB / 1.234 GB, free: 5.277 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003615/0.8212, allocations: 12.16 kB / 1.234 GB, free: 5.266 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005481/0.8217, allocations: 161.3 kB / 1.234 GB, free: 5.082 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000433/0.8222, allocations: 0.6924 MB / 1.235 GB, free: 4.363 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.04e-05/0.8222, allocations: 7.938 kB / 1.235 GB, free: 4.355 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.191e-05/0.8222, allocations: 11.44 kB / 1.235 GB, free: 4.344 MB / 0.9512 GB Notification: Performance of SimCode: time 2.3e-07/0.8223, allocations: 0 / 1.235 GB, free: 4.344 MB / 0.9512 GB Notification: Performance of Templates: time 0.003472/0.8257, allocations: 0.7916 MB / 1.236 GB, free: 3.555 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.makefile (rm -f Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Continuous_Examples_OffTimer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches