Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.00167/0.00167, 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.002416/0.002416, allocations: 193 kB / 16.13 MB, free: 6.664 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.388/1.388, allocations: 222.9 MB / 239.8 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.703/2.703, allocations: 472.6 MB / 0.7447 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 71.83 kB / 0.9114 GB, free: 33.67 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2758/0.2771, allocations: 159.9 MB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002317/0.2794, allocations: 0.9759 MB / 1.068 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001077/0.2805, allocations: 0.8897 MB / 1.069 GB, free: 9.059 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.217e-05/0.2806, allocations: 4 kB / 1.069 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.907e-05/0.2807, allocations: 11.86 kB / 1.069 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.62e-05/0.2808, allocations: 7.938 kB / 1.069 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001806/0.281, allocations: 47.89 kB / 1.069 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001421/0.2811, allocations: 111.7 kB / 1.07 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001434/0.2813, allocations: 45.3 kB / 1.07 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001193/0.2814, allocations: 55.77 kB / 1.07 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.505e-05/0.2815, allocations: 55.7 kB / 1.07 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.379e-05/0.2815, allocations: 11.94 kB / 1.07 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.798e-05/0.2816, allocations: 4 kB / 1.07 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.094e-05/0.2816, allocations: 27.89 kB / 1.07 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.975e-05/0.2817, allocations: 47.67 kB / 1.07 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.00016/0.2818, allocations: 135.8 kB / 1.07 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.2819, allocations: 8 kB / 1.07 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.362e-06/0.2819, allocations: 3.938 kB / 1.07 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.2819, allocations: 0 / 1.07 GB, free: 8.484 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.0006732/0.2826, allocations: 427 kB / 1.07 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.2826, allocations: 8.031 kB / 1.07 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.22e-05/0.2827, allocations: 20.73 kB / 1.07 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003035/0.283, allocations: 214.1 kB / 1.071 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.283, allocations: 8.375 kB / 1.071 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.763e-05/0.283, allocations: 16.12 kB / 1.071 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002363/0.2833, allocations: 101.6 kB / 1.071 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.2833, allocations: 4 kB / 1.071 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.2833, allocations: 0 / 1.071 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.2833, allocations: 0 / 1.071 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002188/0.2835, allocations: 75.94 kB / 1.071 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006491/0.2842, allocations: 408.3 kB / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002913/0.2845, allocations: 86.59 kB / 1.071 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.2846, allocations: 40.84 kB / 1.071 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.325e-05/0.2847, allocations: 4 kB / 1.071 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.2847, allocations: 34.5 kB / 1.071 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.2847, allocations: 0 / 1.071 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0003897/0.2851, allocations: 129.5 kB / 1.071 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.259e-05/0.2851, allocations: 55.41 kB / 1.071 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001424/0.2853, allocations: 155.6 kB / 1.072 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.666e-05/0.2853, allocations: 29.7 kB / 1.072 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.683e-05/0.2854, allocations: 112.3 kB / 1.072 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.172e-05/0.2854, allocations: 27.64 kB / 1.072 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.515e-05/0.2855, allocations: 25.7 kB / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.2856, allocations: 318.8 kB / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/0.2857, allocations: 31.98 kB / 1.072 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001172/0.2859, allocations: 50.56 kB / 1.072 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001541/0.286, allocations: 68.92 kB / 1.072 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.286, allocations: 0 / 1.072 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002295/0.2863, allocations: 101.6 kB / 1.072 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.2863, allocations: 11.94 kB / 1.072 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.2863, allocations: 0 / 1.072 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.2863, allocations: 0 / 1.072 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.2864, allocations: 15.92 kB / 1.072 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.2864, allocations: 7.938 kB / 1.072 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.356e-05/0.2865, allocations: 15.98 kB / 1.072 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.2865, allocations: 0 / 1.072 GB, free: 5.703 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 9.341e-05/0.2866, allocations: 121.8 kB / 1.072 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.597e-05/0.2867, allocations: 15.75 kB / 1.073 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.16e-05/0.2867, allocations: 16.7 kB / 1.073 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.2867, allocations: 0 / 1.073 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.2868, allocations: 0 / 1.073 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.2868, allocations: 4 kB / 1.073 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000218/0.287, allocations: 217.5 kB / 1.073 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.287, allocations: 0 / 1.073 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.009e-05/0.2871, allocations: 11.98 kB / 1.073 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-05/0.2871, allocations: 3.938 kB / 1.073 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.2871, allocations: 3.938 kB / 1.073 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.2871, allocations: 4 kB / 1.073 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2871, allocations: 0 / 1.073 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002443/0.2874, allocations: 199.4 kB / 1.073 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.335e-05/0.2874, allocations: 92.84 kB / 1.073 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.734e-05/0.2875, allocations: 8 kB / 1.073 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.2876, allocations: 7.984 kB / 1.073 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.268e-05/0.2877, allocations: 15.97 kB / 1.073 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.124e-06/0.2877, allocations: 0 / 1.073 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.124e-05/0.2878, allocations: 117.5 kB / 1.073 GB, free: 4.785 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2878, allocations: 7.938 kB / 1.073 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002385/0.288, allocations: 20 kB / 1.073 GB, free: 4.758 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.0001208/0.2881, allocations: 107.2 kB / 1.073 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002375/0.2884, allocations: 67.95 kB / 1.073 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.2884, allocations: 0 / 1.073 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001043/0.2885, allocations: 39.92 kB / 1.073 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003427/0.2889, allocations: 14.06 kB / 1.073 GB, free: 4.527 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004984/0.2894, allocations: 255.8 kB / 1.074 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002933/0.2897, allocations: 0.7083 MB / 1.074 GB, free: 3.516 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.359e-05/0.2897, allocations: 8.656 kB / 1.074 GB, free: 3.508 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.546e-05/0.2898, allocations: 11.44 kB / 1.074 GB, free: 3.496 MB / 0.8262 GB Notification: Performance of SimCode: time 3.5e-07/0.2898, allocations: 4 kB / 1.074 GB, free: 3.492 MB / 0.8262 GB Notification: Performance of Templates: time 0.003286/0.2931, allocations: 0.986 MB / 1.075 GB, free: 2.512 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile (rm -f Buildings_1.6_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_1.6_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_1.6_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_1.6_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1)