Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 91.77 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.617/1.617, allocations: 205.4 MB / 222.1 MB, free: 5.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.532/1.532, allocations: 252 MB / 0.5102 GB, free: 4.836 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005258/0.0005264, allocations: 12 kB / 0.6243 GB, free: 1.094 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4435/0.4441, allocations: 106.3 MB / 0.7281 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.00166/0.4458, allocations: 1.293 MB / 0.7294 GB, free: 10.13 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003999/0.4462, allocations: 180.3 kB / 0.7296 GB, free: 9.953 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.798e-05/0.4462, allocations: 4 kB / 0.7296 GB, free: 9.949 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.242e-05/0.4463, allocations: 7.922 kB / 0.7296 GB, free: 9.941 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.291e-05/0.4464, allocations: 11.81 kB / 0.7296 GB, free: 9.93 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001551/0.4465, allocations: 35.95 kB / 0.7296 GB, free: 9.895 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001164/0.4467, allocations: 91.7 kB / 0.7297 GB, free: 9.805 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.4468, allocations: 41.08 kB / 0.7297 GB, free: 9.758 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.571e-05/0.4469, allocations: 35.84 kB / 0.7298 GB, free: 9.723 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.79e-05/0.447, allocations: 43.77 kB / 0.7298 GB, free: 9.68 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.823e-05/0.447, allocations: 4 kB / 0.7298 GB, free: 9.676 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.312e-05/0.447, allocations: 0 / 0.7298 GB, free: 9.676 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.926e-05/0.4471, allocations: 15.92 kB / 0.7298 GB, free: 9.66 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.844e-05/0.4471, allocations: 37.7 kB / 0.7299 GB, free: 9.617 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.902e-05/0.4472, allocations: 89.75 kB / 0.73 GB, free: 9.531 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.715e-06/0.4472, allocations: 0 / 0.73 GB, free: 9.531 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.142e-06/0.4472, allocations: 7.875 kB / 0.73 GB, free: 9.523 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.4472, allocations: 0 / 0.73 GB, free: 9.523 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007438/0.448, allocations: 470.8 kB / 0.7304 GB, free: 9.016 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.448, allocations: 8.031 kB / 0.7304 GB, free: 9.008 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.396e-05/0.4481, allocations: 19.8 kB / 0.7304 GB, free: 8.988 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.4482, allocations: 174.9 kB / 0.7306 GB, free: 8.777 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.4482, allocations: 4 kB / 0.7306 GB, free: 8.773 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.993e-05/0.4483, allocations: 8 kB / 0.7306 GB, free: 8.766 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002127/0.4485, allocations: 101.6 kB / 0.7307 GB, free: 8.66 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.4485, allocations: 0 / 0.7307 GB, free: 8.66 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.4485, allocations: 7.938 kB / 0.7307 GB, free: 8.652 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.4485, allocations: 0 / 0.7307 GB, free: 8.652 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001753/0.4487, allocations: 75.95 kB / 0.7308 GB, free: 8.578 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000669/0.4494, allocations: 412.5 kB / 0.7312 GB, free: 8.125 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001426/0.4495, allocations: 70.5 kB / 0.7313 GB, free: 8.047 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.423e-05/0.4496, allocations: 44.95 kB / 0.7313 GB, free: 8 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.4496, allocations: 0 / 0.7313 GB, free: 8 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.91e-05/0.4497, allocations: 30.56 kB / 0.7313 GB, free: 7.961 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 9.11e-07/0.4497, allocations: 0 / 0.7313 GB, free: 7.961 MB / 0.545 GB Notification: Performance of matching and sorting (n=5): time 0.0003432/0.45, allocations: 129.5 kB / 0.7315 GB, free: 7.828 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.785e-05/0.4501, allocations: 55.41 kB / 0.7315 GB, free: 7.762 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.4502, allocations: 152.6 kB / 0.7317 GB, free: 7.605 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.4502, allocations: 29.7 kB / 0.7317 GB, free: 7.57 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.509e-05/0.4503, allocations: 100 kB / 0.7318 GB, free: 7.469 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.085e-05/0.4503, allocations: 15.97 kB / 0.7318 GB, free: 7.453 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.54e-06/0.4503, allocations: 0 / 0.7318 GB, free: 7.453 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.4504, allocations: 322.8 kB / 0.7321 GB, free: 7.129 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.074e-05/0.4505, allocations: 35.98 kB / 0.7321 GB, free: 7.094 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.72e-05/0.4506, allocations: 31.98 kB / 0.7322 GB, free: 7.062 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.813e-05/0.4507, allocations: 31.92 kB / 0.7322 GB, free: 7.031 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.4507, allocations: 0 / 0.7322 GB, free: 7.031 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002209/0.451, allocations: 109.5 kB / 0.7323 GB, free: 6.918 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.451, allocations: 4 kB / 0.7323 GB, free: 6.914 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.451, allocations: 7.984 kB / 0.7323 GB, free: 6.906 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.451, allocations: 0 / 0.7323 GB, free: 6.906 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.75e-05/0.4511, allocations: 15.94 kB / 0.7323 GB, free: 6.891 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.4511, allocations: 0 / 0.7323 GB, free: 6.891 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001525/0.4513, allocations: 35.88 kB / 0.7324 GB, free: 6.855 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/0.4513, allocations: 7.984 kB / 0.7324 GB, free: 6.848 MB / 0.545 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.onSys,$PRE.conSysSta.onTOut.y,conSysSta.onTOut.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTRoo.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.948e-05/0.4514, allocations: 117.8 kB / 0.7325 GB, free: 6.723 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.883e-05/0.4515, allocations: 15.86 kB / 0.7325 GB, free: 6.707 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.028e-05/0.4515, allocations: 12.31 kB / 0.7325 GB, free: 6.695 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.4515, allocations: 0 / 0.7325 GB, free: 6.695 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.4516, allocations: 0 / 0.7325 GB, free: 6.695 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.4516, allocations: 0 / 0.7325 GB, free: 6.695 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001962/0.4518, allocations: 201.6 kB / 0.7327 GB, free: 6.449 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.4518, allocations: 0 / 0.7327 GB, free: 6.449 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.782e-05/0.4518, allocations: 15.92 kB / 0.7327 GB, free: 6.434 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.66e-06/0.4519, allocations: 3.953 kB / 0.7327 GB, free: 6.43 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.367e-06/0.4519, allocations: 4 kB / 0.7327 GB, free: 6.426 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.4519, allocations: 0 / 0.7327 GB, free: 6.426 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.4519, allocations: 0 / 0.7327 GB, free: 6.426 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002633/0.4522, allocations: 191.7 kB / 0.7329 GB, free: 6.223 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.182e-05/0.4522, allocations: 89 kB / 0.733 GB, free: 6.117 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.559e-05/0.4522, allocations: 11.95 kB / 0.733 GB, free: 6.105 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001793/0.4524, allocations: 27.97 kB / 0.733 GB, free: 6.078 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.289e-05/0.4525, allocations: 19.97 kB / 0.7331 GB, free: 6.059 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.4525, allocations: 0 / 0.7331 GB, free: 6.059 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.047e-05/0.4526, allocations: 117.9 kB / 0.7332 GB, free: 5.945 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4526, allocations: 0 / 0.7332 GB, free: 5.945 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002288/0.4528, allocations: 15.91 kB / 0.7332 GB, free: 5.93 MB / 0.545 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001111/0.453, allocations: 111.2 kB / 0.7333 GB, free: 5.812 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002188/0.4532, allocations: 71.97 kB / 0.7334 GB, free: 5.742 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.4532, allocations: 0 / 0.7334 GB, free: 5.742 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.099e-05/0.4533, allocations: 35.98 kB / 0.7334 GB, free: 5.707 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002986/0.4536, allocations: 15.59 kB / 0.7334 GB, free: 5.695 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000424/0.454, allocations: 231 kB / 0.7336 GB, free: 5.445 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003508/0.4544, allocations: 0.7004 MB / 0.7343 GB, free: 4.719 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.61e-05/0.4545, allocations: 8 kB / 0.7343 GB, free: 4.711 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.073e-05/0.4545, allocations: 15.36 kB / 0.7343 GB, free: 4.695 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.4545, allocations: 0 / 0.7343 GB, free: 4.695 MB / 0.545 GB Notification: Performance of Templates: time 0.00327/0.4578, allocations: 1.075 MB / 0.7354 GB, free: 3.633 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) Environment - environmentSimulation: