Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_latest_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_latest_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.001009/0.00101, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.001325/0.001325, allocations: 168.7 kB / 15.95 MB, free: 200 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.478/1.478, allocations: 223.2 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.034/3.034, allocations: 462.6 MB / 0.736 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003548/0.0003549, allocations: 11.22 kB / 0.9021 GB, free: 36.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3495/0.3499, allocations: 159.6 MB / 1.058 GB, free: 5.32 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.001808/0.3517, allocations: 1.183 MB / 1.059 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007902/0.3525, allocations: 431.1 kB / 1.06 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.154e-05/0.3526, allocations: 3.938 kB / 1.06 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.927e-05/0.3526, allocations: 3.938 kB / 1.06 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.775e-05/0.3527, allocations: 0 / 1.06 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001622/0.3529, allocations: 19.92 kB / 1.06 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.116e-05/0.353, allocations: 43.91 kB / 1.06 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.604e-05/0.3531, allocations: 15.97 kB / 1.06 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.32e-05/0.3532, allocations: 15.94 kB / 1.06 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.311e-05/0.3532, allocations: 19.92 kB / 1.06 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/0.3533, allocations: 3.938 kB / 1.06 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.155e-05/0.3533, allocations: 4 kB / 1.06 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.612e-05/0.3533, allocations: 7.984 kB / 1.06 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.665e-05/0.3533, allocations: 29.7 kB / 1.06 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.924e-05/0.3534, allocations: 27.94 kB / 1.06 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.3534, allocations: 0 / 1.06 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.863e-06/0.3534, allocations: 0 / 1.06 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.346e-06/0.3535, allocations: 0 / 1.06 GB, free: 3.5 MB / 0.8106 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.0005147/0.354, allocations: 359.5 kB / 1.06 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.354, allocations: 11.97 kB / 1.06 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.966e-05/0.3541, allocations: 4 kB / 1.06 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.3542, allocations: 182.9 kB / 1.06 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.3542, allocations: 0 / 1.06 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.671e-05/0.3543, allocations: 7.953 kB / 1.06 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.3544, allocations: 61.67 kB / 1.06 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.3544, allocations: 0 / 1.06 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.3544, allocations: 4 kB / 1.06 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.3544, allocations: 0 / 1.06 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.438e-05/0.3545, allocations: 27.92 kB / 1.06 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005056/0.355, allocations: 304.7 kB / 1.061 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.916e-05/0.3551, allocations: 54.59 kB / 1.061 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.244e-05/0.3552, allocations: 28.94 kB / 1.061 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.125e-06/0.3552, allocations: 0 / 1.061 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001741/0.3554, allocations: 67.39 kB / 1.061 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.442e-06/0.3554, allocations: 4 kB / 1.061 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0002213/0.3556, allocations: 101.5 kB / 1.061 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.944e-05/0.3557, allocations: 51.41 kB / 1.061 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.495e-05/0.3558, allocations: 121.7 kB / 1.061 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.3558, allocations: 25.7 kB / 1.061 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.775e-05/0.3559, allocations: 92.05 kB / 1.061 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.301e-05/0.3559, allocations: 27.72 kB / 1.061 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.369e-06/0.3559, allocations: 384 / 1.061 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.3561, allocations: 318.8 kB / 1.062 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.519e-05/0.3561, allocations: 19.98 kB / 1.062 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.606e-05/0.3562, allocations: 47.42 kB / 1.062 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.469e-05/0.3562, allocations: 19.94 kB / 1.062 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.3562, allocations: 4 kB / 1.062 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001468/0.3564, allocations: 93.52 kB / 1.062 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.3564, allocations: 7.938 kB / 1.062 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.3564, allocations: 4.031 kB / 1.062 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.3564, allocations: 4 kB / 1.062 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.468e-05/0.3565, allocations: 12.06 kB / 1.062 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.3565, allocations: 3.984 kB / 1.062 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.705e-05/0.3566, allocations: 12 kB / 1.062 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.3566, allocations: 4 kB / 1.062 GB, free: 1.223 MB / 0.8106 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 9.978e-05/0.3567, allocations: 123.6 kB / 1.062 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.266e-05/0.3567, allocations: 3.906 kB / 1.062 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.279e-05/0.3568, allocations: 19.95 kB / 1.062 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.3568, allocations: 0 / 1.062 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.3568, allocations: 0 / 1.062 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.3568, allocations: 0 / 1.062 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003964/0.3572, allocations: 354.5 kB / 1.062 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3572, allocations: 0 / 1.062 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.738e-05/0.3572, allocations: 4 kB / 1.062 GB, free: 0.6641 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.3573, allocations: 4 kB / 1.062 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.3573, allocations: 8 kB / 1.062 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.3573, allocations: 0 / 1.062 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.3573, allocations: 7.922 kB / 1.062 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001587/0.3575, allocations: 179.3 kB / 1.062 GB, free: 464 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.45e-05/0.3575, allocations: 81.05 kB / 1.063 GB, free: 364 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.011e-05/0.3575, allocations: 11.98 kB / 1.063 GB, free: 352 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.228e-05/0.3576, allocations: 8 kB / 1.063 GB, free: 344 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.728e-05/0.3577, allocations: 7.984 kB / 1.063 GB, free: 336 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.65e-06/0.3577, allocations: 192 / 1.063 GB, free: 336 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.626e-05/0.3577, allocations: 87.27 kB / 1.063 GB, free: 248 kB / 0.8106 GB Notification: Performance of sort global known variables: time 2.71e-07/0.3577, allocations: 3.938 kB / 1.063 GB, free: 244 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002333/0.358, allocations: 16 kB / 1.063 GB, free: 228 kB / 0.8106 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 0.0001352/0.3581, allocations: 99.61 kB / 1.063 GB, free: 120 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001522/0.3583, allocations: 60.02 kB / 1.063 GB, free: 60 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.3583, allocations: 4 kB / 1.063 GB, free: 56 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.954e-05/0.3584, allocations: 23.98 kB / 1.063 GB, free: 32 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002985/0.3587, allocations: 19.97 kB / 1.063 GB, free: 12 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004273/0.3591, allocations: 148.7 kB / 1.063 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003365/0.3594, allocations: 0.6966 MB / 1.064 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.791e-05/0.3595, allocations: 4 kB / 1.064 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.186e-05/0.3595, allocations: 7.438 kB / 1.064 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of SimCode: time 3.31e-07/0.3595, allocations: 4 kB / 1.064 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of Templates: time 0.003348/0.3629, allocations: 0.6548 MB / 1.064 GB, free: 14.45 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile (rm -f Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches