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.00113/0.00113, allocations: 105 kB / 16.41 MB, free: 6.465 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.001101/0.001101, allocations: 187 kB / 17.34 MB, free: 5.719 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.366/1.366, 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.351/2.351, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 67.91 kB / 0.9516 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9169/0.9183, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002414/0.9208, allocations: 0.7377 MB / 1.089 GB, free: 5.039 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001503/0.9223, allocations: 1.264 MB / 1.091 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.452e-05/0.9224, allocations: 1.406 kB / 1.091 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.557e-05/0.9224, allocations: 8.438 kB / 1.091 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.06e-05/0.9225, allocations: 16.88 kB / 1.091 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006526/0.9232, allocations: 253.8 kB / 1.091 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003209/0.9235, allocations: 265.4 kB / 1.091 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.469e-05/0.9236, allocations: 14.08 kB / 1.091 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001258/0.9238, allocations: 97.05 kB / 1.091 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000169/0.9239, allocations: 100.9 kB / 1.091 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.51e-05/0.924, allocations: 27.5 kB / 1.091 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.197e-05/0.9241, allocations: 36.88 kB / 1.091 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.006e-05/0.9241, allocations: 34.11 kB / 1.091 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001151/0.9242, allocations: 95.84 kB / 1.092 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003054/0.9246, allocations: 221.6 kB / 1.092 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.9246, allocations: 0.6562 kB / 1.092 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.834e-06/0.9246, allocations: 0 / 1.092 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.9246, allocations: 1.312 kB / 1.092 GB, free: 3.625 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.0006782/0.9253, allocations: 0.4897 MB / 1.092 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.9253, allocations: 9.281 kB / 1.092 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.885e-05/0.9254, allocations: 18.62 kB / 1.092 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005563/0.926, allocations: 249.8 kB / 1.092 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.86e-05/0.926, allocations: 18.19 kB / 1.092 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.722e-05/0.9261, allocations: 22.8 kB / 1.092 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002636/0.9263, allocations: 139.8 kB / 1.093 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.9264, allocations: 5.547 kB / 1.093 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.125e-05/0.9264, allocations: 3.75 kB / 1.093 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.9264, allocations: 1.594 kB / 1.093 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001431/0.9265, allocations: 62.75 kB / 1.093 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007662/0.9273, allocations: 0.5121 MB / 1.093 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002755/0.9276, allocations: 158.9 kB / 1.093 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.985e-05/0.9277, allocations: 65.44 kB / 1.093 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.012e-05/0.9277, allocations: 1.875 kB / 1.093 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000366/0.9281, allocations: 216.4 kB / 1.094 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=22): time 1.252e-06/0.9281, allocations: 0 / 1.094 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of matching and sorting (n=22): time 0.0006028/0.9287, allocations: 305.9 kB / 1.094 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/0.9288, allocations: 96 kB / 1.094 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.9289, allocations: 126 kB / 1.094 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.1e-05/0.9289, allocations: 41.88 kB / 1.094 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.472e-05/0.929, allocations: 92.14 kB / 1.094 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.7e-05/0.9291, allocations: 59.64 kB / 1.094 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001272/0.9292, allocations: 77.5 kB / 1.094 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.45e-05/0.9293, allocations: 323.2 kB / 1.095 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001896/0.9294, allocations: 90.62 kB / 1.095 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002216/0.9297, allocations: 148.2 kB / 1.095 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003139/0.93, allocations: 247.6 kB / 1.095 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.93, allocations: 0.8125 kB / 1.095 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006297/0.9306, allocations: 367.5 kB / 1.096 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.932e-05/0.9307, allocations: 63.39 kB / 1.096 GB, free: 0.7305 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.9307, allocations: 2.188 kB / 1.096 GB, free: 0.7305 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.9307, allocations: 3.625 kB / 1.096 GB, free: 0.7305 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.9308, allocations: 18.8 kB / 1.096 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.484e-05/0.9309, allocations: 11.83 kB / 1.096 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003817/0.9313, allocations: 70.28 kB / 1.096 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-05/0.9313, allocations: 19.12 kB / 1.096 GB, free: 0.6992 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.0001196/0.9314, allocations: 142.4 kB / 1.096 GB, free: 0.5664 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.54e-05/0.9315, allocations: 17.19 kB / 1.096 GB, free: 0.5586 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.768e-05/0.9315, allocations: 15.7 kB / 1.096 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.9315, allocations: 6.766 kB / 1.096 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.373e-06/0.9315, allocations: 5.109 kB / 1.096 GB, free: 0.5391 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.9316, allocations: 5.859 kB / 1.096 GB, free: 0.5352 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006102/0.9322, allocations: 0.6152 MB / 1.096 GB, free: 72 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.9322, allocations: 4.594 kB / 1.096 GB, free: 68 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.602e-05/0.9322, allocations: 7.625 kB / 1.096 GB, free: 68 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.9322, allocations: 5.531 kB / 1.096 GB, free: 64 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.489e-05/0.9323, allocations: 10.66 kB / 1.097 GB, free: 60 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.9323, allocations: 1.094 kB / 1.097 GB, free: 60 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.9323, allocations: 1.359 kB / 1.097 GB, free: 60 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005725/0.9329, allocations: 420.8 kB / 1.097 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 5.836e-05/0.9329, allocations: 89.88 kB / 1.097 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.278e-05/0.933, allocations: 14.42 kB / 1.097 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001425/0.9331, allocations: 13.33 kB / 1.097 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.02e-05/0.9332, allocations: 23.09 kB / 1.097 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.486e-05/0.9333, allocations: 11.88 kB / 1.097 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 6.823e-05/0.9333, allocations: 97.81 kB / 1.097 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9333, allocations: 4 kB / 1.097 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003796/0.9337, allocations: 52.66 kB / 1.097 GB, free: 15.58 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.0002026/0.9339, allocations: 116.3 kB / 1.097 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000586/0.9345, allocations: 346.9 kB / 1.098 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.9345, allocations: 0 / 1.098 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002072/0.9347, allocations: 120 kB / 1.098 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004412/0.9352, allocations: 38.88 kB / 1.098 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006006/0.9358, allocations: 302.9 kB / 1.098 GB, free: 15 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002893/0.9361, allocations: 0.7031 MB / 1.099 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.845e-05/0.9362, allocations: 27.66 kB / 1.099 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of SimCode: time 2.31e-07/0.9362, allocations: 0 / 1.099 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of Templates: time 0.006372/0.9425, allocations: 2.262 MB / 1.101 GB, free: 14.07 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