Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.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.001031/0.001031, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001339/0.00237, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0009532/0.0009532, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001176/0.00213, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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 0.9773/0.9773, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08816/1.065, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.797/1.797, allocations: 378.2 MB / 0.6076 GB, free: 7.84 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4643/2.262, allocations: 123.3 MB / 0.728 GB, free: 5.828 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conEquSta.TBoi|conEquSta.onSys|conEquSta.onPum|conEquSta.onBoi",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conEquSta.TBoi|conEquSta.onSys|conEquSta.onPum|conEquSta.onBoi",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0.5469 kB / 0.7293 GB, free: 4.555 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.392e-05/2.528e-05, allocations: 6.25 kB / 0.7293 GB, free: 4.547 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002263/0.002288, allocations: 0.8659 MB / 0.7302 GB, free: 3.707 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001554/0.003842, allocations: 1.2 MB / 0.7313 GB, free: 2.496 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.042e-05/0.003902, allocations: 2.812 kB / 0.7313 GB, free: 2.496 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.442e-05/0.003936, allocations: 11.86 kB / 0.7313 GB, free: 2.484 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.719e-05/0.004004, allocations: 12.42 kB / 0.7314 GB, free: 2.477 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000421/0.004425, allocations: 135.6 kB / 0.7315 GB, free: 2.344 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002288/0.004653, allocations: 141.1 kB / 0.7316 GB, free: 2.219 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.004757, allocations: 26.39 kB / 0.7316 GB, free: 2.195 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001627/0.00492, allocations: 99.25 kB / 0.7317 GB, free: 2.102 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.005028, allocations: 47.81 kB / 0.7318 GB, free: 2.055 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.014e-05/0.005058, allocations: 13.44 kB / 0.7318 GB, free: 2.043 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 8.962e-05/0.005148, allocations: 23.98 kB / 0.7318 GB, free: 2.02 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.7e-05/0.005175, allocations: 15.94 kB / 0.7318 GB, free: 2.004 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.279e-05/0.005228, allocations: 31.94 kB / 0.7319 GB, free: 1.973 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001904/0.005418, allocations: 104.3 kB / 0.732 GB, free: 1.871 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.636e-05/0.005434, allocations: 0 / 0.732 GB, free: 1.871 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.273e-06/0.005436, allocations: 0.6875 kB / 0.732 GB, free: 1.871 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.835e-05/0.005454, allocations: 0 / 0.732 GB, free: 1.871 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007169/0.006171, allocations: 339.8 kB / 0.7323 GB, free: 1.508 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.006206, allocations: 8.031 kB / 0.7323 GB, free: 1.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.76e-05/0.006254, allocations: 12.92 kB / 0.7323 GB, free: 1.488 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.511e-05/0.006349, allocations: 121.7 kB / 0.7324 GB, free: 1.344 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.006367, allocations: 9.25 kB / 0.7324 GB, free: 1.336 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.004e-05/0.006387, allocations: 8.375 kB / 0.7324 GB, free: 1.328 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.00653, allocations: 82.73 kB / 0.7325 GB, free: 1.242 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.006538, allocations: 1.375 kB / 0.7325 GB, free: 1.242 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.006549, allocations: 8.375 kB / 0.7325 GB, free: 1.234 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.535e-06/0.006556, allocations: 4.359 kB / 0.7325 GB, free: 1.23 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.465e-05/0.006601, allocations: 19.92 kB / 0.7326 GB, free: 1.211 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003778/0.006979, allocations: 209.5 kB / 0.7328 GB, free: 0.9922 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.611e-05/0.007055, allocations: 31.44 kB / 0.7328 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.221e-05/0.007077, allocations: 12.8 kB / 0.7328 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.087e-05/0.007088, allocations: 4.562 kB / 0.7328 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000111/0.007199, allocations: 67.41 kB / 0.7329 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of pre-optimization done (n=6): time 1.833e-06/0.007201, allocations: 5.625 kB / 0.7329 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.0001545/0.007355, allocations: 65.67 kB / 0.7329 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.709e-05/0.007392, allocations: 51.41 kB / 0.733 GB, free: 0.7188 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.249e-05/0.007475, allocations: 126.7 kB / 0.7331 GB, free: 0.582 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.661e-05/0.007501, allocations: 34.92 kB / 0.7331 GB, free: 0.543 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.564e-05/0.007547, allocations: 92.08 kB / 0.7332 GB, free: 460 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.405e-05/0.007571, allocations: 23.83 kB / 0.7333 GB, free: 436 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.787e-05/0.007639, allocations: 34.56 kB / 0.7333 GB, free: 396 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.764e-05/0.007727, allocations: 322.8 kB / 0.7336 GB, free: 64 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001874/0.007914, allocations: 49.69 kB / 0.7336 GB, free: 8 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.008032, allocations: 115.7 kB / 0.7338 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.668e-05/0.008108, allocations: 76.77 kB / 0.7338 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.008112, allocations: 4.938 kB / 0.7338 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001633/0.008275, allocations: 157.4 kB / 0.734 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.005e-05/0.008315, allocations: 37.7 kB / 0.734 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.00832, allocations: 0.875 kB / 0.734 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.008331, allocations: 4 kB / 0.734 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.168e-05/0.008413, allocations: 13.98 kB / 0.734 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.755e-06/0.008415, allocations: 0 / 0.734 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.036e-05/0.008506, allocations: 27.94 kB / 0.7341 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.375e-05/0.008519, allocations: 11.98 kB / 0.7341 GB, free: 15.51 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,onSys.y,$PRE.onSys.y,conEquSta.hys.y,$PRE.conEquSta.hys.y,conEquSta.onBoi) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * 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 7.065e-05/0.00859, allocations: 119.7 kB / 0.7342 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.144e-05/0.008602, allocations: 7.938 kB / 0.7342 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.865e-05/0.00863, allocations: 12.42 kB / 0.7342 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.008633, allocations: 4 kB / 0.7342 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.008635, allocations: 1.219 kB / 0.7342 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.008638, allocations: 0 / 0.7342 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.836e-05/0.008716, allocations: 81.88 kB / 0.7343 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-07/0.008717, allocations: 0.5 kB / 0.7343 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.243e-05/0.008739, allocations: 8.906 kB / 0.7343 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.419e-05/0.008753, allocations: 16 kB / 0.7343 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.008755, allocations: 0 / 0.7343 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-06/0.00876, allocations: 0.5938 kB / 0.7343 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.008761, allocations: 0.6562 kB / 0.7343 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.008763, allocations: 0 / 0.7343 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001045/0.008867, allocations: 82.16 kB / 0.7344 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.008883, allocations: 8.312 kB / 0.7344 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.299e-05/0.008906, allocations: 4 kB / 0.7344 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.656e-05/0.008942, allocations: 16.66 kB / 0.7344 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.008947, allocations: 4 kB / 0.7344 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.922e-05/0.008966, allocations: 22.61 kB / 0.7344 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.008966, allocations: 0 / 0.7344 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001187/0.009085, allocations: 27.94 kB / 0.7345 GB, free: 15.05 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,conEquSta.onBoi,conEquSta.hys.y,onSys.y) * Number of discrete states: 1 (conEquSta.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001222/0.009207, allocations: 85.58 kB / 0.7346 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001369/0.009344, allocations: 149.9 kB / 0.7347 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/0.00935, allocations: 4.75 kB / 0.7347 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.717e-05/0.009377, allocations: 16.8 kB / 0.7347 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000104/0.009481, allocations: 17.62 kB / 0.7347 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006952/0.01018, allocations: 196.8 kB / 0.7349 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.919e-05/0.01021, allocations: 63.34 kB / 0.735 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.538e-05/0.01023, allocations: 0 / 0.735 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.801e-05/0.01031, allocations: 67.36 kB / 0.735 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of SimCode: time 7.42e-07/0.01031, allocations: 0 / 0.735 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of Templates: time 0.003464/0.01377, allocations: 1.944 MB / 0.7369 GB, free: 12.55 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & ./Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff/Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.7588273752480745]