Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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.0008931/0.0008931, allocations: 91.67 kB / 20.94 MB, free: 3.309 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.002981/0.002981, allocations: 161.1 kB / 24.38 MB, free: 9.164 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 0.9938/0.9938, allocations: 177.1 MB / 204.8 MB, free: 5.406 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.915/1.915, allocations: 389.6 MB / 0.6356 GB, free: 12.18 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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.SystemOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 0.7756 GB, free: 5.16 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.422e-05/1.536e-05, allocations: 9.344 kB / 0.7756 GB, free: 5.152 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.001425/0.00144, allocations: 0.9476 MB / 0.7765 GB, free: 4.227 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0008805/0.002321, allocations: 0.9549 MB / 0.7774 GB, free: 3.262 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.18e-05/0.002373, allocations: 0 / 0.7774 GB, free: 3.262 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.819e-05/0.002411, allocations: 12.69 kB / 0.7774 GB, free: 3.25 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 9.264e-05/0.002503, allocations: 27.28 kB / 0.7775 GB, free: 3.23 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001708/0.002674, allocations: 47.89 kB / 0.7775 GB, free: 3.184 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001201/0.002794, allocations: 127.9 kB / 0.7776 GB, free: 3.07 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.002895, allocations: 38.34 kB / 0.7777 GB, free: 3.027 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001518/0.003047, allocations: 83.8 kB / 0.7777 GB, free: 2.945 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 7.401e-05/0.003121, allocations: 44.95 kB / 0.7778 GB, free: 2.902 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.913e-05/0.00314, allocations: 12 kB / 0.7778 GB, free: 2.891 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 4.752e-05/0.003188, allocations: 12 kB / 0.7778 GB, free: 2.879 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.219e-05/0.00321, allocations: 32.95 kB / 0.7778 GB, free: 2.848 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.856e-05/0.003239, allocations: 31.92 kB / 0.7779 GB, free: 2.816 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001199/0.003358, allocations: 91.59 kB / 0.778 GB, free: 2.727 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.00336, allocations: 0.9688 kB / 0.778 GB, free: 2.727 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4e-07/0.00336, allocations: 0 / 0.778 GB, free: 2.727 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.003364, allocations: 0 / 0.778 GB, free: 2.727 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003207/0.003685, allocations: 325.2 kB / 0.7783 GB, free: 2.387 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/0.003717, allocations: 14.78 kB / 0.7783 GB, free: 2.375 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001188/0.003835, allocations: 28.91 kB / 0.7783 GB, free: 2.348 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.003951, allocations: 138.7 kB / 0.7784 GB, free: 2.188 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.003961, allocations: 9.031 kB / 0.7784 GB, free: 2.18 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.164e-05/0.003973, allocations: 8.375 kB / 0.7785 GB, free: 2.172 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001082/0.004081, allocations: 101.5 kB / 0.7786 GB, free: 2.066 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.222e-06/0.004087, allocations: 5.891 kB / 0.7786 GB, free: 2.062 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-06/0.004097, allocations: 7.938 kB / 0.7786 GB, free: 2.055 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.004101, allocations: 0 / 0.7786 GB, free: 2.055 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.369e-05/0.004135, allocations: 19.98 kB / 0.7786 GB, free: 2.035 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002554/0.00439, allocations: 232.8 kB / 0.7788 GB, free: 1.793 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.004499, allocations: 43.12 kB / 0.7788 GB, free: 1.742 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.662e-05/0.004526, allocations: 17.8 kB / 0.7789 GB, free: 1.723 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.144e-05/0.004537, allocations: 0 / 0.7789 GB, free: 1.723 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.054e-05/0.004558, allocations: 35.28 kB / 0.7789 GB, free: 1.68 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 6.91e-07/0.004558, allocations: 3.938 kB / 0.7789 GB, free: 1.676 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0001134/0.004672, allocations: 66.69 kB / 0.779 GB, free: 1.605 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.846e-05/0.0047, allocations: 51.41 kB / 0.779 GB, free: 1.543 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.819e-05/0.004769, allocations: 144.8 kB / 0.7792 GB, free: 1.391 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.004786, allocations: 37.69 kB / 0.7792 GB, free: 1.348 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.837e-05/0.004824, allocations: 108.8 kB / 0.7793 GB, free: 1.238 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.898e-05/0.004843, allocations: 23.8 kB / 0.7793 GB, free: 1.215 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-05/0.004875, allocations: 31.56 kB / 0.7793 GB, free: 1.18 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.259e-05/0.004947, allocations: 322.8 kB / 0.7797 GB, free: 0.8555 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.424e-05/0.004961, allocations: 4 kB / 0.7797 GB, free: 0.8516 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.547e-05/0.004977, allocations: 15.88 kB / 0.7797 GB, free: 0.8359 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.464e-05/0.005012, allocations: 24.83 kB / 0.7797 GB, free: 0.8086 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.005013, allocations: 0.75 kB / 0.7797 GB, free: 0.8086 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9) (initialization): time 5.753e-05/0.00507, allocations: 61.61 kB / 0.7798 GB, free: 0.7422 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/0.005081, allocations: 4.719 kB / 0.7798 GB, free: 0.7383 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-06/0.005084, allocations: 0 / 0.7798 GB, free: 0.7383 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.693e-06/0.00509, allocations: 1.062 kB / 0.7798 GB, free: 0.7383 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.139e-05/0.005132, allocations: 15.98 kB / 0.7798 GB, free: 0.7227 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.236e-06/0.005135, allocations: 3.938 kB / 0.7798 GB, free: 0.7188 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.637e-05/0.005161, allocations: 8.812 kB / 0.7798 GB, free: 0.7109 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.7e-06/0.005167, allocations: 4.516 kB / 0.7798 GB, free: 0.707 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conSysSta.onTRoo.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTOut.y,$PRE.conSysSta.onTOut.y,conSysSta.onSys) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.366e-05/0.005221, allocations: 114.8 kB / 0.7799 GB, free: 0.5859 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.452e-05/0.005235, allocations: 4 kB / 0.7799 GB, free: 0.582 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.121e-05/0.005256, allocations: 17.7 kB / 0.7799 GB, free: 0.5664 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.005258, allocations: 3.938 kB / 0.7799 GB, free: 0.5625 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-06/0.005259, allocations: 0 / 0.7799 GB, free: 0.5625 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.005262, allocations: 4.875 kB / 0.7799 GB, free: 0.5586 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.601e-05/0.005348, allocations: 93.86 kB / 0.78 GB, free: 460 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.005349, allocations: 5 kB / 0.78 GB, free: 456 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.612e-05/0.005376, allocations: 11.98 kB / 0.78 GB, free: 444 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.22e-07/0.005376, allocations: 0 / 0.78 GB, free: 444 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.005383, allocations: 4.828 kB / 0.78 GB, free: 440 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.82e-07/0.005383, allocations: 0 / 0.78 GB, free: 440 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.005384, allocations: 1.688 kB / 0.78 GB, free: 440 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.914e-05/0.005463, allocations: 147.8 kB / 0.7802 GB, free: 276 kB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.578e-06/0.005473, allocations: 11.94 kB / 0.7802 GB, free: 264 kB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/0.005488, allocations: 7.938 kB / 0.7802 GB, free: 256 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.989e-05/0.005528, allocations: 10.73 kB / 0.7802 GB, free: 248 kB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.671e-05/0.005565, allocations: 19.91 kB / 0.7802 GB, free: 228 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.005568, allocations: 3.984 kB / 0.7802 GB, free: 224 kB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.477e-05/0.005593, allocations: 38.83 kB / 0.7803 GB, free: 184 kB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.005593, allocations: 0 / 0.7803 GB, free: 184 kB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001179/0.005711, allocations: 19.89 kB / 0.7803 GB, free: 164 kB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 6.866e-05/0.00578, allocations: 90.45 kB / 0.7804 GB, free: 64 kB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.599e-05/0.005846, allocations: 32.83 kB / 0.7804 GB, free: 28 kB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.005848, allocations: 0 / 0.7804 GB, free: 28 kB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.308e-05/0.005871, allocations: 24.78 kB / 0.7804 GB, free: 0 / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001327/0.006004, allocations: 8.984 kB / 0.7804 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004547/0.006458, allocations: 231 kB / 0.7807 GB, free: 15.74 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.249e-05/0.006501, allocations: 75.2 kB / 0.7807 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.3e-05/0.006534, allocations: 4.969 kB / 0.7807 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.46e-05/0.006588, allocations: 63.36 kB / 0.7808 GB, free: 15.58 MB / 0.7448 GB Notification: Performance of SimCode: time 2.61e-07/0.006589, allocations: 1.031 kB / 0.7808 GB, free: 15.58 MB / 0.7448 GB Notification: Performance of Templates: time 0.00251/0.009099, allocations: 1.112 MB / 0.7819 GB, free: 14.53 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_13_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_13_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_13_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & (cd run_cvode && ../Buildings_13_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_gbode.pipe ; mkfifo Buildings_13_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_ida.pipe ; mkfifo Buildings_13_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.948427607305348]