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.00121/0.00121, allocations: 111.2 kB / 15.99 MB, free: 6.344 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.001191/0.001191, allocations: 195.3 kB / 16.91 MB, free: 6.184 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.35/1.35, allocations: 222.9 MB / 240.6 MB, free: 15.44 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.277/2.277, allocations: 390.2 MB / 0.665 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 65.33 kB / 0.8127 GB, free: 33.26 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2394, allocations: 140.4 MB / 0.9498 GB, free: 9.199 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002063/0.2416, allocations: 0.8002 MB / 0.9506 GB, free: 8.395 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001583/0.2432, allocations: 1.257 MB / 0.9518 GB, free: 7.121 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.24e-05/0.2432, allocations: 0 / 0.9518 GB, free: 7.121 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.107e-05/0.2433, allocations: 3.938 kB / 0.9518 GB, free: 7.117 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9e-05/0.2434, allocations: 15.86 kB / 0.9518 GB, free: 7.102 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000682/0.2441, allocations: 226.6 kB / 0.952 GB, free: 6.887 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002818/0.2444, allocations: 263.5 kB / 0.9523 GB, free: 6.629 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.209e-05/0.2445, allocations: 20.22 kB / 0.9523 GB, free: 6.609 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001445/0.2446, allocations: 103.7 kB / 0.9524 GB, free: 6.508 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001411/0.2448, allocations: 87.75 kB / 0.9525 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.677e-05/0.2448, allocations: 24 kB / 0.9525 GB, free: 6.398 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.884e-05/0.2449, allocations: 35.98 kB / 0.9525 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.386e-05/0.245, allocations: 31.86 kB / 0.9526 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001112/0.2451, allocations: 95.73 kB / 0.9527 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001987/0.2453, allocations: 163.9 kB / 0.9528 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2453, allocations: 0 / 0.9528 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.212e-06/0.2453, allocations: 0 / 0.9528 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.2453, allocations: 0 / 0.9528 GB, free: 6.078 MB / 0.7325 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.0007205/0.2461, allocations: 0.4946 MB / 0.9533 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.2461, allocations: 12.03 kB / 0.9533 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.574e-05/0.2462, allocations: 16.84 kB / 0.9533 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006051/0.2468, allocations: 252.3 kB / 0.9536 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.797e-05/0.2468, allocations: 12.38 kB / 0.9536 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.713e-05/0.2469, allocations: 24.3 kB / 0.9536 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002279/0.2471, allocations: 127.9 kB / 0.9537 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.2471, allocations: 3.938 kB / 0.9537 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.777e-05/0.2472, allocations: 7.984 kB / 0.9537 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.2472, allocations: 8 kB / 0.9538 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001221/0.2473, allocations: 59.89 kB / 0.9538 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007627/0.2481, allocations: 0.5045 MB / 0.9543 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002603/0.2484, allocations: 165.2 kB / 0.9545 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.422e-05/0.2485, allocations: 65.69 kB / 0.9545 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.828e-06/0.2485, allocations: 0 / 0.9545 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003628/0.2488, allocations: 212.7 kB / 0.9547 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=22): time 1.483e-06/0.2489, allocations: 0 / 0.9547 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of matching and sorting (n=22): time 0.0005499/0.2494, allocations: 305.4 kB / 0.955 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.24e-05/0.2495, allocations: 97.03 kB / 0.9551 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.2496, allocations: 137.7 kB / 0.9552 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.631e-05/0.2496, allocations: 41.7 kB / 0.9553 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.694e-05/0.2497, allocations: 96.84 kB / 0.9554 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.225e-05/0.2498, allocations: 43.8 kB / 0.9554 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001275/0.2499, allocations: 77.61 kB / 0.9555 GB, free: 3.09 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.25, allocations: 322.8 kB / 0.9558 GB, free: 2.766 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001803/0.2502, allocations: 88.23 kB / 0.9559 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002112/0.2504, allocations: 160.2 kB / 0.956 GB, free: 2.496 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003057/0.2507, allocations: 247 kB / 0.9563 GB, free: 2.215 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.2507, allocations: 4 kB / 0.9563 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005587/0.2513, allocations: 348.6 kB / 0.9566 GB, free: 1.852 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.312e-05/0.2514, allocations: 71.33 kB / 0.9567 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.2514, allocations: 0 / 0.9567 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.2514, allocations: 8.219 kB / 0.9567 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.154e-05/0.2515, allocations: 19.98 kB / 0.9567 GB, free: 1.742 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.284e-05/0.2515, allocations: 11.88 kB / 0.9567 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003494/0.2519, allocations: 63.78 kB / 0.9568 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.655e-05/0.2519, allocations: 19.98 kB / 0.9568 GB, free: 1.648 MB / 0.7325 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.0001399/0.2521, allocations: 151.5 kB / 0.9569 GB, free: 1.496 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.847e-05/0.2521, allocations: 11.91 kB / 0.9569 GB, free: 1.484 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.106e-05/0.2522, allocations: 16.5 kB / 0.957 GB, free: 1.469 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.2522, allocations: 4 kB / 0.957 GB, free: 1.465 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.2522, allocations: 3.938 kB / 0.957 GB, free: 1.461 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.2522, allocations: 7.922 kB / 0.957 GB, free: 1.453 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006033/0.2528, allocations: 0.6109 MB / 0.9576 GB, free: 0.7852 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.2528, allocations: 0 / 0.9576 GB, free: 0.7852 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.232e-05/0.2529, allocations: 11.94 kB / 0.9576 GB, free: 0.7734 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/0.2529, allocations: 12.02 kB / 0.9576 GB, free: 0.7617 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.955e-05/0.2529, allocations: 11.94 kB / 0.9576 GB, free: 0.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.2529, allocations: 0 / 0.9576 GB, free: 0.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2529, allocations: 0 / 0.9576 GB, free: 0.75 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000415/0.2533, allocations: 424.1 kB / 0.958 GB, free: 332 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.49e-05/0.2534, allocations: 92.86 kB / 0.9581 GB, free: 220 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.821e-05/0.2534, allocations: 15.92 kB / 0.9581 GB, free: 204 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001432/0.2536, allocations: 15.98 kB / 0.9581 GB, free: 188 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.224e-05/0.2536, allocations: 19.97 kB / 0.9582 GB, free: 168 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.915e-05/0.2537, allocations: 11.98 kB / 0.9582 GB, free: 156 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.082e-05/0.2537, allocations: 99.27 kB / 0.9583 GB, free: 56 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2537, allocations: 0 / 0.9583 GB, free: 56 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003678/0.2541, allocations: 55.98 kB / 0.9583 GB, free: 0 / 0.7325 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.0001933/0.2543, allocations: 127.2 kB / 0.9584 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005091/0.2549, allocations: 346.6 kB / 0.9588 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.2549, allocations: 0 / 0.9588 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001731/0.255, allocations: 123.8 kB / 0.9589 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004004/0.2555, allocations: 32.34 kB / 0.9589 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005323/0.256, allocations: 322.2 kB / 0.9592 GB, free: 15 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003303/0.2563, allocations: 0.7124 MB / 0.9599 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.976e-05/0.2564, allocations: 19.44 kB / 0.9599 GB, free: 14.24 MB / 0.7481 GB Notification: Performance of SimCode: time 5.11e-07/0.2564, allocations: 0 / 0.9599 GB, free: 14.24 MB / 0.7481 GB Notification: Performance of Templates: time 0.00431/0.2607, allocations: 2.25 MB / 0.9621 GB, free: 12 MB / 0.7481 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