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.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.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.001003/0.001003, allocations: 91.53 kB / 15.36 MB, free: 0.7383 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.0079/0.007901, allocations: 174.7 kB / 16.27 MB, free: 6.613 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.568/1.568, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.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.712/2.712, allocations: 390.9 MB / 0.6663 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003267/0.0003267, allocations: 8 kB / 0.8159 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6623/0.6627, allocations: 142.4 MB / 0.955 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.001677/0.6644, allocations: 1.201 MB / 0.9562 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006436/0.6651, allocations: 435.8 kB / 0.9566 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.972e-05/0.6652, allocations: 1.531 kB / 0.9566 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.157e-05/0.6652, allocations: 3.938 kB / 0.9566 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001089/0.6653, allocations: 7.938 kB / 0.9566 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001676/0.6655, allocations: 19.77 kB / 0.9566 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.539e-05/0.6656, allocations: 52.48 kB / 0.9567 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.812e-05/0.6657, allocations: 9.781 kB / 0.9567 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.496e-05/0.6657, allocations: 22.39 kB / 0.9567 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.003e-05/0.6658, allocations: 25.33 kB / 0.9568 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.6658, allocations: 2.344 kB / 0.9568 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.183e-05/0.6659, allocations: 2.25 kB / 0.9568 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.98e-05/0.6659, allocations: 6.422 kB / 0.9568 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.145e-05/0.6659, allocations: 44.42 kB / 0.9568 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.449e-05/0.666, allocations: 41.05 kB / 0.9568 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.666, allocations: 0 / 0.9568 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.874e-06/0.666, allocations: 0.9375 kB / 0.9568 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.666, allocations: 0 / 0.9568 GB, free: 6.215 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.0004546/0.6665, allocations: 359 kB / 0.9572 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.6665, allocations: 9.875 kB / 0.9572 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.18e-05/0.6666, allocations: 8.219 kB / 0.9572 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/0.6667, allocations: 163.2 kB / 0.9574 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.6667, allocations: 5.781 kB / 0.9574 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.844e-05/0.6667, allocations: 12.45 kB / 0.9574 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000112/0.6669, allocations: 63.31 kB / 0.9574 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.6669, allocations: 0.9375 kB / 0.9574 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.6669, allocations: 0 / 0.9574 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.6669, allocations: 2.656 kB / 0.9574 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.443e-05/0.667, allocations: 24.98 kB / 0.9575 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000454/0.6674, allocations: 315.3 kB / 0.9578 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001072/0.6676, allocations: 53.78 kB / 0.9578 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.395e-05/0.6676, allocations: 23.66 kB / 0.9578 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.321e-05/0.6676, allocations: 5.125 kB / 0.9578 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001609/0.6678, allocations: 71.8 kB / 0.9579 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.583e-06/0.6678, allocations: 4 kB / 0.9579 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0002275/0.668, allocations: 106.2 kB / 0.958 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/0.6681, allocations: 60.42 kB / 0.9581 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.955e-05/0.6682, allocations: 101.6 kB / 0.9582 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.6682, allocations: 31.92 kB / 0.9582 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.929e-05/0.6682, allocations: 84.92 kB / 0.9583 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.176e-05/0.6682, allocations: 19.77 kB / 0.9583 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.819e-05/0.6683, allocations: 17.44 kB / 0.9583 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.791e-05/0.6683, allocations: 324 kB / 0.9586 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.394e-05/0.6684, allocations: 17.41 kB / 0.9586 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.742e-05/0.6684, allocations: 45.14 kB / 0.9587 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.947e-05/0.6685, allocations: 70.41 kB / 0.9588 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.6685, allocations: 1.781 kB / 0.9588 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001296/0.6686, allocations: 93.69 kB / 0.9588 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.6687, allocations: 9.344 kB / 0.9589 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.6687, allocations: 5.797 kB / 0.9589 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.6687, allocations: 1.781 kB / 0.9589 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.166e-05/0.6688, allocations: 7.344 kB / 0.9589 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.6688, allocations: 6.156 kB / 0.9589 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.472e-05/0.6689, allocations: 17.55 kB / 0.9589 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.6689, allocations: 8.062 kB / 0.9589 GB, free: 4.191 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,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 6.824e-05/0.6689, allocations: 125.7 kB / 0.959 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.352e-05/0.669, allocations: 6.375 kB / 0.959 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.913e-05/0.669, allocations: 9.25 kB / 0.959 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.669, allocations: 1.344 kB / 0.959 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.669, allocations: 0 / 0.959 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.669, allocations: 1.25 kB / 0.959 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000367/0.6694, allocations: 363.6 kB / 0.9594 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.6694, allocations: 4 kB / 0.9594 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.72e-05/0.6694, allocations: 4.031 kB / 0.9594 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.6695, allocations: 0 / 0.9594 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.6695, allocations: 5.5 kB / 0.9594 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.6695, allocations: 3.938 kB / 0.9594 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.6695, allocations: 1.375 kB / 0.9594 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001337/0.6696, allocations: 187.2 kB / 0.9596 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.038e-05/0.6696, allocations: 78.45 kB / 0.9597 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.6697, allocations: 5.562 kB / 0.9597 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.856e-05/0.6698, allocations: 12.86 kB / 0.9597 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.608e-05/0.6698, allocations: 7.984 kB / 0.9597 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.184e-06/0.6698, allocations: 6.969 kB / 0.9597 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.473e-05/0.6699, allocations: 78.94 kB / 0.9598 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6699, allocations: 0 / 0.9598 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002512/0.6701, allocations: 15.34 kB / 0.9598 GB, free: 3.324 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.598e-05/0.6702, allocations: 104.1 kB / 0.9599 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001437/0.6704, allocations: 60.77 kB / 0.9599 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.6704, allocations: 0 / 0.9599 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.236e-05/0.6704, allocations: 25.5 kB / 0.96 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/0.6707, allocations: 15.53 kB / 0.96 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003085/0.671, allocations: 168 kB / 0.9601 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001055/0.6711, allocations: 0.6922 MB / 0.9608 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.917e-05/0.6712, allocations: 3.5 kB / 0.9608 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.684e-05/0.6712, allocations: 11.16 kB / 0.9608 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.6712, allocations: 0 / 0.9608 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of Templates: time 0.002964/0.6742, allocations: 0.6776 MB / 0.9615 GB, free: 1.965 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