Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.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.001646/0.001646, allocations: 88.39 kB / 20.23 MB, free: 4.172 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.001702/0.001702, allocations: 161.3 kB / 23.54 MB, free: 0.8633 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.545/1.545, allocations: 177.1 MB / 203.9 MB, free: 5.598 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 2.908/2.908, allocations: 377.8 MB / 0.6232 GB, free: 8.52 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.Timer,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|thrTim1.u|thrTim1.y|thrTim1.t|thrTim1.passed",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,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|thrTim1.u|thrTim1.y|thrTim1.t|thrTim1.passed",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 0.8108 GB, free: 2.059 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.228e-05/3.447e-05, allocations: 2.859 kB / 0.8108 GB, free: 2.055 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002824/0.002858, allocations: 0.7244 MB / 0.8115 GB, free: 1.348 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002623/0.005482, allocations: 1.277 MB / 0.8128 GB, free: 60 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.331e-05/0.005545, allocations: 1.625 kB / 0.8128 GB, free: 60 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 4.217e-05/0.005587, allocations: 7.875 kB / 0.8128 GB, free: 52 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001321/0.005719, allocations: 27.78 kB / 0.8128 GB, free: 24 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009127/0.006632, allocations: 237 kB / 0.813 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0004455/0.007078, allocations: 252.6 kB / 0.8133 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.007182, allocations: 12.22 kB / 0.8133 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000288/0.00747, allocations: 144.6 kB / 0.8134 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002333/0.007703, allocations: 83.78 kB / 0.8135 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 6.572e-05/0.007769, allocations: 24 kB / 0.8135 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001067/0.007875, allocations: 29.69 kB / 0.8136 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.593e-05/0.007931, allocations: 35.89 kB / 0.8136 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001571/0.008088, allocations: 75.92 kB / 0.8137 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004872/0.008575, allocations: 267.2 kB / 0.8139 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.008579, allocations: 1.531 kB / 0.8139 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.393e-06/0.008581, allocations: 0 / 0.8139 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.008586, allocations: 0 / 0.8139 GB, free: 14.89 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001007/0.009593, allocations: 426.7 kB / 0.8143 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.009637, allocations: 8.031 kB / 0.8143 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001408/0.009778, allocations: 28.84 kB / 0.8144 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007985/0.01058, allocations: 191.5 kB / 0.8146 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.289e-05/0.01062, allocations: 16.36 kB / 0.8146 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.729e-05/0.01069, allocations: 20.91 kB / 0.8146 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003523/0.01104, allocations: 136.9 kB / 0.8147 GB, free: 14 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.01105, allocations: 4.125 kB / 0.8147 GB, free: 14 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.613e-05/0.01108, allocations: 4.375 kB / 0.8147 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.01109, allocations: 4.656 kB / 0.8147 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001989/0.01129, allocations: 61.36 kB / 0.8148 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001068/0.01236, allocations: 427.1 kB / 0.8152 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003973/0.01275, allocations: 133.2 kB / 0.8153 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001374/0.01289, allocations: 53.69 kB / 0.8154 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.039e-05/0.0129, allocations: 7.938 kB / 0.8154 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005357/0.01344, allocations: 216.1 kB / 0.8156 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=22): time 1.463e-06/0.01344, allocations: 0.5312 kB / 0.8156 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of matching and sorting (n=22): time 0.0009119/0.01435, allocations: 330.1 kB / 0.8159 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.964e-05/0.01445, allocations: 85.11 kB / 0.816 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000171/0.01462, allocations: 126 kB / 0.8161 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 7.694e-05/0.0147, allocations: 41.7 kB / 0.8161 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.01482, allocations: 92.62 kB / 0.8162 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 9.423e-05/0.01491, allocations: 60.08 kB / 0.8163 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002039/0.01511, allocations: 78.27 kB / 0.8164 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002458/0.01536, allocations: 330.8 kB / 0.8167 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003575/0.01572, allocations: 148.4 kB / 0.8168 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004204/0.01614, allocations: 212.1 kB / 0.817 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005337/0.01667, allocations: 250.1 kB / 0.8173 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.01667, allocations: 0.9062 kB / 0.8173 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001064/0.01774, allocations: 443.8 kB / 0.8177 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 8.399e-05/0.01782, allocations: 63.41 kB / 0.8177 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.01783, allocations: 3.938 kB / 0.8178 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.237e-05/0.01787, allocations: 4 kB / 0.8178 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.01799, allocations: 15.98 kB / 0.8178 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.583e-05/0.01801, allocations: 7.938 kB / 0.8178 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005249/0.01853, allocations: 74.55 kB / 0.8179 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.435e-05/0.01859, allocations: 24 kB / 0.8179 GB, free: 10.52 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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.0002171/0.01881, allocations: 149.2 kB / 0.818 GB, free: 10.37 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.215e-05/0.01888, allocations: 27.94 kB / 0.818 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.355e-05/0.01894, allocations: 12.44 kB / 0.8181 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.01894, allocations: 4.5 kB / 0.8181 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.01895, allocations: 0 / 0.8181 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.01896, allocations: 5.859 kB / 0.8181 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00113/0.02009, allocations: 0.5572 MB / 0.8186 GB, free: 9.727 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.02009, allocations: 3.938 kB / 0.8186 GB, free: 9.723 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.421e-05/0.02016, allocations: 8 kB / 0.8186 GB, free: 9.715 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.02016, allocations: 1.344 kB / 0.8186 GB, free: 9.715 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.256e-05/0.02019, allocations: 11.98 kB / 0.8186 GB, free: 9.703 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.02019, allocations: 80 / 0.8186 GB, free: 9.703 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.0202, allocations: 3.984 kB / 0.8186 GB, free: 9.699 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007486/0.02095, allocations: 439.5 kB / 0.8191 GB, free: 9.254 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.519e-05/0.02098, allocations: 19.89 kB / 0.8191 GB, free: 9.234 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.852e-05/0.02103, allocations: 8 kB / 0.8191 GB, free: 9.227 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000235/0.02127, allocations: 12.64 kB / 0.8191 GB, free: 9.215 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.681e-05/0.02136, allocations: 24.45 kB / 0.8191 GB, free: 9.191 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-05/0.0214, allocations: 19.67 kB / 0.8191 GB, free: 9.176 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 9.947e-05/0.0215, allocations: 98.64 kB / 0.8192 GB, free: 9.082 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.2e-07/0.0215, allocations: 3.938 kB / 0.8192 GB, free: 9.078 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0006279/0.02212, allocations: 55.92 kB / 0.8193 GB, free: 9.023 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0002496/0.02237, allocations: 123.1 kB / 0.8194 GB, free: 8.895 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0008073/0.02318, allocations: 374 kB / 0.8198 GB, free: 8.496 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.02318, allocations: 0 / 0.8198 GB, free: 8.496 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002405/0.02342, allocations: 83.91 kB / 0.8198 GB, free: 8.414 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006454/0.02407, allocations: 31.8 kB / 0.8199 GB, free: 8.387 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007924/0.02486, allocations: 285.3 kB / 0.8201 GB, free: 8.082 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001545/0.02502, allocations: 91.12 kB / 0.8202 GB, free: 7.977 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 9.53e-05/0.02511, allocations: 21.89 kB / 0.8203 GB, free: 7.957 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.433e-05/0.02519, allocations: 24.48 kB / 0.8203 GB, free: 7.934 MB / 0.7761 GB Notification: Performance of SimCode: time 3.61e-07/0.02519, allocations: 0 / 0.8203 GB, free: 7.934 MB / 0.7761 GB Notification: Performance of Templates: time 0.009653/0.03484, allocations: 2.901 MB / 0.8231 GB, free: 5.109 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.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: 7.948250607936643]