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.01295/0.01295, allocations: 100.9 kB / 15.73 MB, free: 5.59 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.001771/0.001771, allocations: 189.6 kB / 16.67 MB, free: 5.523 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.459/1.459, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.466/2.466, allocations: 390.2 MB / 0.6648 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 67.89 kB / 0.9508 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.031/1.032, allocations: 140.4 MB / 1.088 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002831/1.035, allocations: 1.477 MB / 1.089 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0007262/1.036, allocations: 438.2 kB / 1.09 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.85e-05/1.036, allocations: 5.031 kB / 1.09 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.29e-05/1.036, allocations: 9.188 kB / 1.09 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.489e-05/1.036, allocations: 10.77 kB / 1.09 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001546/1.036, allocations: 25.17 kB / 1.09 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001085/1.036, allocations: 54.72 kB / 1.09 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/1.037, allocations: 13.09 kB / 1.09 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.902e-05/1.037, allocations: 21.86 kB / 1.09 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.113e-05/1.037, allocations: 23.08 kB / 1.09 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.976e-05/1.037, allocations: 4.375 kB / 1.09 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.39e-05/1.037, allocations: 8.125 kB / 1.09 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.189e-05/1.037, allocations: 9.141 kB / 1.09 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.463e-05/1.037, allocations: 29.38 kB / 1.09 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001306/1.037, allocations: 40.36 kB / 1.09 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/1.037, allocations: 0 / 1.09 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.224e-06/1.037, allocations: 1.219 kB / 1.09 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.14e-05/1.037, allocations: 0 / 1.09 GB, free: 4.051 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005284/1.038, allocations: 365.2 kB / 1.09 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/1.038, allocations: 12.88 kB / 1.09 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.228e-05/1.038, allocations: 4.859 kB / 1.09 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/1.038, allocations: 174.8 kB / 1.091 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/1.038, allocations: 6.156 kB / 1.091 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/1.038, allocations: 5.094 kB / 1.091 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/1.038, allocations: 58.27 kB / 1.091 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/1.038, allocations: 4.453 kB / 1.091 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/1.038, allocations: 0.8125 kB / 1.091 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/1.038, allocations: 1.516 kB / 1.091 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.017e-05/1.038, allocations: 25.95 kB / 1.091 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005048/1.039, allocations: 304 kB / 1.091 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001187/1.039, allocations: 56.88 kB / 1.091 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.255e-05/1.039, allocations: 27.28 kB / 1.091 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.385e-05/1.039, allocations: 1.547 kB / 1.091 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001844/1.039, allocations: 73.17 kB / 1.091 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.884e-06/1.039, allocations: 3.938 kB / 1.091 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0002659/1.039, allocations: 97.56 kB / 1.091 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/1.039, allocations: 57.64 kB / 1.091 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.122e-05/1.039, allocations: 107.9 kB / 1.091 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/1.039, allocations: 30.92 kB / 1.091 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.002e-05/1.039, allocations: 83.11 kB / 1.091 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.717e-05/1.039, allocations: 28.34 kB / 1.091 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.977e-05/1.039, allocations: 28.81 kB / 1.091 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.547e-05/1.04, allocations: 323.8 kB / 1.092 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.908e-05/1.04, allocations: 14.52 kB / 1.092 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.467e-05/1.04, allocations: 45.11 kB / 1.092 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.413e-05/1.04, allocations: 72.3 kB / 1.092 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/1.04, allocations: 0.7969 kB / 1.092 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001567/1.04, allocations: 94.17 kB / 1.092 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/1.04, allocations: 5.531 kB / 1.092 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/1.04, allocations: 1.531 kB / 1.092 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/1.04, allocations: 5.906 kB / 1.092 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.021e-05/1.04, allocations: 12.56 kB / 1.092 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/1.04, allocations: 2.172 kB / 1.092 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.33e-05/1.04, allocations: 18.31 kB / 1.092 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/1.04, allocations: 7.344 kB / 1.092 GB, free: 2.121 MB / 0.8575 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.798e-05/1.04, allocations: 122.1 kB / 1.092 GB, free: 2 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.209e-05/1.04, allocations: 1.938 kB / 1.092 GB, free: 2 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.563e-05/1.04, allocations: 10.31 kB / 1.092 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/1.04, allocations: 1.219 kB / 1.092 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/1.04, allocations: 0.5938 kB / 1.092 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/1.04, allocations: 0.6094 kB / 1.092 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003764/1.041, allocations: 364.8 kB / 1.093 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/1.041, allocations: 0.6094 kB / 1.093 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.771e-05/1.041, allocations: 8.203 kB / 1.093 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/1.041, allocations: 0.7812 kB / 1.093 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/1.041, allocations: 1.672 kB / 1.093 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/1.041, allocations: 8.625 kB / 1.093 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/1.041, allocations: 0.875 kB / 1.093 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001566/1.041, allocations: 178.6 kB / 1.093 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.404e-05/1.041, allocations: 87.34 kB / 1.093 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/1.041, allocations: 1.422 kB / 1.093 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.656e-05/1.041, allocations: 9.453 kB / 1.093 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.971e-05/1.041, allocations: 11.64 kB / 1.093 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/1.041, allocations: 2.5 kB / 1.093 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.043e-05/1.041, allocations: 80.98 kB / 1.093 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/1.041, allocations: 0.7188 kB / 1.093 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002426/1.041, allocations: 15.38 kB / 1.093 GB, free: 1.301 MB / 0.8575 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.757e-05/1.042, allocations: 104.8 kB / 1.093 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001519/1.042, allocations: 58.86 kB / 1.093 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/1.042, allocations: 0 / 1.093 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.727e-05/1.042, allocations: 23.08 kB / 1.093 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003026/1.042, allocations: 11.45 kB / 1.093 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003119/1.042, allocations: 155.4 kB / 1.093 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001198/1.043, allocations: 0.6889 MB / 1.094 GB, free: 356 kB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.835e-05/1.043, allocations: 5.828 kB / 1.094 GB, free: 356 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.811e-05/1.043, allocations: 11.47 kB / 1.094 GB, free: 352 kB / 0.8575 GB Notification: Performance of SimCode: time 2.21e-07/1.043, allocations: 4.219 kB / 1.094 GB, free: 348 kB / 0.8575 GB Notification: Performance of Templates: time 0.003498/1.046, allocations: 0.7842 MB / 1.095 GB, free: 252 kB / 0.8575 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