Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") translateModel(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001269/0.00127, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.546/1.546, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.467/2.467, allocations: 390.9 MB / 0.666 GB, free: 2.496 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003836/0.0003838, allocations: 8 kB / 0.8153 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7447/0.7451, allocations: 142.4 MB / 0.9544 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.001677/0.7469, allocations: 1.187 MB / 0.9556 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006901/0.7476, allocations: 422.9 kB / 0.956 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.586e-05/0.7476, allocations: 0.9688 kB / 0.956 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.898e-05/0.7477, allocations: 0 / 0.956 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.963e-05/0.7478, allocations: 12.88 kB / 0.956 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001611/0.748, allocations: 16.2 kB / 0.956 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.327e-05/0.748, allocations: 42.55 kB / 0.9561 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.7482, allocations: 17.52 kB / 0.9561 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.253e-05/0.7482, allocations: 18.33 kB / 0.9561 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.88e-05/0.7483, allocations: 25 kB / 0.9561 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.054e-05/0.7483, allocations: 2.25 kB / 0.9561 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.25e-05/0.7483, allocations: 2.125 kB / 0.9561 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.673e-05/0.7483, allocations: 6.109 kB / 0.9561 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.605e-05/0.7484, allocations: 38.45 kB / 0.9562 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.942e-05/0.7485, allocations: 22.95 kB / 0.9562 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.7485, allocations: 0.9375 kB / 0.9562 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.123e-06/0.7485, allocations: 0 / 0.9562 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.7485, allocations: 0 / 0.9562 GB, free: 6.312 MB / 0.7169 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.0004659/0.749, allocations: 359.5 kB / 0.9565 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.749, allocations: 13.38 kB / 0.9565 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.517e-05/0.7491, allocations: 10.61 kB / 0.9565 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001021/0.7492, allocations: 169.6 kB / 0.9567 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.132e-05/0.7492, allocations: 3.094 kB / 0.9567 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/0.7492, allocations: 7.344 kB / 0.9567 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001118/0.7493, allocations: 58.98 kB / 0.9568 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.7494, allocations: 1.219 kB / 0.9568 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.7494, allocations: 4 kB / 0.9568 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.7494, allocations: 1.281 kB / 0.9568 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.66e-05/0.7495, allocations: 29.31 kB / 0.9568 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000469/0.7499, allocations: 310.9 kB / 0.9571 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001002/0.75, allocations: 57.66 kB / 0.9572 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.492e-05/0.7501, allocations: 24.3 kB / 0.9572 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.126e-05/0.7501, allocations: 1.281 kB / 0.9572 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000171/0.7503, allocations: 79.02 kB / 0.9573 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.944e-06/0.7503, allocations: 0 / 0.9573 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0002371/0.7505, allocations: 104.5 kB / 0.9574 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/0.7506, allocations: 54.5 kB / 0.9574 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.767e-05/0.7507, allocations: 103.8 kB / 0.9575 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.7507, allocations: 30.73 kB / 0.9575 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.001e-05/0.7507, allocations: 82.11 kB / 0.9576 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.488e-05/0.7507, allocations: 19.69 kB / 0.9576 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.36e-06/0.7507, allocations: 4 kB / 0.9576 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.448e-05/0.7508, allocations: 316.9 kB / 0.9579 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.195e-05/0.7508, allocations: 13.47 kB / 0.958 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.782e-05/0.7509, allocations: 47.89 kB / 0.958 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.266e-05/0.7509, allocations: 23.81 kB / 0.958 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.751, allocations: 0 / 0.958 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001324/0.7511, allocations: 101.8 kB / 0.9581 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.7511, allocations: 9.109 kB / 0.9581 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.7511, allocations: 5 kB / 0.9581 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.7511, allocations: 5.969 kB / 0.9581 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.287e-05/0.7512, allocations: 12.2 kB / 0.9582 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.7512, allocations: 6.125 kB / 0.9582 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.571e-05/0.7513, allocations: 10.06 kB / 0.9582 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.7513, allocations: 3.688 kB / 0.9582 GB, free: 4.352 MB / 0.7169 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,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.341e-05/0.7514, allocations: 128.1 kB / 0.9583 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.277e-05/0.7514, allocations: 2.531 kB / 0.9583 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.95e-05/0.7514, allocations: 13.11 kB / 0.9583 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.7515, allocations: 5.281 kB / 0.9583 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.7515, allocations: 0 / 0.9583 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.7515, allocations: 64 / 0.9583 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003175/0.7518, allocations: 363.8 kB / 0.9587 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.7518, allocations: 0 / 0.9587 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.891e-05/0.7518, allocations: 15.75 kB / 0.9587 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.7519, allocations: 0 / 0.9587 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/0.7519, allocations: 5.906 kB / 0.9587 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.7519, allocations: 0 / 0.9587 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.7519, allocations: 0 / 0.9587 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001316/0.752, allocations: 183.4 kB / 0.9589 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.113e-05/0.752, allocations: 78.61 kB / 0.9589 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.513e-05/0.7521, allocations: 5.422 kB / 0.9589 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.335e-05/0.7521, allocations: 13.08 kB / 0.959 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.374e-05/0.7522, allocations: 12.23 kB / 0.959 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.612e-06/0.7522, allocations: 2.812 kB / 0.959 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.612e-05/0.7522, allocations: 82.34 kB / 0.959 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7522, allocations: 192 / 0.959 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002404/0.7525, allocations: 11.78 kB / 0.9591 GB, free: 3.48 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.914e-05/0.7526, allocations: 110.9 kB / 0.9592 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001296/0.7527, allocations: 51.66 kB / 0.9592 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.7527, allocations: 64 / 0.9592 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.23e-05/0.7528, allocations: 33.28 kB / 0.9592 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.7531, allocations: 9.453 kB / 0.9593 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002983/0.7534, allocations: 159.1 kB / 0.9594 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001234/0.7535, allocations: 0.6874 MB / 0.9601 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.916e-05/0.7535, allocations: 7.625 kB / 0.9601 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.651e-05/0.7536, allocations: 11.81 kB / 0.9601 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.7536, allocations: 0 / 0.9601 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of Templates: time 0.002717/0.7563, allocations: 0.6574 MB / 0.9607 GB, free: 2.137 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile (rm -f Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches