Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002616/0.002616, allocations: 87.69 kB / 20.24 MB, free: 4.184 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003409/0.003409, allocations: 157.3 kB / 23.55 MB, free: 0.875 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.673/1.673, allocations: 177.1 MB / 203.9 MB, free: 5.312 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.064/3.064, allocations: 377.8 MB / 0.6232 GB, free: 8.547 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.667e-06/3.667e-06, allocations: 0 / 0.8108 GB, free: 1.961 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 5.013e-05/5.38e-05, allocations: 2.312 kB / 0.8108 GB, free: 1.957 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.002846/0.002899, allocations: 0.67 MB / 0.8115 GB, free: 1.309 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002122/0.005022, allocations: 1.179 MB / 0.8126 GB, free: 120 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.346e-05/0.005095, allocations: 4.562 kB / 0.8126 GB, free: 116 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.262e-05/0.005128, allocations: 3.938 kB / 0.8126 GB, free: 112 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001009/0.005229, allocations: 12.55 kB / 0.8127 GB, free: 100 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006604/0.005889, allocations: 144.5 kB / 0.8128 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002903/0.006179, allocations: 140.4 kB / 0.8129 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.974e-05/0.006279, allocations: 12.86 kB / 0.8129 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001976/0.006477, allocations: 79.88 kB / 0.813 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001431/0.00662, allocations: 39.92 kB / 0.8131 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.432e-05/0.006664, allocations: 13.16 kB / 0.8131 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.469e-05/0.006759, allocations: 31.97 kB / 0.8131 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.35e-05/0.006802, allocations: 19.92 kB / 0.8131 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 9.902e-05/0.006901, allocations: 41.45 kB / 0.8132 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003339/0.007235, allocations: 159.5 kB / 0.8133 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.007239, allocations: 0 / 0.8133 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.503e-06/0.007241, allocations: 0 / 0.8133 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.007247, allocations: 1.531 kB / 0.8133 GB, free: 15.43 MB / 0.7761 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.00089/0.008137, allocations: 445.8 kB / 0.8137 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.447e-05/0.008192, allocations: 12.03 kB / 0.8137 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/0.008299, allocations: 22.2 kB / 0.8138 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004473/0.008746, allocations: 144.8 kB / 0.8139 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.15e-05/0.008777, allocations: 8.844 kB / 0.8139 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.016e-05/0.008817, allocations: 20.36 kB / 0.8139 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002212/0.009039, allocations: 87.33 kB / 0.814 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.00905, allocations: 192 / 0.814 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.005e-05/0.00907, allocations: 4.359 kB / 0.814 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.009078, allocations: 8.656 kB / 0.814 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001203/0.009199, allocations: 40.69 kB / 0.8141 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007474/0.009946, allocations: 345 kB / 0.8144 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002435/0.01019, allocations: 103 kB / 0.8145 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.034e-05/0.01028, allocations: 43.67 kB / 0.8145 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.667e-05/0.0103, allocations: 0.625 kB / 0.8145 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002839/0.01058, allocations: 145.9 kB / 0.8147 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=13): time 2.154e-06/0.01058, allocations: 0.75 kB / 0.8147 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13): time 0.0005224/0.01111, allocations: 215.8 kB / 0.8149 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.931e-05/0.01116, allocations: 51.41 kB / 0.8149 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001788/0.01134, allocations: 183.1 kB / 0.8151 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.507e-05/0.01139, allocations: 33.7 kB / 0.8151 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.0115, allocations: 134.9 kB / 0.8153 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.399e-05/0.01155, allocations: 43.88 kB / 0.8153 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.01166, allocations: 57.16 kB / 0.8154 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002942/0.01195, allocations: 0.4884 MB / 0.8158 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001718/0.01212, allocations: 89.67 kB / 0.8159 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002049/0.01233, allocations: 144.3 kB / 0.8161 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002426/0.01257, allocations: 150.4 kB / 0.8162 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.01258, allocations: 0 / 0.8162 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005062/0.01308, allocations: 279.4 kB / 0.8165 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.978e-05/0.01313, allocations: 29.7 kB / 0.8165 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.01314, allocations: 4 kB / 0.8165 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.01316, allocations: 0 / 0.8165 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.01326, allocations: 19.98 kB / 0.8165 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.01327, allocations: 3.938 kB / 0.8165 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001822/0.01345, allocations: 27.88 kB / 0.8166 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.46e-05/0.01348, allocations: 16.8 kB / 0.8166 GB, free: 11.82 MB / 0.7761 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.0001698/0.01365, allocations: 169.6 kB / 0.8167 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.012e-05/0.0137, allocations: 24.44 kB / 0.8168 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.289e-05/0.01375, allocations: 12.94 kB / 0.8168 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.01375, allocations: 4 kB / 0.8168 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.01376, allocations: 1.281 kB / 0.8168 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.01376, allocations: 0 / 0.8168 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005847/0.01435, allocations: 445.3 kB / 0.8172 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.01435, allocations: 0.6562 kB / 0.8172 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.416e-05/0.01438, allocations: 4 kB / 0.8172 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.01439, allocations: 0.5625 kB / 0.8172 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.0144, allocations: 6.031 kB / 0.8172 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.0144, allocations: 0 / 0.8172 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.01441, allocations: 3.984 kB / 0.8172 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004373/0.01485, allocations: 335.7 kB / 0.8175 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.673e-05/0.01486, allocations: 7.953 kB / 0.8175 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.473e-05/0.0149, allocations: 11.98 kB / 0.8176 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.739e-05/0.01499, allocations: 8.797 kB / 0.8176 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.114e-05/0.01505, allocations: 7.984 kB / 0.8176 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-05/0.01507, allocations: 12.92 kB / 0.8176 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 9.571e-05/0.01516, allocations: 131.2 kB / 0.8177 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01516, allocations: 1.344 kB / 0.8177 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002987/0.01546, allocations: 39.92 kB / 0.8177 GB, free: 10.56 MB / 0.7761 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.0002344/0.01569, allocations: 104.2 kB / 0.8178 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0008899/0.01658, allocations: 249.8 kB / 0.8181 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.01659, allocations: 0 / 0.8181 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001471/0.01674, allocations: 66.66 kB / 0.8181 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/0.01707, allocations: 23.86 kB / 0.8182 GB, free: 10.1 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005833/0.01765, allocations: 210.4 kB / 0.8184 GB, free: 9.863 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.775e-05/0.01775, allocations: 71.33 kB / 0.8184 GB, free: 9.773 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.986e-05/0.0178, allocations: 8.5 kB / 0.8184 GB, free: 9.766 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.653e-05/0.01784, allocations: 17.39 kB / 0.8185 GB, free: 9.75 MB / 0.7761 GB Notification: Performance of SimCode: time 1.192e-06/0.01784, allocations: 0 / 0.8185 GB, free: 9.75 MB / 0.7761 GB Notification: Performance of Templates: time 0.006587/0.02443, allocations: 1.774 MB / 0.8202 GB, free: 8.043 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.361863471916877]