Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.TimerNegativeStartTime,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",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,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",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001501/0.0015, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002384/0.002384, allocations: 196.8 kB / 16.79 MB, free: 6.809 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.38/1.38, allocations: 222.9 MB / 240.5 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.348/2.348, allocations: 390.2 MB / 0.6649 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002155/0.002155, allocations: 63.91 kB / 0.8125 GB, free: 14.83 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6339/0.6361, allocations: 140.4 MB / 0.9496 GB, free: 9.426 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001617/0.6378, allocations: 0.7251 MB / 0.9503 GB, free: 8.871 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001079/0.6389, allocations: 1.17 MB / 0.9515 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.147e-05/0.6389, allocations: 0 / 0.9515 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.298e-05/0.639, allocations: 0 / 0.9515 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.372e-05/0.639, allocations: 9.297 kB / 0.9515 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003752/0.6394, allocations: 132.5 kB / 0.9516 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001063/0.6395, allocations: 133.7 kB / 0.9517 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.936e-05/0.6396, allocations: 12.2 kB / 0.9517 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.387e-05/0.6397, allocations: 41.78 kB / 0.9518 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.706e-05/0.6398, allocations: 55.55 kB / 0.9518 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.751e-05/0.6398, allocations: 8 kB / 0.9518 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.95e-05/0.6399, allocations: 30.52 kB / 0.9519 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.182e-05/0.6399, allocations: 12.3 kB / 0.9519 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.677e-05/0.64, allocations: 48.73 kB / 0.9519 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001098/0.6401, allocations: 87.8 kB / 0.952 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.6401, allocations: 3.984 kB / 0.952 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.21e-07/0.6401, allocations: 1.219 kB / 0.952 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.216e-06/0.6401, allocations: 0 / 0.952 GB, free: 7.578 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004843/0.6406, allocations: 420.3 kB / 0.9524 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.6406, allocations: 13.53 kB / 0.9524 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.749e-05/0.6407, allocations: 8.875 kB / 0.9524 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003544/0.6411, allocations: 213.9 kB / 0.9526 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.208e-05/0.6411, allocations: 4.844 kB / 0.9526 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.793e-05/0.6411, allocations: 17.28 kB / 0.9526 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.6413, allocations: 86.12 kB / 0.9527 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.6413, allocations: 7.922 kB / 0.9527 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.6413, allocations: 1.312 kB / 0.9527 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.6413, allocations: 5.281 kB / 0.9527 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.48e-05/0.6414, allocations: 40.38 kB / 0.9528 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004589/0.6419, allocations: 354.1 kB / 0.9531 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001529/0.642, allocations: 89.61 kB / 0.9532 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.876e-05/0.6421, allocations: 40.44 kB / 0.9532 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.133e-06/0.6421, allocations: 4 kB / 0.9532 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000219/0.6423, allocations: 138.8 kB / 0.9534 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.462e-06/0.6424, allocations: 1.406 kB / 0.9534 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0003515/0.6427, allocations: 199.4 kB / 0.9536 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.486e-05/0.6427, allocations: 55.19 kB / 0.9536 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.618e-05/0.6428, allocations: 119.4 kB / 0.9537 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.6428, allocations: 32.52 kB / 0.9538 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.335e-05/0.6429, allocations: 88.41 kB / 0.9539 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.31e-05/0.6429, allocations: 31.88 kB / 0.9539 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.917e-05/0.643, allocations: 50.16 kB / 0.9539 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.985e-05/0.643, allocations: 320 kB / 0.9542 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.996e-05/0.6431, allocations: 45.83 kB / 0.9543 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001099/0.6432, allocations: 90.88 kB / 0.9544 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001515/0.6434, allocations: 140.4 kB / 0.9545 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.6434, allocations: 1 kB / 0.9545 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003023/0.6437, allocations: 214.3 kB / 0.9547 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.759e-05/0.6438, allocations: 37.64 kB / 0.9547 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.6438, allocations: 1.094 kB / 0.9547 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.6438, allocations: 2.406 kB / 0.9547 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.009e-05/0.6439, allocations: 18.95 kB / 0.9548 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.6439, allocations: 2.938 kB / 0.9548 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001903/0.6441, allocations: 31.31 kB / 0.9548 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.222e-05/0.6441, allocations: 22.8 kB / 0.9548 GB, free: 5.055 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 16 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition5,$whenCondition6,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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 7.645e-05/0.6442, allocations: 130.8 kB / 0.9549 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.847e-05/0.6442, allocations: 9.125 kB / 0.955 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.938e-05/0.6442, allocations: 14.08 kB / 0.955 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.6442, allocations: 1.594 kB / 0.955 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.6442, allocations: 0 / 0.955 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.6443, allocations: 0 / 0.955 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003278/0.6446, allocations: 430.3 kB / 0.9554 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.6446, allocations: 1.156 kB / 0.9554 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.989e-05/0.6446, allocations: 7.281 kB / 0.9554 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.6446, allocations: 1.219 kB / 0.9554 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.6447, allocations: 10.48 kB / 0.9554 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.6447, allocations: 0 / 0.9554 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.6447, allocations: 1 kB / 0.9554 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002269/0.6449, allocations: 260.3 kB / 0.9556 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.75e-05/0.6449, allocations: 83.33 kB / 0.9557 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.45e-05/0.645, allocations: 6.453 kB / 0.9557 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.637e-05/0.645, allocations: 11.58 kB / 0.9557 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.556e-05/0.6451, allocations: 10.02 kB / 0.9558 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.6451, allocations: 14.27 kB / 0.9558 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.632e-05/0.6451, allocations: 88.97 kB / 0.9559 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6452, allocations: 0 / 0.9559 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002733/0.6454, allocations: 31.53 kB / 0.9559 GB, free: 4.109 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition5,$whenCondition6,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 2 (noThr.entryTime,thrTim.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0001253/0.6456, allocations: 118.6 kB / 0.956 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002637/0.6458, allocations: 191.2 kB / 0.9562 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.6458, allocations: 0 / 0.9562 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.281e-05/0.6459, allocations: 77.31 kB / 0.9563 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000264/0.6462, allocations: 16.61 kB / 0.9563 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003345/0.6466, allocations: 237.6 kB / 0.9565 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.505e-05/0.6467, allocations: 0.6981 MB / 0.9572 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.065e-05/0.6467, allocations: 13.19 kB / 0.9572 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of SimCode: time 4.11e-07/0.6467, allocations: 3.938 kB / 0.9572 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of Templates: time 0.002537/0.6492, allocations: 1.446 MB / 0.9586 GB, free: 2.164 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.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 Variables in the result:noThr.passed,noThr.t,noThr.u,noThr.y,thrTim.passed,thrTim.t,thrTim.u,thrTim.y,time