Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_3.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_3.0.0_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.001393/0.001393, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001485/0.001485, allocations: 192.2 kB / 16.13 MB, free: 6.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 222.9 MB / 239.8 MB, free: 4.645 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.72/2.72, allocations: 472.6 MB / 0.7447 GB, free: 4.902 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 60.12 kB / 0.9114 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2764/0.2776, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002175/0.2798, allocations: 0.9837 MB / 1.068 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009934/0.2809, allocations: 0.8896 MB / 1.069 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.435e-05/0.2809, allocations: 4 kB / 1.069 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.416e-05/0.281, allocations: 7.922 kB / 1.069 GB, free: 8.977 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.697e-05/0.2811, allocations: 11.86 kB / 1.069 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001686/0.2813, allocations: 39.97 kB / 1.069 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001304/0.2814, allocations: 111.7 kB / 1.07 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.2816, allocations: 65.25 kB / 1.07 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001079/0.2817, allocations: 47.73 kB / 1.07 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.652e-05/0.2818, allocations: 51.75 kB / 1.07 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.276e-05/0.2818, allocations: 8 kB / 1.07 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.679e-05/0.2818, allocations: 4 kB / 1.07 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.988e-05/0.2818, allocations: 23.91 kB / 1.07 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.15e-05/0.2819, allocations: 51.67 kB / 1.07 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000145/0.2821, allocations: 139.8 kB / 1.07 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.2821, allocations: 7.938 kB / 1.07 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.51e-07/0.2821, allocations: 0 / 1.07 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.2821, allocations: 0 / 1.07 GB, free: 8.418 MB / 0.8262 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.0005843/0.2827, allocations: 427 kB / 1.07 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.2827, allocations: 8.031 kB / 1.07 GB, free: 7.945 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.606e-05/0.2828, allocations: 16.75 kB / 1.07 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002639/0.283, allocations: 226.3 kB / 1.071 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.2831, allocations: 4.375 kB / 1.071 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.899e-05/0.2831, allocations: 16.12 kB / 1.071 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002167/0.2833, allocations: 97.64 kB / 1.071 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.124e-06/0.2833, allocations: 0 / 1.071 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.2834, allocations: 4 kB / 1.071 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.2834, allocations: 0 / 1.071 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001893/0.2836, allocations: 85.55 kB / 1.071 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005789/0.2841, allocations: 404.3 kB / 1.071 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002654/0.2844, allocations: 82.67 kB / 1.071 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.2845, allocations: 44.83 kB / 1.071 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.2846, allocations: 0 / 1.071 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/0.2846, allocations: 34.5 kB / 1.071 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 8.61e-07/0.2846, allocations: 0 / 1.071 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0003631/0.285, allocations: 133.5 kB / 1.071 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/0.285, allocations: 55.41 kB / 1.071 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.2851, allocations: 155.6 kB / 1.072 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/0.2852, allocations: 33.7 kB / 1.072 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.7e-05/0.2852, allocations: 104.3 kB / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.47e-05/0.2853, allocations: 23.66 kB / 1.072 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.008e-05/0.2853, allocations: 25.7 kB / 1.072 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.2854, allocations: 322.8 kB / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.723e-05/0.2855, allocations: 35.98 kB / 1.072 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.2856, allocations: 54.48 kB / 1.072 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001483/0.2858, allocations: 56.83 kB / 1.072 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2858, allocations: 0 / 1.072 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002263/0.2861, allocations: 105.5 kB / 1.072 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.2861, allocations: 12.22 kB / 1.072 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.2861, allocations: 0 / 1.072 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.2861, allocations: 0 / 1.072 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.89e-05/0.2862, allocations: 23.86 kB / 1.072 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.2862, allocations: 320 / 1.072 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.2863, allocations: 11.98 kB / 1.072 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.2863, allocations: 0 / 1.072 GB, free: 5.641 MB / 0.8262 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 0.0001016/0.2864, allocations: 125.8 kB / 1.072 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.802e-05/0.2865, allocations: 15.75 kB / 1.073 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.946e-05/0.2865, allocations: 24.64 kB / 1.073 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.2865, allocations: 0 / 1.073 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.2865, allocations: 0 / 1.073 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.2866, allocations: 0 / 1.073 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002652/0.2868, allocations: 213.5 kB / 1.073 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.2868, allocations: 0 / 1.073 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.243e-05/0.2869, allocations: 11.98 kB / 1.073 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.952e-06/0.2869, allocations: 11.94 kB / 1.073 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.287, allocations: 3.984 kB / 1.073 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.287, allocations: 7.984 kB / 1.073 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.287, allocations: 0 / 1.073 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00025/0.2872, allocations: 187.4 kB / 1.073 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.163e-05/0.2873, allocations: 88.86 kB / 1.073 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.679e-05/0.2873, allocations: 8 kB / 1.073 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.2874, allocations: 11.98 kB / 1.073 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.805e-05/0.2875, allocations: 23.91 kB / 1.073 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.395e-05/0.2875, allocations: 3.984 kB / 1.073 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.991e-05/0.2876, allocations: 117.4 kB / 1.073 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.2e-07/0.2876, allocations: 0 / 1.073 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002634/0.2879, allocations: 16 kB / 1.073 GB, free: 4.691 MB / 0.8262 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 0.0001185/0.288, allocations: 103.2 kB / 1.073 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002709/0.2883, allocations: 71.95 kB / 1.073 GB, free: 4.512 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2883, allocations: 0 / 1.073 GB, free: 4.512 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001051/0.2884, allocations: 39.92 kB / 1.073 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003255/0.2888, allocations: 7.984 kB / 1.073 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004828/0.2893, allocations: 257.4 kB / 1.074 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002556/0.2895, allocations: 0.7082 MB / 1.074 GB, free: 3.449 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.056e-05/0.2896, allocations: 8.672 kB / 1.074 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.516e-05/0.2897, allocations: 15.42 kB / 1.074 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of SimCode: time 3.61e-07/0.2897, allocations: 0 / 1.074 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of Templates: time 0.003122/0.2928, allocations: 0.993 MB / 1.075 GB, free: 2.441 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile (rm -f Buildings_3.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_3.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_3.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_3.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1)