Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.822/2.822, allocations: 287.3 MB / 302.3 MB, free: 8.23 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001595/0.001595, allocations: 190.7 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.236/2.236, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001182/0.001181, allocations: 111.8 kB / 0.7428 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006696/0.0006698, allocations: 12.56 kB / 0.8656 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2174/0.2181, allocations: 115.3 MB / 0.9782 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.001143/0.2193, allocations: 0.5677 MB / 0.9788 GB, free: 27.8 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001049/0.2204, allocations: 0.8682 MB / 0.9796 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.144e-05/0.2205, allocations: 3.938 kB / 0.9796 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.084e-05/0.2205, allocations: 3.938 kB / 0.9796 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001126/0.2206, allocations: 23.89 kB / 0.9796 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001555/0.2208, allocations: 31.91 kB / 0.9797 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001092/0.2209, allocations: 63.86 kB / 0.9797 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.2211, allocations: 29.3 kB / 0.9797 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.2212, allocations: 31.84 kB / 0.9798 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.246e-05/0.2213, allocations: 39.83 kB / 0.9798 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.284e-05/0.2213, allocations: 4 kB / 0.9798 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.949e-05/0.2213, allocations: 4 kB / 0.9798 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.224e-05/0.2214, allocations: 15.92 kB / 0.9798 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.707e-05/0.2214, allocations: 41.64 kB / 0.9799 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001229/0.2215, allocations: 88 kB / 0.98 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2216, allocations: 4 kB / 0.98 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2216, allocations: 0 / 0.98 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.2216, allocations: 0 / 0.98 GB, free: 26.54 MB / 0.6198 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.001125/0.2227, allocations: 454.9 kB / 0.9804 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.2228, allocations: 12.03 kB / 0.9804 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.276e-05/0.2228, allocations: 11.91 kB / 0.9804 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.2229, allocations: 192.7 kB / 0.9806 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.223, allocations: 0 / 0.9806 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.644e-05/0.223, allocations: 12 kB / 0.9806 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002852/0.2233, allocations: 101.6 kB / 0.9807 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.2233, allocations: 0 / 0.9807 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/0.2234, allocations: 0 / 0.9807 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.2234, allocations: 4 kB / 0.9807 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002915/0.2237, allocations: 67.97 kB / 0.9808 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009161/0.2246, allocations: 424.5 kB / 0.9812 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002121/0.2248, allocations: 70.48 kB / 0.9813 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.294e-05/0.2249, allocations: 0 / 0.9813 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.98e-05/0.2249, allocations: 42.5 kB / 0.9813 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.403e-06/0.2249, allocations: 0 / 0.9813 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.0005028/0.2254, allocations: 121.7 kB / 0.9814 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.431e-05/0.2255, allocations: 55.41 kB / 0.9815 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.2256, allocations: 148.7 kB / 0.9816 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.2256, allocations: 25.7 kB / 0.9816 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.113e-05/0.2257, allocations: 104 kB / 0.9817 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.497e-05/0.2257, allocations: 19.8 kB / 0.9818 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.969e-06/0.2257, allocations: 0 / 0.9818 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.804e-05/0.2258, allocations: 322.8 kB / 0.9821 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.226, allocations: 35.97 kB / 0.9821 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001382/0.2261, allocations: 39.91 kB / 0.9821 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001269/0.2263, allocations: 27.98 kB / 0.9822 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2263, allocations: 0 / 0.9822 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003555/0.2266, allocations: 105.5 kB / 0.9823 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.2267, allocations: 6.031 kB / 0.9823 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.2267, allocations: 0 / 0.9823 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.2267, allocations: 0 / 0.9823 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/0.2268, allocations: 16.23 kB / 0.9823 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.2269, allocations: 240 / 0.9823 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002886/0.2272, allocations: 43.91 kB / 0.9823 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.477e-05/0.2272, allocations: 3.938 kB / 0.9823 GB, free: 23.91 MB / 0.6198 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.127e-05/0.2273, allocations: 121.8 kB / 0.9824 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.909e-05/0.2273, allocations: 11.86 kB / 0.9825 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.489e-05/0.2274, allocations: 12.31 kB / 0.9825 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.2274, allocations: 4 kB / 0.9825 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.2274, allocations: 0 / 0.9825 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.2274, allocations: 4 kB / 0.9825 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002077/0.2276, allocations: 201.5 kB / 0.9827 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.2276, allocations: 0 / 0.9827 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.2278, allocations: 11.98 kB / 0.9827 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.2278, allocations: 3.953 kB / 0.9827 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.2278, allocations: 0 / 0.9827 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.2278, allocations: 7.984 kB / 0.9827 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.2278, allocations: 0 / 0.9827 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003321/0.2282, allocations: 195.4 kB / 0.9829 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.522e-05/0.2282, allocations: 88.95 kB / 0.983 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.183e-05/0.2283, allocations: 3.953 kB / 0.983 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003223/0.2286, allocations: 35.95 kB / 0.983 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.38e-05/0.2287, allocations: 11.98 kB / 0.983 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.2287, allocations: 7.984 kB / 0.983 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.409e-05/0.2288, allocations: 112.1 kB / 0.9831 GB, free: 23 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2288, allocations: 0 / 0.9831 GB, free: 23 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003171/0.2291, allocations: 16 kB / 0.9831 GB, free: 22.98 MB / 0.6198 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.0001121/0.2293, allocations: 103.2 kB / 0.9832 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003405/0.2296, allocations: 67.97 kB / 0.9833 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2296, allocations: 3.938 kB / 0.9833 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001581/0.2298, allocations: 39.98 kB / 0.9833 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002804/0.2301, allocations: 8 kB / 0.9834 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005709/0.2307, allocations: 235 kB / 0.9836 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001531/0.2308, allocations: 0.7004 MB / 0.9843 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.165e-05/0.2309, allocations: 15.97 kB / 0.9843 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.26e-05/0.231, allocations: 11.44 kB / 0.9843 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of SimCode: time 7.91e-07/0.231, allocations: 0 / 0.9843 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of Templates: time 0.00446/0.2355, allocations: 1.071 MB / 0.9853 GB, free: 20.69 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile (rm -f Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1)