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.001165/0.001165, allocations: 103.9 kB / 16.27 MB, free: 6.355 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.001215/0.001215, allocations: 195.5 kB / 17.2 MB, free: 5.953 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.362/1.362, allocations: 222.9 MB / 240.9 MB, free: 15.23 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.286/2.286, allocations: 390.3 MB / 0.6653 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 64.34 kB / 0.8132 GB, free: 32.98 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.247/0.2483, allocations: 140.4 MB / 0.9503 GB, free: 8.883 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002167/0.2505, allocations: 0.7552 MB / 0.951 GB, free: 8.121 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001689/0.2522, allocations: 1.251 MB / 0.9522 GB, free: 6.855 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.788e-05/0.2523, allocations: 0 / 0.9522 GB, free: 6.855 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.695e-05/0.2524, allocations: 7.875 kB / 0.9522 GB, free: 6.848 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.627e-05/0.2525, allocations: 19.84 kB / 0.9523 GB, free: 6.828 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007336/0.2532, allocations: 251.3 kB / 0.9525 GB, free: 6.586 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003148/0.2535, allocations: 259.6 kB / 0.9528 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.2537, allocations: 20.2 kB / 0.9528 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001661/0.2538, allocations: 99.8 kB / 0.9529 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001425/0.254, allocations: 87.7 kB / 0.953 GB, free: 6.129 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.952e-05/0.2541, allocations: 28 kB / 0.953 GB, free: 6.102 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.83e-05/0.2542, allocations: 32 kB / 0.953 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.462e-05/0.2542, allocations: 35.89 kB / 0.953 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001301/0.2543, allocations: 91.73 kB / 0.9531 GB, free: 5.945 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002766/0.2546, allocations: 215.7 kB / 0.9533 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2546, allocations: 0 / 0.9533 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2547, allocations: 4 kB / 0.9533 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.723e-06/0.2547, allocations: 0 / 0.9533 GB, free: 5.73 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.0007702/0.2554, allocations: 0.4946 MB / 0.9538 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.2555, allocations: 12.02 kB / 0.9538 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.15e-05/0.2556, allocations: 16.84 kB / 0.9538 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006208/0.2562, allocations: 255.3 kB / 0.9541 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.491e-05/0.2563, allocations: 20.3 kB / 0.9541 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.323e-05/0.2563, allocations: 16.38 kB / 0.9541 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002316/0.2566, allocations: 135.9 kB / 0.9543 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.168e-06/0.2566, allocations: 3.938 kB / 0.9543 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.228e-05/0.2566, allocations: 11.98 kB / 0.9543 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.2566, allocations: 0 / 0.9543 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001285/0.2567, allocations: 63.89 kB / 0.9543 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008193/0.2576, allocations: 0.5046 MB / 0.9548 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002726/0.2579, allocations: 157.2 kB / 0.955 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.296e-05/0.258, allocations: 61.7 kB / 0.955 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.778e-06/0.258, allocations: 8 kB / 0.955 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003473/0.2583, allocations: 210 kB / 0.9552 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=22): time 2.825e-06/0.2583, allocations: 7.984 kB / 0.9553 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of matching and sorting (n=22): time 0.0005522/0.2589, allocations: 309.4 kB / 0.9555 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.372e-05/0.259, allocations: 89.05 kB / 0.9556 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.2591, allocations: 137.7 kB / 0.9558 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.288e-05/0.2591, allocations: 41.69 kB / 0.9558 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.366e-05/0.2592, allocations: 92.7 kB / 0.9559 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.519e-05/0.2593, allocations: 51.34 kB / 0.9559 GB, free: 2.816 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001479/0.2594, allocations: 77.67 kB / 0.956 GB, free: 2.734 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.2596, allocations: 326.8 kB / 0.9563 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001708/0.2597, allocations: 84.23 kB / 0.9564 GB, free: 2.324 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002092/0.26, allocations: 148.2 kB / 0.9565 GB, free: 2.152 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003085/0.2603, allocations: 243 kB / 0.9568 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.2603, allocations: 4 kB / 0.9568 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005982/0.2609, allocations: 368.5 kB / 0.9571 GB, free: 1.492 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.704e-05/0.261, allocations: 67.33 kB / 0.9572 GB, free: 1.414 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/0.261, allocations: 4 kB / 0.9572 GB, free: 1.41 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.261, allocations: 4 kB / 0.9572 GB, free: 1.406 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.382e-05/0.2611, allocations: 16 kB / 0.9572 GB, free: 1.391 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/0.2611, allocations: 15.86 kB / 0.9572 GB, free: 1.375 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003699/0.2615, allocations: 68.38 kB / 0.9573 GB, free: 1.309 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.329e-05/0.2615, allocations: 15.98 kB / 0.9573 GB, free: 1.293 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.0001408/0.2617, allocations: 144 kB / 0.9575 GB, free: 1.141 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.968e-05/0.2617, allocations: 15.89 kB / 0.9575 GB, free: 1.125 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.94e-05/0.2618, allocations: 16.44 kB / 0.9575 GB, free: 1.109 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.2618, allocations: 4 kB / 0.9575 GB, free: 1.105 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.2618, allocations: 7.938 kB / 0.9575 GB, free: 1.098 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.2618, allocations: 0 / 0.9575 GB, free: 1.098 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006061/0.2624, allocations: 0.6109 MB / 0.9581 GB, free: 440 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.2624, allocations: 3.938 kB / 0.9581 GB, free: 436 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.169e-05/0.2625, allocations: 8 kB / 0.9581 GB, free: 428 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.119e-06/0.2625, allocations: 3.938 kB / 0.9581 GB, free: 424 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.922e-05/0.2625, allocations: 11.98 kB / 0.9581 GB, free: 412 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.2625, allocations: 4 kB / 0.9581 GB, free: 408 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.2625, allocations: 4 kB / 0.9581 GB, free: 404 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004223/0.263, allocations: 420.8 kB / 0.9585 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 5.662e-05/0.263, allocations: 92.86 kB / 0.9586 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.985e-05/0.2631, allocations: 15.92 kB / 0.9586 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001394/0.2632, allocations: 11.98 kB / 0.9586 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.429e-05/0.2633, allocations: 27.97 kB / 0.9587 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.966e-05/0.2633, allocations: 11.98 kB / 0.9587 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 6.265e-05/0.2634, allocations: 99.14 kB / 0.9588 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2634, allocations: 0 / 0.9588 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003669/0.2638, allocations: 52 kB / 0.9588 GB, free: 15.64 MB / 0.7481 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.0001808/0.2639, allocations: 123.2 kB / 0.9589 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005142/0.2645, allocations: 351 kB / 0.9593 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2645, allocations: 0 / 0.9593 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001718/0.2646, allocations: 119.8 kB / 0.9594 GB, free: 15.03 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003907/0.265, allocations: 32.12 kB / 0.9594 GB, free: 15 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005626/0.2656, allocations: 310.2 kB / 0.9597 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002928/0.2659, allocations: 0.7085 MB / 0.9604 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.604e-05/0.266, allocations: 19.44 kB / 0.9604 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of SimCode: time 4.21e-07/0.266, allocations: 0 / 0.9604 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of Templates: time 0.004614/0.2706, allocations: 2.257 MB / 0.9626 GB, free: 11.65 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