Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.00162/0.00162, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001704/0.001704, allocations: 193.8 kB / 16.14 MB, free: 6.676 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.556/1.556, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.905/2.905, allocations: 437 MB / 0.7099 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 71.88 kB / 0.8686 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7701/0.7721, allocations: 151.6 MB / 1.017 GB, free: 2.766 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.002367/0.7745, allocations: 0.7381 MB / 1.017 GB, free: 2.027 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001881/0.7764, allocations: 1.159 MB / 1.019 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.609e-05/0.7765, allocations: 0 / 1.019 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.62e-05/0.7766, allocations: 4 kB / 1.019 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001047/0.7767, allocations: 15.91 kB / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000561/0.7773, allocations: 130.7 kB / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001736/0.7775, allocations: 127.7 kB / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.7776, allocations: 12 kB / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001064/0.7777, allocations: 47.89 kB / 1.019 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001337/0.7778, allocations: 47.88 kB / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 4.411e-05/0.7779, allocations: 8 kB / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.119e-05/0.778, allocations: 27.92 kB / 1.019 GB, free: 452 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.154e-05/0.778, allocations: 19.91 kB / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 9.113e-05/0.7781, allocations: 43.84 kB / 1.019 GB, free: 388 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002147/0.7783, allocations: 129.7 kB / 1.019 GB, free: 260 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.7783, allocations: 4 kB / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of FrontEnd: time 8.42e-07/0.7784, allocations: 0 / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 8.706e-06/0.7784, allocations: 0 / 1.019 GB, free: 256 kB / 0.7637 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.000744/0.7791, allocations: 421 kB / 1.019 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.32e-05/0.7792, allocations: 11.98 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.17e-05/0.7793, allocations: 16.83 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004779/0.7797, allocations: 208.4 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.915e-05/0.7798, allocations: 12.36 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.101e-05/0.7798, allocations: 12.38 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000206/0.78, allocations: 86.12 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.7801, allocations: 7.938 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.842e-05/0.7801, allocations: 4 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.942e-06/0.7801, allocations: 0 / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001066/0.7802, allocations: 39.91 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006673/0.7809, allocations: 356.5 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002105/0.7811, allocations: 102.5 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.317e-05/0.7812, allocations: 32.84 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.7812, allocations: 4 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000334/0.7816, allocations: 123.5 kB / 1.02 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 3.787e-06/0.7816, allocations: 0 / 1.02 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.0004696/0.7821, allocations: 209.3 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.151e-05/0.7821, allocations: 67.38 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.7823, allocations: 109.8 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.933e-05/0.7823, allocations: 33.7 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.2e-05/0.7824, allocations: 92.05 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.991e-05/0.7824, allocations: 27.64 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.611e-05/0.7825, allocations: 45.7 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.7827, allocations: 326.8 kB / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001212/0.7828, allocations: 47.97 kB / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001507/0.783, allocations: 90.55 kB / 1.021 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002044/0.7832, allocations: 133.9 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.7832, allocations: 4 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003826/0.7836, allocations: 203.2 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.242e-05/0.7837, allocations: 41.62 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.7837, allocations: 0 / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.7837, allocations: 4 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.986e-05/0.7838, allocations: 8 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.7838, allocations: 0 / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002231/0.784, allocations: 43.98 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.55e-05/0.7841, allocations: 11.98 kB / 1.022 GB, free: 13.1 MB / 0.7794 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 0.0001333/0.7842, allocations: 137.6 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.395e-05/0.7842, allocations: 11.91 kB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.679e-05/0.7843, allocations: 8.5 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.7843, allocations: 4 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.7843, allocations: 0 / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.7843, allocations: 0 / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005407/0.7849, allocations: 438.4 kB / 1.022 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.7849, allocations: 3.984 kB / 1.022 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.43e-05/0.7849, allocations: 7.938 kB / 1.022 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.7849, allocations: 0 / 1.022 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.895e-05/0.785, allocations: 8 kB / 1.022 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.785, allocations: 0 / 1.022 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.785, allocations: 0 / 1.022 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003564/0.7853, allocations: 269.1 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.301e-05/0.7854, allocations: 88.95 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.911e-05/0.7854, allocations: 4 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.89e-05/0.7855, allocations: 7.984 kB / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.655e-05/0.7856, allocations: 19.91 kB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.408e-05/0.7856, allocations: 11.94 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.425e-05/0.7857, allocations: 87.27 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2e-07/0.7857, allocations: 0 / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003195/0.786, allocations: 32 kB / 1.023 GB, free: 11.88 MB / 0.7794 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.0002057/0.7863, allocations: 115.8 kB / 1.023 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003524/0.7866, allocations: 191.3 kB / 1.023 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.7866, allocations: 0 / 1.023 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001312/0.7868, allocations: 71.91 kB / 1.023 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003/0.7871, allocations: 17.52 kB / 1.023 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004528/0.7875, allocations: 216.6 kB / 1.024 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003541/0.7879, allocations: 0.6887 MB / 1.024 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.876e-05/0.788, allocations: 12.56 kB / 1.024 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.639e-05/0.788, allocations: 15.42 kB / 1.024 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.788, allocations: 0 / 1.024 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of Templates: time 0.004955/0.793, allocations: 1.525 MB / 1.026 GB, free: 8.984 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches