Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_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.0008526/0.0008527, allocations: 91.38 kB / 15.06 MB, free: 1.094 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.000828/0.0008282, allocations: 172.7 kB / 15.95 MB, free: 204 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.64/1.64, allocations: 205.4 MB / 222.1 MB, free: 5.895 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.906/1.906, allocations: 292.7 MB / 0.5499 GB, free: 14.57 MB / 462.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.0005501/0.0005503, allocations: 21.47 kB / 0.6737 GB, free: 26.46 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.259/0.2595, allocations: 116.3 MB / 0.7873 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.001212/0.2608, allocations: 0.5879 MB / 0.7879 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001262/0.2621, allocations: 0.8633 MB / 0.7887 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.293e-05/0.2622, allocations: 0 / 0.7887 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.945e-05/0.2622, allocations: 3.938 kB / 0.7887 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001152/0.2624, allocations: 19.86 kB / 0.7887 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001897/0.2626, allocations: 27.97 kB / 0.7888 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001531/0.2627, allocations: 91.7 kB / 0.7888 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001522/0.2629, allocations: 41.2 kB / 0.7889 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001172/0.263, allocations: 27.86 kB / 0.7889 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.2631, allocations: 43.77 kB / 0.7889 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.123e-05/0.2631, allocations: 4 kB / 0.7889 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.599e-05/0.2632, allocations: 8 kB / 0.789 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.172e-05/0.2632, allocations: 15.92 kB / 0.789 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.153e-05/0.2632, allocations: 33.7 kB / 0.789 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001305/0.2634, allocations: 99.98 kB / 0.7891 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.2634, allocations: 0 / 0.7891 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.854e-06/0.2634, allocations: 3.938 kB / 0.7891 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.523e-06/0.2634, allocations: 0 / 0.7891 GB, free: 10.05 MB / 0.6075 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.0007972/0.2642, allocations: 458.9 kB / 0.7895 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.2642, allocations: 8.031 kB / 0.7895 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.673e-05/0.2643, allocations: 7.906 kB / 0.7896 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.2645, allocations: 182.9 kB / 0.7897 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.2645, allocations: 8 kB / 0.7897 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.911e-05/0.2645, allocations: 4 kB / 0.7897 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002303/0.2647, allocations: 104.4 kB / 0.7898 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.2648, allocations: 0 / 0.7898 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.2648, allocations: 3.938 kB / 0.7898 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.728e-06/0.2648, allocations: 4 kB / 0.7898 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001802/0.265, allocations: 67.97 kB / 0.7899 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006997/0.2657, allocations: 424.5 kB / 0.7903 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001542/0.2659, allocations: 66.55 kB / 0.7904 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.293e-05/0.2659, allocations: 44.92 kB / 0.7904 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.266, allocations: 0 / 0.7904 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.266, allocations: 34.56 kB / 0.7905 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.266, allocations: 0 / 0.7905 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0003634/0.2664, allocations: 129.5 kB / 0.7906 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/0.2664, allocations: 55.39 kB / 0.7906 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.2666, allocations: 150.4 kB / 0.7908 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.2666, allocations: 29.7 kB / 0.7908 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.345e-05/0.2667, allocations: 104 kB / 0.7909 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.687e-05/0.2667, allocations: 15.8 kB / 0.7909 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.022e-06/0.2667, allocations: 3.938 kB / 0.7909 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.2668, allocations: 322.8 kB / 0.7912 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.924e-05/0.2669, allocations: 35.97 kB / 0.7913 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.661e-05/0.267, allocations: 31.98 kB / 0.7913 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.594e-05/0.2671, allocations: 27.98 kB / 0.7913 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2671, allocations: 0 / 0.7913 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002149/0.2673, allocations: 109.5 kB / 0.7914 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.2673, allocations: 4 kB / 0.7914 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.2673, allocations: 0 / 0.7914 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.2674, allocations: 0 / 0.7914 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.658e-05/0.2675, allocations: 15.98 kB / 0.7914 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.2675, allocations: 0 / 0.7914 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001533/0.2676, allocations: 35.91 kB / 0.7915 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.839e-06/0.2677, allocations: 0 / 0.7915 GB, free: 7.391 MB / 0.6075 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.896e-05/0.2678, allocations: 125.5 kB / 0.7916 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.396e-05/0.2678, allocations: 23.75 kB / 0.7916 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.203e-05/0.2679, allocations: 8.312 kB / 0.7916 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.2679, allocations: 0 / 0.7916 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.2679, allocations: 256 / 0.7916 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.2679, allocations: 4 kB / 0.7916 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000199/0.2681, allocations: 205.6 kB / 0.7918 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.2681, allocations: 0 / 0.7918 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.184e-05/0.2682, allocations: 19.92 kB / 0.7919 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.616e-06/0.2682, allocations: 0 / 0.7919 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.2682, allocations: 3.953 kB / 0.7919 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.2682, allocations: 4 kB / 0.7919 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2682, allocations: 0 / 0.7919 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002341/0.2685, allocations: 191.4 kB / 0.792 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.187e-05/0.2685, allocations: 85.02 kB / 0.7921 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.275e-05/0.2685, allocations: 0 / 0.7921 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/0.2687, allocations: 35.92 kB / 0.7922 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.417e-05/0.2688, allocations: 19.97 kB / 0.7922 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.451e-06/0.2688, allocations: 0 / 0.7922 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.767e-05/0.2689, allocations: 117.7 kB / 0.7923 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2689, allocations: 0 / 0.7923 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002319/0.2691, allocations: 12 kB / 0.7923 GB, free: 6.457 MB / 0.6075 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.0001184/0.2693, allocations: 107.1 kB / 0.7924 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00022/0.2695, allocations: 75.95 kB / 0.7925 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.2695, allocations: 3.938 kB / 0.7925 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.942e-05/0.2696, allocations: 35.98 kB / 0.7925 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002954/0.2699, allocations: 10.92 kB / 0.7925 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004314/0.2703, allocations: 239 kB / 0.7928 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002432/0.2706, allocations: 0.7004 MB / 0.7934 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.588e-05/0.2707, allocations: 4 kB / 0.7934 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.22e-05/0.2707, allocations: 11.44 kB / 0.7934 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of SimCode: time 6.41e-07/0.2707, allocations: 0 / 0.7934 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of Templates: time 0.003343/0.2741, allocations: 1.073 MB / 0.7945 GB, free: 4.164 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) Environment - environmentSimulation: