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.0009233/0.0009233, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.0009874/0.0009875, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 223.2 MB / 239.9 MB, free: 5.426 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.544/2.544, allocations: 390.3 MB / 0.6653 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004115/0.0004115, allocations: 12 kB / 0.8145 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9043/0.9047, allocations: 142.3 MB / 0.9535 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.0009408/0.9057, allocations: 392.2 kB / 0.9539 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001318/0.9071, allocations: 1.117 MB / 0.955 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.01e-05/0.9071, allocations: 1.156 kB / 0.955 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.871e-05/0.9072, allocations: 7.922 kB / 0.955 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.139e-05/0.9072, allocations: 10.2 kB / 0.955 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004422/0.9077, allocations: 119.6 kB / 0.9551 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001102/0.9078, allocations: 80.28 kB / 0.9552 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.9079, allocations: 8.375 kB / 0.9552 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.773e-05/0.908, allocations: 55.59 kB / 0.9553 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.9081, allocations: 41.34 kB / 0.9553 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.775e-05/0.9082, allocations: 6.875 kB / 0.9553 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.948e-05/0.9082, allocations: 20.77 kB / 0.9553 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.406e-05/0.9083, allocations: 16.83 kB / 0.9553 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.879e-05/0.9083, allocations: 45.33 kB / 0.9554 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001297/0.9085, allocations: 90.22 kB / 0.9555 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.9085, allocations: 1.531 kB / 0.9555 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.805e-06/0.9085, allocations: 0 / 0.9555 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.9085, allocations: 4 kB / 0.9555 GB, free: 6.609 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.0005529/0.909, allocations: 397 kB / 0.9559 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.9091, allocations: 9.156 kB / 0.9559 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.577e-05/0.9092, allocations: 14.83 kB / 0.9559 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003842/0.9095, allocations: 212.1 kB / 0.9561 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.024e-05/0.9096, allocations: 12.89 kB / 0.9561 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.109e-05/0.9096, allocations: 9.844 kB / 0.9561 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001632/0.9098, allocations: 88.53 kB / 0.9562 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.9098, allocations: 0 / 0.9562 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.9098, allocations: 1.469 kB / 0.9562 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.9098, allocations: 1.406 kB / 0.9562 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.124e-05/0.9099, allocations: 39.48 kB / 0.9562 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005666/0.9105, allocations: 373.8 kB / 0.9566 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001856/0.9107, allocations: 92.58 kB / 0.9567 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.027e-06/0.9107, allocations: 1.031 kB / 0.9567 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003216/0.9111, allocations: 122.7 kB / 0.9568 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.884e-06/0.9111, allocations: 0 / 0.9568 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0004783/0.9115, allocations: 207 kB / 0.957 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.816e-05/0.9116, allocations: 61.73 kB / 0.957 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.951e-05/0.9117, allocations: 110.6 kB / 0.9572 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.64e-05/0.9117, allocations: 34.52 kB / 0.9572 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.076e-05/0.9118, allocations: 91.42 kB / 0.9573 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.57e-05/0.9119, allocations: 32.22 kB / 0.9573 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.749e-05/0.9119, allocations: 6.375 kB / 0.9573 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.925e-05/0.912, allocations: 321 kB / 0.9576 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001073/0.9121, allocations: 49.77 kB / 0.9577 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.9122, allocations: 85.88 kB / 0.9577 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001171/0.9123, allocations: 84.52 kB / 0.9578 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.9124, allocations: 0 / 0.9578 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003185/0.9127, allocations: 206.7 kB / 0.958 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.332e-05/0.9127, allocations: 37.66 kB / 0.9581 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.9127, allocations: 5.125 kB / 0.9581 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.9128, allocations: 2.562 kB / 0.9581 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.837e-05/0.9128, allocations: 7.625 kB / 0.9581 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.9129, allocations: 10.17 kB / 0.9581 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002064/0.9131, allocations: 44.69 kB / 0.9581 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.18e-05/0.9131, allocations: 7.125 kB / 0.9581 GB, free: 4.234 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 ($PRE.thrTim.passed,thrTim.passed,$PRE.noThr.passed,noThr.passed,$whenCondition5,$whenCondition6,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.noThr.entryTime,noThr.entryTime,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.booPul.y,booPul.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001011/0.9132, allocations: 139.4 kB / 0.9583 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.795e-05/0.9132, allocations: 9.594 kB / 0.9583 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.682e-05/0.9133, allocations: 12.45 kB / 0.9583 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.9133, allocations: 1.969 kB / 0.9583 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.9133, allocations: 0 / 0.9583 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.9133, allocations: 5.922 kB / 0.9583 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003708/0.9137, allocations: 432.5 kB / 0.9587 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.9137, allocations: 0.9062 kB / 0.9587 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.18e-05/0.9137, allocations: 16.52 kB / 0.9587 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.9137, allocations: 0 / 0.9587 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.9138, allocations: 1.562 kB / 0.9587 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.9138, allocations: 1.531 kB / 0.9587 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.9138, allocations: 3.984 kB / 0.9587 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002492/0.914, allocations: 257.5 kB / 0.959 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.688e-05/0.9141, allocations: 82.8 kB / 0.9591 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.732e-05/0.9141, allocations: 11.55 kB / 0.9591 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.471e-05/0.9142, allocations: 13.36 kB / 0.9591 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.681e-05/0.9143, allocations: 17.97 kB / 0.9591 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/0.9143, allocations: 9.438 kB / 0.9591 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.15e-05/0.9143, allocations: 87.55 kB / 0.9592 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9.22e-07/0.9143, allocations: 1.375 kB / 0.9592 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002698/0.9146, allocations: 35.59 kB / 0.9592 GB, free: 3.262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001845/0.9148, allocations: 112.3 kB / 0.9593 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003145/0.9151, allocations: 193.7 kB / 0.9595 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.9151, allocations: 0 / 0.9595 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001025/0.9152, allocations: 70.42 kB / 0.9596 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002066/0.9154, allocations: 13.48 kB / 0.9596 GB, free: 3 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004058/0.9159, allocations: 209 kB / 0.9598 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000168/0.916, allocations: 0.7032 MB / 0.9605 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.334e-05/0.9161, allocations: 6.062 kB / 0.9605 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.907e-05/0.9161, allocations: 12.94 kB / 0.9605 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of SimCode: time 3.4e-07/0.9161, allocations: 4 kB / 0.9605 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of Templates: time 0.004432/0.9206, allocations: 1.448 MB / 0.9619 GB, free: 1.363 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","../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches