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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.008489/0.008489, allocations: 108.8 kB / 15.74 MB, free: 6.016 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.001616/0.001616, allocations: 190.1 kB / 16.67 MB, free: 5.941 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.597/1.597, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.602/2.602, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001588/0.001588, allocations: 67.84 kB / 1.054 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9401/0.9417, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.003291/0.9451, allocations: 1.48 MB / 1.209 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.000814/0.9459, allocations: 439 kB / 1.21 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.275e-05/0.946, allocations: 3.938 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.268e-05/0.9461, allocations: 3.984 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.887e-05/0.9462, allocations: 15.88 kB / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000175/0.9463, allocations: 15.98 kB / 1.21 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.959e-05/0.9464, allocations: 55.83 kB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.9466, allocations: 11.98 kB / 1.21 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.341e-05/0.9467, allocations: 23.92 kB / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.069e-05/0.9467, allocations: 23.92 kB / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.376e-05/0.9468, allocations: 4 kB / 1.21 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.402e-05/0.9468, allocations: 4 kB / 1.21 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.579e-05/0.9468, allocations: 11.92 kB / 1.21 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.146e-05/0.9469, allocations: 19.94 kB / 1.21 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001466/0.947, allocations: 51.73 kB / 1.21 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.947, allocations: 4 kB / 1.21 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.522e-06/0.947, allocations: 0 / 1.21 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.914e-06/0.9471, allocations: 0 / 1.21 GB, free: 11.42 MB / 0.9356 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.0006226/0.9477, allocations: 363.2 kB / 1.21 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.9477, allocations: 12.03 kB / 1.21 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.379e-05/0.9478, allocations: 8.844 kB / 1.21 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001937/0.948, allocations: 162.2 kB / 1.21 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.948, allocations: 4.375 kB / 1.21 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.912e-05/0.948, allocations: 8.375 kB / 1.21 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/0.9482, allocations: 61.92 kB / 1.21 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.9482, allocations: 0 / 1.21 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.9482, allocations: 0 / 1.21 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.9482, allocations: 8 kB / 1.21 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.977e-05/0.9483, allocations: 27.97 kB / 1.21 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005065/0.9488, allocations: 304.6 kB / 1.211 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001077/0.9489, allocations: 54.56 kB / 1.211 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.992e-05/0.949, allocations: 20.95 kB / 1.211 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 9.257e-06/0.949, allocations: 4 kB / 1.211 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001674/0.9492, allocations: 79.39 kB / 1.211 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=9): time 1.703e-06/0.9492, allocations: 0 / 1.211 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9): time 0.0002301/0.9494, allocations: 101.6 kB / 1.211 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.792e-05/0.9495, allocations: 55.41 kB / 1.211 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.08e-05/0.9496, allocations: 113.7 kB / 1.211 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.9496, allocations: 29.7 kB / 1.211 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.312e-05/0.9497, allocations: 84.14 kB / 1.211 GB, free: 9.754 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.493e-05/0.9497, allocations: 20.09 kB / 1.211 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.872e-05/0.9498, allocations: 29.7 kB / 1.211 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.9499, allocations: 322.8 kB / 1.212 GB, free: 9.375 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.627e-05/0.9499, allocations: 16 kB / 1.212 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.078e-05/0.95, allocations: 51.36 kB / 1.212 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.756e-05/0.9501, allocations: 67.36 kB / 1.212 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.9501, allocations: 4 kB / 1.212 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001422/0.9502, allocations: 89.62 kB / 1.212 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.9503, allocations: 5.719 kB / 1.212 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.9503, allocations: 0 / 1.212 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.9503, allocations: 7.984 kB / 1.212 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.544e-05/0.9504, allocations: 11.94 kB / 1.212 GB, free: 9.098 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.9504, allocations: 3.984 kB / 1.212 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.596e-05/0.9505, allocations: 15.88 kB / 1.212 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.9505, allocations: 11.98 kB / 1.212 GB, free: 9.066 MB / 0.9356 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 8.508e-05/0.9506, allocations: 117.8 kB / 1.212 GB, free: 8.941 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.06e-05/0.9506, allocations: 4 kB / 1.212 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.127e-05/0.9506, allocations: 8.25 kB / 1.212 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.9506, allocations: 4 kB / 1.212 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.9507, allocations: 3.938 kB / 1.212 GB, free: 8.914 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.9507, allocations: 3.984 kB / 1.212 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004105/0.9511, allocations: 362.3 kB / 1.212 GB, free: 8.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.9511, allocations: 0 / 1.212 GB, free: 8.5 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.75e-05/0.9511, allocations: 7.984 kB / 1.212 GB, free: 8.492 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.696e-06/0.9511, allocations: 0 / 1.212 GB, free: 8.492 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.9511, allocations: 0 / 1.212 GB, free: 8.492 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.788e-06/0.9512, allocations: 11.88 kB / 1.212 GB, free: 8.48 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.9512, allocations: 0 / 1.212 GB, free: 8.48 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001679/0.9513, allocations: 183.5 kB / 1.213 GB, free: 8.285 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.702e-05/0.9514, allocations: 81.02 kB / 1.213 GB, free: 8.188 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.253e-05/0.9514, allocations: 8 kB / 1.213 GB, free: 8.18 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.169e-05/0.9515, allocations: 7.922 kB / 1.213 GB, free: 8.172 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.86e-05/0.9515, allocations: 4.188 kB / 1.213 GB, free: 8.168 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.9516, allocations: 7.984 kB / 1.213 GB, free: 8.16 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.018e-05/0.9516, allocations: 87.22 kB / 1.213 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9516, allocations: 0 / 1.213 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002293/0.9519, allocations: 16 kB / 1.213 GB, free: 8.059 MB / 0.9356 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.0001088/0.952, allocations: 101.8 kB / 1.213 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001577/0.9521, allocations: 59.84 kB / 1.213 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.9521, allocations: 0 / 1.213 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.096e-05/0.9522, allocations: 24 kB / 1.213 GB, free: 7.871 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002665/0.9525, allocations: 11.98 kB / 1.213 GB, free: 7.859 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000337/0.9528, allocations: 149.3 kB / 1.213 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002675/0.9531, allocations: 0.6894 MB / 1.214 GB, free: 6.973 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3e-05/0.9531, allocations: 7.984 kB / 1.214 GB, free: 6.965 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.077e-05/0.9532, allocations: 11.44 kB / 1.214 GB, free: 6.953 MB / 0.9356 GB Notification: Performance of SimCode: time 2e-07/0.9532, allocations: 0 / 1.214 GB, free: 6.953 MB / 0.9356 GB Notification: Performance of Templates: time 0.003357/0.9565, allocations: 0.814 MB / 1.215 GB, free: 6.145 MB / 0.9356 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