Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_9_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_9_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.001201/0.001201, allocations: 109.1 kB / 16.41 MB, free: 6.465 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.001203/0.001203, allocations: 190.7 kB / 17.35 MB, free: 5.715 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.306/1.306, allocations: 222.9 MB / 241 MB, free: 15.09 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.18/2.18, allocations: 390.3 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 63.91 kB / 0.9515 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7057/0.707, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002069/0.7091, allocations: 1.469 MB / 1.09 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0005528/0.7097, allocations: 434.2 kB / 1.09 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.861e-05/0.7097, allocations: 0.9062 kB / 1.09 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.533e-05/0.7098, allocations: 9.719 kB / 1.09 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.797e-05/0.7098, allocations: 14.09 kB / 1.09 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001278/0.71, allocations: 25.34 kB / 1.09 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.997e-05/0.7101, allocations: 52.3 kB / 1.091 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.53e-05/0.7102, allocations: 11.47 kB / 1.091 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.846e-05/0.7102, allocations: 26.86 kB / 1.091 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.696e-05/0.7103, allocations: 19.06 kB / 1.091 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.058e-05/0.7103, allocations: 4.344 kB / 1.091 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.169e-05/0.7103, allocations: 4.312 kB / 1.091 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.13e-05/0.7104, allocations: 17.06 kB / 1.091 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.06e-05/0.7104, allocations: 30.03 kB / 1.091 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.393e-05/0.7105, allocations: 38.97 kB / 1.091 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.7105, allocations: 1.062 kB / 1.091 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.182e-06/0.7105, allocations: 0 / 1.091 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.7105, allocations: 0 / 1.091 GB, free: 4.059 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004097/0.7109, allocations: 361.9 kB / 1.091 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.711, allocations: 8.656 kB / 1.091 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.327e-05/0.711, allocations: 12.72 kB / 1.091 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.496e-05/0.7111, allocations: 173.7 kB / 1.091 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.7111, allocations: 6.469 kB / 1.091 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.339e-05/0.7111, allocations: 5.172 kB / 1.091 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/0.7112, allocations: 57.98 kB / 1.091 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.7113, allocations: 0 / 1.091 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-06/0.7113, allocations: 1.844 kB / 1.091 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.7113, allocations: 1.125 kB / 1.091 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.114e-05/0.7113, allocations: 30.53 kB / 1.091 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004067/0.7118, allocations: 303.1 kB / 1.092 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.204e-05/0.7119, allocations: 53.38 kB / 1.092 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.093e-05/0.7119, allocations: 27.56 kB / 1.092 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.104e-05/0.7119, allocations: 4.453 kB / 1.092 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001238/0.712, allocations: 78.44 kB / 1.092 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.473e-06/0.7121, allocations: 0 / 1.092 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0002001/0.7123, allocations: 97.23 kB / 1.092 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.862e-05/0.7123, allocations: 54.09 kB / 1.092 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.234e-05/0.7123, allocations: 107.3 kB / 1.092 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.155e-05/0.7124, allocations: 30.73 kB / 1.092 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.444e-05/0.7124, allocations: 83.33 kB / 1.092 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.166e-05/0.7124, allocations: 23.98 kB / 1.092 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.816e-05/0.7125, allocations: 33.38 kB / 1.092 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.214e-05/0.7125, allocations: 322.7 kB / 1.092 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.855e-05/0.7126, allocations: 15.16 kB / 1.092 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.986e-05/0.7126, allocations: 48.59 kB / 1.093 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.885e-05/0.7127, allocations: 65.95 kB / 1.093 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.7127, allocations: 7.938 kB / 1.093 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001337/0.7128, allocations: 93.3 kB / 1.093 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.7129, allocations: 5.844 kB / 1.093 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.7129, allocations: 5.594 kB / 1.093 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.7129, allocations: 1.562 kB / 1.093 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.858e-05/0.713, allocations: 9.516 kB / 1.093 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.713, allocations: 2 kB / 1.093 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.851e-05/0.713, allocations: 19.06 kB / 1.093 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.7131, allocations: 6.594 kB / 1.093 GB, free: 2.133 MB / 0.8575 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 5.694e-05/0.7131, allocations: 124.3 kB / 1.093 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.315e-05/0.7131, allocations: 2.812 kB / 1.093 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.588e-05/0.7132, allocations: 9.234 kB / 1.093 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.7132, allocations: 1.312 kB / 1.093 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.7132, allocations: 0 / 1.093 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.955e-05/0.7132, allocations: 83.92 kB / 1.093 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.7132, allocations: 9.922 kB / 1.093 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.655e-05/0.7133, allocations: 5.125 kB / 1.093 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.693e-05/0.7133, allocations: 7.016 kB / 1.093 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001647/0.7135, allocations: 174.6 kB / 1.093 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001354/0.7136, allocations: 253.9 kB / 1.093 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.499e-05/0.7137, allocations: 24.59 kB / 1.093 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.377e-05/0.7137, allocations: 85.55 kB / 1.093 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of Backend: time 2.31e-07/0.7137, allocations: 0 / 1.093 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003542/0.7141, allocations: 115.9 kB / 1.094 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0003504/0.7145, allocations: 0.5856 MB / 1.094 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of Templates: time 0.002784/0.7172, allocations: 0.7836 MB / 1.095 GB, free: 0.6875 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer.makefile (rm -f Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_Continuous_Examples_OffTimer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches