Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.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.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed|thrTim1.u|thrTim1.y|thrTim1.t|thrTim1.passed",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed|thrTim1.u|thrTim1.y|thrTim1.t|thrTim1.passed",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001577/0.001578, allocations: 108 kB / 16.41 MB, free: 6.492 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.00193/0.00193, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.407/1.407, allocations: 222.9 MB / 241 MB, free: 15.14 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.317/2.317, allocations: 390.3 MB / 0.6655 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 59.91 kB / 0.9516 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9891/0.9904, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002145/0.9926, allocations: 0.7392 MB / 1.089 GB, free: 5.059 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001814/0.9945, allocations: 1.265 MB / 1.091 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.591e-05/0.9946, allocations: 1.5 kB / 1.091 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.586e-05/0.9946, allocations: 8.5 kB / 1.091 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.014e-05/0.9947, allocations: 21.11 kB / 1.091 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007761/0.9955, allocations: 248.9 kB / 1.091 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003649/0.9959, allocations: 265.3 kB / 1.091 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.996, allocations: 22.41 kB / 1.091 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000149/0.9961, allocations: 97.69 kB / 1.091 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001936/0.9963, allocations: 100.3 kB / 1.091 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.757e-05/0.9964, allocations: 27.25 kB / 1.091 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.9965, allocations: 32.81 kB / 1.091 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.521e-05/0.9966, allocations: 34.34 kB / 1.091 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.00013/0.9967, allocations: 87.98 kB / 1.091 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003502/0.9971, allocations: 225.5 kB / 1.092 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.9971, allocations: 0.7812 kB / 1.092 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.234e-06/0.9971, allocations: 7.938 kB / 1.092 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.9971, allocations: 0 / 1.092 GB, free: 3.637 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007602/0.9979, allocations: 494.4 kB / 1.092 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.9979, allocations: 9.719 kB / 1.092 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.027e-05/0.998, allocations: 18.19 kB / 1.092 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005894/0.9986, allocations: 254.4 kB / 1.092 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.729e-05/0.9987, allocations: 14.06 kB / 1.092 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.61e-05/0.9987, allocations: 22.84 kB / 1.092 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002793/0.999, allocations: 136 kB / 1.093 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.999, allocations: 9.578 kB / 1.093 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.334e-05/0.9991, allocations: 3.438 kB / 1.093 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.9991, allocations: 1.594 kB / 1.093 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001434/0.9992, allocations: 59.25 kB / 1.093 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008311/1, allocations: 0.5203 MB / 1.093 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002837/1, allocations: 161.3 kB / 1.093 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/1, allocations: 61.92 kB / 1.093 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.482e-05/1, allocations: 1.859 kB / 1.093 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004558/1.001, allocations: 205.6 kB / 1.094 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=22): time 1.373e-06/1.001, allocations: 0.9375 kB / 1.094 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of matching and sorting (n=22): time 0.0006278/1.002, allocations: 312.5 kB / 1.094 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.262e-05/1.002, allocations: 88.27 kB / 1.094 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.59e-05/1.002, allocations: 130.1 kB / 1.094 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.657e-05/1.002, allocations: 41.53 kB / 1.094 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.261e-05/1.002, allocations: 96.28 kB / 1.094 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.618e-05/1.002, allocations: 51.53 kB / 1.094 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001584/1.002, allocations: 78.44 kB / 1.094 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.98e-05/1.002, allocations: 327.7 kB / 1.095 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002244/1.002, allocations: 86.7 kB / 1.095 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002914/1.003, allocations: 151.7 kB / 1.095 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003721/1.003, allocations: 258.9 kB / 1.095 GB, free: 1 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/1.003, allocations: 0.75 kB / 1.095 GB, free: 1 MB / 0.8575 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007951/1.004, allocations: 351.9 kB / 1.095 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 7.443e-05/1.004, allocations: 69.73 kB / 1.096 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/1.004, allocations: 2.188 kB / 1.096 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.526e-05/1.004, allocations: 3.562 kB / 1.096 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/1.004, allocations: 19.42 kB / 1.096 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.549e-05/1.004, allocations: 11.73 kB / 1.096 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004329/1.005, allocations: 69.28 kB / 1.096 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.922e-05/1.005, allocations: 20.36 kB / 1.096 GB, free: 0.7227 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0001666/1.005, allocations: 142.6 kB / 1.096 GB, free: 0.5898 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.842e-05/1.005, allocations: 16.62 kB / 1.096 GB, free: 0.582 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.171e-05/1.005, allocations: 19.81 kB / 1.096 GB, free: 0.5664 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/1.005, allocations: 2.812 kB / 1.096 GB, free: 0.5664 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.368e-05/1.005, allocations: 4.594 kB / 1.096 GB, free: 0.5625 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.316e-05/1.005, allocations: 1.781 kB / 1.096 GB, free: 0.5625 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007974/1.006, allocations: 0.615 MB / 1.096 GB, free: 100 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/1.006, allocations: 1.125 kB / 1.096 GB, free: 100 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.077e-05/1.006, allocations: 15.72 kB / 1.096 GB, free: 92 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/1.006, allocations: 5.5 kB / 1.096 GB, free: 88 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.389e-05/1.006, allocations: 10.38 kB / 1.096 GB, free: 84 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/1.006, allocations: 1.531 kB / 1.096 GB, free: 84 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/1.006, allocations: 9.375 kB / 1.097 GB, free: 76 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005996/1.007, allocations: 415.3 kB / 1.097 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.647e-05/1.007, allocations: 88.88 kB / 1.097 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.205e-05/1.007, allocations: 14.53 kB / 1.097 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000158/1.007, allocations: 13.23 kB / 1.097 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.771e-05/1.007, allocations: 26.66 kB / 1.097 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.152e-05/1.007, allocations: 17.09 kB / 1.097 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 6.973e-05/1.007, allocations: 92.44 kB / 1.097 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.81e-07/1.007, allocations: 0.625 kB / 1.097 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004445/1.008, allocations: 56.58 kB / 1.097 GB, free: 15.59 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0002614/1.008, allocations: 112.1 kB / 1.097 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0006981/1.009, allocations: 347.8 kB / 1.098 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/1.009, allocations: 0 / 1.098 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002363/1.009, allocations: 127 kB / 1.098 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004391/1.009, allocations: 27.42 kB / 1.098 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007045/1.01, allocations: 298.9 kB / 1.098 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000351/1.01, allocations: 0.7074 MB / 1.099 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.475e-05/1.01, allocations: 20.38 kB / 1.099 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of SimCode: time 4.71e-07/1.01, allocations: 3.938 kB / 1.099 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of Templates: time 0.006331/1.017, allocations: 2.268 MB / 1.101 GB, free: 14.09 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,noThr.u,noThr.y,noThr.t,noThr.passed,thrTim.u,thrTim.y,thrTim.t,thrTim.passed,thrTim1.u,thrTim1.y,thrTim1.t,thrTim1.passed Variables in the result:noThr.passed,noThr.t,noThr.u,noThr.y,thrTim.passed,thrTim.t,thrTim.u,thrTim.y,thrTim1.passed,thrTim1.t,thrTim1.u,thrTim1.y,time