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.001223/0.001222, allocations: 98.88 kB / 16.02 MB, free: 72 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.001669/0.001669, allocations: 181.2 kB / 16.92 MB, free: 6.914 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.413/1.413, allocations: 223.3 MB / 241 MB, free: 5.344 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.484/2.484, allocations: 390.9 MB / 0.667 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005491/0.0005494, allocations: 8 kB / 0.8166 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8913/0.8919, allocations: 142.4 MB / 0.9557 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.0008171/0.8928, allocations: 400 kB / 0.9561 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001305/0.8941, allocations: 1.156 MB / 0.9572 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.262e-05/0.8941, allocations: 1.156 kB / 0.9572 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.597e-05/0.8942, allocations: 7.938 kB / 0.9573 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.485e-05/0.8942, allocations: 8.922 kB / 0.9573 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000423/0.8947, allocations: 135.5 kB / 0.9574 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001337/0.8948, allocations: 126 kB / 0.9575 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.8949, allocations: 12.67 kB / 0.9575 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.398e-05/0.895, allocations: 45.64 kB / 0.9576 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.996e-05/0.8951, allocations: 52.09 kB / 0.9576 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.497e-05/0.8952, allocations: 7.25 kB / 0.9576 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.918e-05/0.8952, allocations: 21.83 kB / 0.9576 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.458e-05/0.8953, allocations: 16.41 kB / 0.9577 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.902e-05/0.8954, allocations: 70.8 kB / 0.9577 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001231/0.8955, allocations: 86.59 kB / 0.9578 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.8955, allocations: 5.156 kB / 0.9578 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.114e-06/0.8955, allocations: 0 / 0.9578 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.8955, allocations: 0 / 0.9578 GB, free: 6.035 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.0004801/0.896, allocations: 404.8 kB / 0.9582 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.896, allocations: 8.594 kB / 0.9582 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.573e-05/0.8961, allocations: 8.531 kB / 0.9582 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003671/0.8965, allocations: 218 kB / 0.9584 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.791e-05/0.8965, allocations: 5.844 kB / 0.9584 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.463e-05/0.8966, allocations: 17.08 kB / 0.9584 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.8967, allocations: 90.55 kB / 0.9585 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.8967, allocations: 3.938 kB / 0.9585 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.8968, allocations: 3.984 kB / 0.9585 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.8968, allocations: 1.625 kB / 0.9585 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.478e-05/0.8969, allocations: 40.69 kB / 0.9586 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005127/0.8974, allocations: 360 kB / 0.9589 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001527/0.8975, allocations: 99.44 kB / 0.959 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.553e-05/0.8976, allocations: 38.97 kB / 0.9591 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.536e-06/0.8976, allocations: 0 / 0.9591 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002265/0.8979, allocations: 135.4 kB / 0.9592 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.282e-06/0.8979, allocations: 0 / 0.9592 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.000352/0.8982, allocations: 193.7 kB / 0.9594 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.93e-05/0.8983, allocations: 59.12 kB / 0.9594 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.869e-05/0.8983, allocations: 110.2 kB / 0.9595 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.676e-05/0.8984, allocations: 37.53 kB / 0.9596 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.121e-05/0.8984, allocations: 88.2 kB / 0.9597 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.645e-05/0.8984, allocations: 40.47 kB / 0.9597 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.949e-05/0.8985, allocations: 28.62 kB / 0.9597 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.31e-05/0.8985, allocations: 325.3 kB / 0.96 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.8987, allocations: 50.28 kB / 0.9601 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/0.8988, allocations: 79.27 kB / 0.9602 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001589/0.8989, allocations: 137.3 kB / 0.9603 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.8989, allocations: 0.9688 kB / 0.9603 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003266/0.8993, allocations: 212 kB / 0.9605 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.356e-05/0.8993, allocations: 38.78 kB / 0.9605 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.8993, allocations: 1.25 kB / 0.9605 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.8993, allocations: 5.281 kB / 0.9605 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.712e-05/0.8994, allocations: 11.97 kB / 0.9605 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.8994, allocations: 6.906 kB / 0.9605 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002085/0.8996, allocations: 44.58 kB / 0.9606 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.044e-05/0.8997, allocations: 7.75 kB / 0.9606 GB, free: 3.551 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 8.499e-05/0.8998, allocations: 143 kB / 0.9607 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.614e-05/0.8998, allocations: 7.938 kB / 0.9607 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.186e-05/0.8998, allocations: 10.56 kB / 0.9607 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.8998, allocations: 2.031 kB / 0.9608 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.8998, allocations: 0 / 0.9608 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.8999, allocations: 7.984 kB / 0.9608 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003536/0.9002, allocations: 436 kB / 0.9612 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.9002, allocations: 0 / 0.9612 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.066e-05/0.9003, allocations: 12.11 kB / 0.9612 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.9003, allocations: 5.312 kB / 0.9612 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.9003, allocations: 1.375 kB / 0.9612 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.9003, allocations: 1.375 kB / 0.9612 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.9003, allocations: 0 / 0.9612 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002284/0.9005, allocations: 261.2 kB / 0.9614 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.267e-05/0.9006, allocations: 87.77 kB / 0.9615 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.329e-05/0.9006, allocations: 6.75 kB / 0.9615 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.518e-05/0.9007, allocations: 8.109 kB / 0.9615 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.026e-05/0.9007, allocations: 14.84 kB / 0.9616 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.9007, allocations: 13.44 kB / 0.9616 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.695e-05/0.9008, allocations: 88.77 kB / 0.9617 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9008, allocations: 0 / 0.9617 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002661/0.9011, allocations: 31.5 kB / 0.9617 GB, free: 2.582 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.0001507/0.9012, allocations: 119.5 kB / 0.9618 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002784/0.9015, allocations: 191 kB / 0.962 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.9015, allocations: 0 / 0.962 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.911e-05/0.9016, allocations: 67.8 kB / 0.962 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002753/0.9019, allocations: 21.03 kB / 0.9621 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003626/0.9023, allocations: 239.8 kB / 0.9623 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001212/0.9024, allocations: 0.6982 MB / 0.963 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.151e-05/0.9024, allocations: 16.94 kB / 0.963 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of SimCode: time 2.91e-07/0.9024, allocations: 1.094 kB / 0.963 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of Templates: time 0.003176/0.9056, allocations: 1.436 MB / 0.9644 GB, free: 0.6523 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