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.001098/0.001098, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001497/0.002595, allocations: 449.8 kB / 10.44 MB, free: 252 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.001007/0.001007, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001365/0.002372, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.8721/0.8721, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08369/0.9558, allocations: 53.66 MB / 243.4 MB, free: 15.51 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.703/1.703, allocations: 378.4 MB / 0.6079 GB, free: 7.703 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4208/2.123, allocations: 123.3 MB / 0.7283 GB, free: 5.742 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.212e-06/1.212e-06, allocations: 0 / 0.7296 GB, free: 4.441 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.096e-05/1.217e-05, allocations: 2.312 kB / 0.7296 GB, free: 4.438 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.001249/0.001261, allocations: 0.8718 MB / 0.7305 GB, free: 3.598 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0009457/0.002207, allocations: 1.204 MB / 0.7317 GB, free: 2.383 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.645e-05/0.002243, allocations: 0 / 0.7317 GB, free: 2.383 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.131e-05/0.002265, allocations: 9.734 kB / 0.7317 GB, free: 2.375 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.286e-05/0.002308, allocations: 15.86 kB / 0.7317 GB, free: 2.363 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002547/0.002562, allocations: 142.7 kB / 0.7318 GB, free: 2.227 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001436/0.002706, allocations: 141.5 kB / 0.732 GB, free: 2.102 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 7.612e-05/0.002782, allocations: 27.97 kB / 0.732 GB, free: 2.074 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000112/0.002894, allocations: 88.41 kB / 0.7321 GB, free: 1.992 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.072e-05/0.002965, allocations: 44.64 kB / 0.7321 GB, free: 1.949 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.423e-05/0.002989, allocations: 16 kB / 0.7321 GB, free: 1.934 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 6.55e-05/0.003054, allocations: 28.47 kB / 0.7322 GB, free: 1.906 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.29e-05/0.003077, allocations: 15.94 kB / 0.7322 GB, free: 1.891 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.734e-05/0.003115, allocations: 28.47 kB / 0.7322 GB, free: 1.863 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001219/0.003237, allocations: 97.14 kB / 0.7323 GB, free: 1.77 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 9.858e-06/0.003246, allocations: 0 / 0.7323 GB, free: 1.77 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.11e-07/0.003247, allocations: 0 / 0.7323 GB, free: 1.77 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.297e-06/0.003256, allocations: 0 / 0.7323 GB, free: 1.77 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.0004363/0.003693, allocations: 343 kB / 0.7326 GB, free: 1.402 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.565e-05/0.003718, allocations: 12.03 kB / 0.7326 GB, free: 1.391 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.474e-05/0.003753, allocations: 13.44 kB / 0.7326 GB, free: 1.379 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.821e-05/0.003831, allocations: 125.7 kB / 0.7328 GB, free: 1.23 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.003843, allocations: 13.91 kB / 0.7328 GB, free: 1.219 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.003861, allocations: 12.38 kB / 0.7328 GB, free: 1.207 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.27e-05/0.003954, allocations: 70.92 kB / 0.7329 GB, free: 1.129 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.003961, allocations: 0.8438 kB / 0.7329 GB, free: 1.129 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.314e-06/0.003968, allocations: 384 / 0.7329 GB, free: 1.129 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.003974, allocations: 5.688 kB / 0.7329 GB, free: 1.125 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.916e-05/0.004003, allocations: 15.92 kB / 0.7329 GB, free: 1.109 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002632/0.004266, allocations: 216.1 kB / 0.7331 GB, free: 0.8828 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.614e-05/0.004322, allocations: 32.16 kB / 0.7331 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.565e-05/0.004338, allocations: 12.8 kB / 0.7331 GB, free: 0.8281 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.743e-06/0.004345, allocations: 0 / 0.7331 GB, free: 0.8281 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.928e-05/0.004424, allocations: 72.7 kB / 0.7332 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of pre-optimization done (n=6): time 7.51e-07/0.004425, allocations: 3.938 kB / 0.7332 GB, free: 0.7422 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.000106/0.004531, allocations: 57.67 kB / 0.7333 GB, free: 0.6797 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.621e-05/0.004557, allocations: 56.06 kB / 0.7333 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.87e-05/0.004616, allocations: 126.7 kB / 0.7334 GB, free: 488 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.004637, allocations: 30.83 kB / 0.7335 GB, free: 452 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.796e-05/0.004675, allocations: 104.1 kB / 0.7336 GB, free: 344 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.492e-05/0.00469, allocations: 19.78 kB / 0.7336 GB, free: 324 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.833e-05/0.004738, allocations: 34.66 kB / 0.7336 GB, free: 284 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.409e-05/0.004812, allocations: 322.8 kB / 0.7339 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.57e-05/0.004858, allocations: 53.69 kB / 0.734 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.683e-05/0.004915, allocations: 107.5 kB / 0.7341 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.238e-05/0.004977, allocations: 89.05 kB / 0.7342 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.004979, allocations: 0.9062 kB / 0.7342 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001151/0.005095, allocations: 165.7 kB / 0.7343 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.863e-05/0.005123, allocations: 33.7 kB / 0.7344 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/0.005127, allocations: 1.406 kB / 0.7344 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.005137, allocations: 0 / 0.7344 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.017e-05/0.005187, allocations: 15.97 kB / 0.7344 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.256e-06/0.00519, allocations: 4 kB / 0.7344 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.867e-05/0.005269, allocations: 29.98 kB / 0.7344 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.005281, allocations: 4 kB / 0.7344 GB, free: 15.39 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 5.918e-05/0.00534, allocations: 126.4 kB / 0.7345 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.002e-05/0.00535, allocations: 11.92 kB / 0.7345 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.07e-05/0.005371, allocations: 12.38 kB / 0.7345 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.005372, allocations: 0 / 0.7345 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.005373, allocations: 1.25 kB / 0.7345 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.005376, allocations: 0 / 0.7345 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.456e-05/0.005441, allocations: 77.88 kB / 0.7346 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.005442, allocations: 4 kB / 0.7346 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.931e-05/0.005461, allocations: 9.234 kB / 0.7346 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.743e-06/0.005468, allocations: 7.891 kB / 0.7346 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.005469, allocations: 3.938 kB / 0.7346 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.591e-06/0.005475, allocations: 8.875 kB / 0.7347 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.005476, allocations: 0 / 0.7347 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.81e-07/0.005476, allocations: 0.5312 kB / 0.7347 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.247e-05/0.005539, allocations: 74.17 kB / 0.7347 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.415e-05/0.005553, allocations: 7.938 kB / 0.7347 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.088e-05/0.005574, allocations: 7.984 kB / 0.7347 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.212e-05/0.005606, allocations: 12.8 kB / 0.7348 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.856e-06/0.005609, allocations: 0 / 0.7348 GB, free: 15 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.799e-05/0.005627, allocations: 26.05 kB / 0.7348 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.005627, allocations: 0 / 0.7348 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001186/0.005745, allocations: 27.94 kB / 0.7348 GB, free: 14.94 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 8.998e-05/0.005835, allocations: 85.06 kB / 0.7349 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001297/0.005965, allocations: 146.8 kB / 0.735 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.005969, allocations: 0.75 kB / 0.735 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.05e-05/0.005999, allocations: 24.78 kB / 0.7351 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001053/0.006105, allocations: 101.1 kB / 0.7351 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006068/0.006711, allocations: 189.8 kB / 0.7353 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.606e-05/0.006737, allocations: 63.34 kB / 0.7354 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.185e-05/0.006759, allocations: 6.438 kB / 0.7354 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.692e-05/0.006836, allocations: 71.34 kB / 0.7355 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of SimCode: time 5.51e-07/0.006837, allocations: 0 / 0.7355 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of Templates: time 0.003092/0.009928, allocations: 1.906 MB / 0.7373 GB, free: 12.37 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.550452149473131]