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.0008217/0.0008216, allocations: 91.14 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.007973/0.007973, allocations: 172.2 kB / 16.26 MB, free: 6.613 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.438/1.438, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.739/2.739, allocations: 473.4 MB / 0.7469 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003719/0.0003719, allocations: 9.031 kB / 0.9158 GB, free: 33.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2908/0.2912, allocations: 162.2 MB / 1.074 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.001133/0.2924, allocations: 0.6331 MB / 1.075 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001014/0.2934, allocations: 0.8858 MB / 1.076 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.356e-05/0.2935, allocations: 4 kB / 1.076 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.418e-05/0.2935, allocations: 7.922 kB / 1.076 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.338e-05/0.2936, allocations: 7.875 kB / 1.076 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001695/0.2938, allocations: 43.95 kB / 1.076 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001439/0.294, allocations: 115.6 kB / 1.076 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000151/0.2941, allocations: 57.28 kB / 1.076 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001095/0.2942, allocations: 43.78 kB / 1.076 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.036e-05/0.2943, allocations: 39.77 kB / 1.076 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.334e-05/0.2944, allocations: 4 kB / 1.076 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.558e-05/0.2944, allocations: 4 kB / 1.076 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.511e-05/0.2944, allocations: 19.92 kB / 1.076 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.229e-05/0.2945, allocations: 73.36 kB / 1.076 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001467/0.2946, allocations: 135.8 kB / 1.076 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.2946, allocations: 0 / 1.076 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.627e-06/0.2946, allocations: 0 / 1.076 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.2947, allocations: 3.938 kB / 1.076 GB, free: 5.492 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.0005717/0.2952, allocations: 419.1 kB / 1.077 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.2953, allocations: 12.03 kB / 1.077 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.332e-05/0.2953, allocations: 16.69 kB / 1.077 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002799/0.2956, allocations: 213.6 kB / 1.077 GB, free: 4.762 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.295e-05/0.2956, allocations: 8.375 kB / 1.077 GB, free: 4.754 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.076e-05/0.2957, allocations: 12.12 kB / 1.077 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002241/0.2959, allocations: 111.4 kB / 1.077 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.2959, allocations: 3.938 kB / 1.077 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.2959, allocations: 0 / 1.077 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.2959, allocations: 0 / 1.077 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001989/0.2962, allocations: 79.95 kB / 1.077 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005804/0.2967, allocations: 412.2 kB / 1.077 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002627/0.297, allocations: 90.67 kB / 1.077 GB, free: 3.996 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.2971, allocations: 44.83 kB / 1.078 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.302e-05/0.2971, allocations: 0 / 1.078 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.2972, allocations: 38.44 kB / 1.078 GB, free: 3.902 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 8.92e-07/0.2972, allocations: 0 / 1.078 GB, free: 3.902 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0003723/0.2976, allocations: 133.5 kB / 1.078 GB, free: 3.766 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.189e-05/0.2976, allocations: 55.41 kB / 1.078 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.2977, allocations: 157.3 kB / 1.078 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/0.2978, allocations: 29.7 kB / 1.078 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.169e-05/0.2978, allocations: 116.4 kB / 1.078 GB, free: 3.387 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.042e-05/0.2979, allocations: 27.59 kB / 1.078 GB, free: 3.359 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.99e-05/0.2979, allocations: 17.7 kB / 1.078 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.298, allocations: 322.8 kB / 1.078 GB, free: 3.012 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.3e-05/0.2981, allocations: 31.98 kB / 1.078 GB, free: 2.98 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/0.2982, allocations: 66.48 kB / 1.078 GB, free: 2.906 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001632/0.2984, allocations: 60.84 kB / 1.079 GB, free: 2.844 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.2984, allocations: 0 / 1.079 GB, free: 2.844 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002292/0.2986, allocations: 121.5 kB / 1.079 GB, free: 2.719 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.2987, allocations: 7.938 kB / 1.079 GB, free: 2.711 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.2987, allocations: 0 / 1.079 GB, free: 2.711 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.2987, allocations: 0 / 1.079 GB, free: 2.711 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.428e-05/0.2988, allocations: 15.98 kB / 1.079 GB, free: 2.695 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.2988, allocations: 0 / 1.079 GB, free: 2.695 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.944e-05/0.2989, allocations: 19.83 kB / 1.079 GB, free: 2.676 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.2989, allocations: 8 kB / 1.079 GB, free: 2.668 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.332e-05/0.299, allocations: 121.8 kB / 1.079 GB, free: 2.539 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.313e-05/0.299, allocations: 15.83 kB / 1.079 GB, free: 2.523 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.192e-05/0.2991, allocations: 20.7 kB / 1.079 GB, free: 2.5 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.2991, allocations: 0 / 1.079 GB, free: 2.5 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.2991, allocations: 4 kB / 1.079 GB, free: 2.496 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.2991, allocations: 288 / 1.079 GB, free: 2.496 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002091/0.2993, allocations: 205.5 kB / 1.079 GB, free: 2.246 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.2993, allocations: 0 / 1.079 GB, free: 2.246 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.002e-05/0.2994, allocations: 23.92 kB / 1.079 GB, free: 2.223 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.2994, allocations: 7.938 kB / 1.079 GB, free: 2.215 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.2995, allocations: 4 kB / 1.079 GB, free: 2.211 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.2995, allocations: 3.984 kB / 1.079 GB, free: 2.207 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.2995, allocations: 4 kB / 1.079 GB, free: 2.203 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000265/0.2997, allocations: 203.3 kB / 1.079 GB, free: 1.988 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.311e-05/0.2998, allocations: 92.86 kB / 1.079 GB, free: 1.879 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.287e-05/0.2998, allocations: 4 kB / 1.079 GB, free: 1.875 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.2999, allocations: 11.98 kB / 1.079 GB, free: 1.863 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.895e-05/0.3, allocations: 15.97 kB / 1.079 GB, free: 1.848 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.541e-06/0.3, allocations: 0 / 1.079 GB, free: 1.848 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.866e-05/0.3001, allocations: 124.1 kB / 1.08 GB, free: 1.727 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3001, allocations: 0 / 1.08 GB, free: 1.727 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002379/0.3004, allocations: 16 kB / 1.08 GB, free: 1.711 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.000107/0.3005, allocations: 99.25 kB / 1.08 GB, free: 1.605 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002571/0.3007, allocations: 79.89 kB / 1.08 GB, free: 1.527 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3007, allocations: 4 kB / 1.08 GB, free: 1.523 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.983e-05/0.3008, allocations: 35.98 kB / 1.08 GB, free: 1.488 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002897/0.3012, allocations: 8 kB / 1.08 GB, free: 1.48 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004438/0.3016, allocations: 271.1 kB / 1.08 GB, free: 1.184 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002719/0.3019, allocations: 0.7043 MB / 1.081 GB, free: 464 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.251e-05/0.302, allocations: 16.66 kB / 1.081 GB, free: 448 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.972e-05/0.302, allocations: 11.44 kB / 1.081 GB, free: 436 kB / 0.8262 GB Notification: Performance of SimCode: time 3.41e-07/0.302, allocations: 0 / 1.081 GB, free: 436 kB / 0.8262 GB Notification: Performance of Templates: time 0.003225/0.3052, allocations: 0.9816 MB / 1.082 GB, free: 15.45 MB / 0.8419 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)