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.0007813/0.0007815, allocations: 90.44 kB / 15.36 MB, free: 0.7383 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.005192/0.005192, allocations: 171.9 kB / 16.26 MB, free: 6.676 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.366/1.366, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.757/2.757, allocations: 473.4 MB / 0.7469 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000364/0.0003641, allocations: 9.469 kB / 0.9158 GB, free: 33.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2988/0.2992, allocations: 162.2 MB / 1.074 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.001181/0.3004, allocations: 0.6254 MB / 1.075 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001007/0.3014, allocations: 0.8858 MB / 1.076 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.106e-05/0.3015, allocations: 0 / 1.076 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.343e-05/0.3015, allocations: 7.922 kB / 1.076 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.768e-05/0.3016, allocations: 15.86 kB / 1.076 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001645/0.3018, allocations: 35.97 kB / 1.076 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001243/0.3019, allocations: 123.6 kB / 1.076 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001446/0.3021, allocations: 53.27 kB / 1.076 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.3022, allocations: 39.8 kB / 1.076 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.462e-05/0.3023, allocations: 43.75 kB / 1.076 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.028e-05/0.3023, allocations: 4 kB / 1.076 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.386e-05/0.3023, allocations: 4 kB / 1.076 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.42e-05/0.3024, allocations: 19.92 kB / 1.076 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.079e-05/0.3024, allocations: 73.38 kB / 1.076 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001592/0.3026, allocations: 131.8 kB / 1.076 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.3026, allocations: 4 kB / 1.076 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.605e-06/0.3026, allocations: 0 / 1.076 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.3026, allocations: 3.938 kB / 1.076 GB, free: 5.434 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.0005483/0.3032, allocations: 416.3 kB / 1.077 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.3032, allocations: 12.03 kB / 1.077 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.387e-05/0.3033, allocations: 16.69 kB / 1.077 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002715/0.3036, allocations: 221.4 kB / 1.077 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.3036, allocations: 4.375 kB / 1.077 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.099e-05/0.3036, allocations: 12.12 kB / 1.077 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000233/0.3038, allocations: 109.6 kB / 1.077 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.3039, allocations: 7.938 kB / 1.077 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.3039, allocations: 0 / 1.077 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.3039, allocations: 4 kB / 1.077 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001982/0.3041, allocations: 75.95 kB / 1.077 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005594/0.3047, allocations: 416.2 kB / 1.077 GB, free: 4.027 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002511/0.3049, allocations: 82.67 kB / 1.077 GB, free: 3.938 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.305, allocations: 48.98 kB / 1.078 GB, free: 3.887 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.581e-05/0.3051, allocations: 3.984 kB / 1.078 GB, free: 3.883 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.3051, allocations: 38.44 kB / 1.078 GB, free: 3.836 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.3051, allocations: 4 kB / 1.078 GB, free: 3.832 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0003886/0.3055, allocations: 137.5 kB / 1.078 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.189e-05/0.3055, allocations: 51.41 kB / 1.078 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.3057, allocations: 155.6 kB / 1.078 GB, free: 3.469 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.452e-05/0.3057, allocations: 33.7 kB / 1.078 GB, free: 3.43 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.161e-05/0.3058, allocations: 108.3 kB / 1.078 GB, free: 3.32 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.449e-05/0.3058, allocations: 23.66 kB / 1.078 GB, free: 3.297 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.054e-05/0.3058, allocations: 21.64 kB / 1.078 GB, free: 3.27 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.3059, allocations: 322.8 kB / 1.078 GB, free: 2.945 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.306, allocations: 35.98 kB / 1.078 GB, free: 2.91 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001115/0.3062, allocations: 62.48 kB / 1.078 GB, free: 2.84 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001627/0.3063, allocations: 60.84 kB / 1.079 GB, free: 2.777 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.3064, allocations: 3.984 kB / 1.079 GB, free: 2.773 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002381/0.3066, allocations: 117.5 kB / 1.079 GB, free: 2.652 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.3066, allocations: 9.812 kB / 1.079 GB, free: 2.645 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.3066, allocations: 0 / 1.079 GB, free: 2.645 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.3066, allocations: 4 kB / 1.079 GB, free: 2.641 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.336e-05/0.3067, allocations: 11.98 kB / 1.079 GB, free: 2.629 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.3067, allocations: 0 / 1.079 GB, free: 2.629 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.401e-05/0.3068, allocations: 23.83 kB / 1.079 GB, free: 2.605 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.3069, allocations: 4 kB / 1.079 GB, free: 2.602 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.485e-05/0.307, allocations: 129.2 kB / 1.079 GB, free: 2.469 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.252e-05/0.307, allocations: 11.84 kB / 1.079 GB, free: 2.457 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.879e-05/0.307, allocations: 16.7 kB / 1.079 GB, free: 2.438 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.3071, allocations: 4 kB / 1.079 GB, free: 2.434 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.3071, allocations: 0 / 1.079 GB, free: 2.434 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.3071, allocations: 4 kB / 1.079 GB, free: 2.43 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002023/0.3073, allocations: 209.8 kB / 1.079 GB, free: 2.176 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3073, allocations: 4 kB / 1.079 GB, free: 2.172 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.876e-05/0.3074, allocations: 11.98 kB / 1.079 GB, free: 2.16 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.3074, allocations: 7.875 kB / 1.079 GB, free: 2.152 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.3074, allocations: 0 / 1.079 GB, free: 2.152 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.3074, allocations: 7.984 kB / 1.079 GB, free: 2.145 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.3074, allocations: 0 / 1.079 GB, free: 2.145 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002574/0.3077, allocations: 203.4 kB / 1.079 GB, free: 1.93 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.275e-05/0.3077, allocations: 92.86 kB / 1.079 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.598e-05/0.3078, allocations: 4 kB / 1.079 GB, free: 1.816 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001248/0.3079, allocations: 7.984 kB / 1.079 GB, free: 1.809 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.875e-05/0.308, allocations: 23.97 kB / 1.079 GB, free: 1.785 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.621e-06/0.308, allocations: 0 / 1.079 GB, free: 1.785 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.383e-05/0.3081, allocations: 121.4 kB / 1.08 GB, free: 1.668 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3081, allocations: 0 / 1.08 GB, free: 1.668 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002359/0.3083, allocations: 12 kB / 1.08 GB, free: 1.656 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.0001136/0.3084, allocations: 107.2 kB / 1.08 GB, free: 1.543 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002505/0.3087, allocations: 87.88 kB / 1.08 GB, free: 1.457 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3087, allocations: 0 / 1.08 GB, free: 1.457 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.3088, allocations: 39.98 kB / 1.08 GB, free: 1.418 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002965/0.3091, allocations: 13.83 kB / 1.08 GB, free: 1.406 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004749/0.3096, allocations: 271.1 kB / 1.08 GB, free: 1.109 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002627/0.3099, allocations: 0.7082 MB / 1.081 GB, free: 384 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.145e-05/0.3099, allocations: 12.64 kB / 1.081 GB, free: 372 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.051e-05/0.31, allocations: 11.44 kB / 1.081 GB, free: 360 kB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.31, allocations: 0 / 1.081 GB, free: 360 kB / 0.8262 GB Notification: Performance of Templates: time 0.003377/0.3134, allocations: 0.9729 MB / 1.082 GB, free: 15.38 MB / 0.8419 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)