Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.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.EquipmentOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001318/0.001317, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001972/0.001972, allocations: 168.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.849/1.849, allocations: 205.4 MB / 222.1 MB, free: 5.633 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.864/1.864, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0005251/0.0005254, allocations: 17.06 kB / 0.6737 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3227, allocations: 116.3 MB / 0.7873 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.001536/0.3243, allocations: 0.5179 MB / 0.7878 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002072/0.3264, allocations: 1.133 MB / 0.7889 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.271e-05/0.3265, allocations: 0 / 0.7889 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.366e-05/0.3265, allocations: 3.938 kB / 0.7889 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000111/0.3267, allocations: 7.938 kB / 0.7889 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006477/0.3273, allocations: 127 kB / 0.789 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002179/0.3276, allocations: 119.7 kB / 0.7892 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001562/0.3277, allocations: 27.86 kB / 0.7892 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001255/0.3279, allocations: 43.89 kB / 0.7892 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001288/0.328, allocations: 43.83 kB / 0.7893 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.025e-05/0.328, allocations: 8 kB / 0.7893 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.824e-05/0.3281, allocations: 19.98 kB / 0.7893 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.689e-05/0.3282, allocations: 11.92 kB / 0.7893 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.819e-05/0.3283, allocations: 41.64 kB / 0.7893 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001879/0.3284, allocations: 104 kB / 0.7894 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.473e-06/0.3285, allocations: 0 / 0.7894 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.853e-06/0.3285, allocations: 0 / 0.7894 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.409e-06/0.3285, allocations: 0 / 0.7894 GB, free: 9.715 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0008321/0.3293, allocations: 424.8 kB / 0.7898 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.3294, allocations: 8.031 kB / 0.7899 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.73e-05/0.3295, allocations: 11.91 kB / 0.7899 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001789/0.3297, allocations: 178.9 kB / 0.79 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.384e-05/0.3297, allocations: 4 kB / 0.79 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.926e-05/0.3297, allocations: 12 kB / 0.7901 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003387/0.3301, allocations: 93.64 kB / 0.7901 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.3301, allocations: 3.938 kB / 0.7901 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.62e-05/0.3301, allocations: 0 / 0.7901 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/0.3302, allocations: 0 / 0.7901 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003075/0.3305, allocations: 67.95 kB / 0.7902 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008129/0.3313, allocations: 384.5 kB / 0.7906 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002369/0.3316, allocations: 62.55 kB / 0.7906 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001456/0.3317, allocations: 32.94 kB / 0.7907 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.78e-05/0.3317, allocations: 0 / 0.7907 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000375/0.3321, allocations: 91.36 kB / 0.7908 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.743e-06/0.3322, allocations: 0 / 0.7908 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0006313/0.3328, allocations: 153.4 kB / 0.7909 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.453e-05/0.3329, allocations: 55.34 kB / 0.791 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001592/0.333, allocations: 129.8 kB / 0.7911 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.76e-05/0.3331, allocations: 29.7 kB / 0.7911 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.3332, allocations: 96.05 kB / 0.7912 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.413e-05/0.3333, allocations: 15.78 kB / 0.7912 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.02e-05/0.3333, allocations: 4 kB / 0.7912 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000184/0.3335, allocations: 318.8 kB / 0.7915 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002432/0.3337, allocations: 59.95 kB / 0.7916 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002684/0.334, allocations: 83.34 kB / 0.7917 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000251/0.3343, allocations: 81.8 kB / 0.7917 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3343, allocations: 3.938 kB / 0.7917 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006489/0.335, allocations: 207.2 kB / 0.7919 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.721e-05/0.335, allocations: 37.7 kB / 0.792 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.3351, allocations: 0 / 0.792 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/0.3351, allocations: 7.953 kB / 0.792 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.3352, allocations: 11.98 kB / 0.792 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/0.3352, allocations: 0 / 0.792 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000354/0.3356, allocations: 59.94 kB / 0.7921 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.243e-05/0.3357, allocations: 8 kB / 0.7921 GB, free: 6.777 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,conEquSta.onBoi,$PRE.conEquSta.hys.y,conEquSta.hys.y,$PRE.onSys.y,onSys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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 0.000143/0.3358, allocations: 126.4 kB / 0.7922 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.886e-05/0.3358, allocations: 7.906 kB / 0.7922 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.298e-05/0.3359, allocations: 12.38 kB / 0.7922 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.206e-06/0.3359, allocations: 7.938 kB / 0.7922 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.3359, allocations: 320 / 0.7922 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.336, allocations: 0 / 0.7922 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002275/0.3362, allocations: 181.6 kB / 0.7924 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.3362, allocations: 4 kB / 0.7924 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.777e-05/0.3363, allocations: 15.98 kB / 0.7924 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.3363, allocations: 0 / 0.7924 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.3363, allocations: 4 kB / 0.7924 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.3364, allocations: 4 kB / 0.7924 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.3364, allocations: 3.953 kB / 0.7924 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003957/0.3368, allocations: 133 kB / 0.7925 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.392e-05/0.3369, allocations: 85.05 kB / 0.7926 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.318e-05/0.3369, allocations: 3.984 kB / 0.7926 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.337, allocations: 19.92 kB / 0.7926 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.006e-05/0.3371, allocations: 11.98 kB / 0.7927 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.644e-05/0.3371, allocations: 7.953 kB / 0.7927 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.446e-05/0.3372, allocations: 91.27 kB / 0.7927 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.91e-07/0.3372, allocations: 0 / 0.7927 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000398/0.3376, allocations: 27.91 kB / 0.7928 GB, free: 5.949 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: 5 ($whenCondition1,$whenCondition2,conEquSta.onBoi,conEquSta.hys.y,onSys.y) * Number of discrete states: 1 (conEquSta.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002148/0.3379, allocations: 111.4 kB / 0.7929 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005614/0.3384, allocations: 179.3 kB / 0.7931 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/0.3385, allocations: 4.125 kB / 0.7931 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001823/0.3386, allocations: 43.97 kB / 0.7931 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003385/0.339, allocations: 18.67 kB / 0.7931 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005472/0.3396, allocations: 197 kB / 0.7933 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003897/0.34, allocations: 0.6926 MB / 0.794 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.709e-05/0.34, allocations: 8.172 kB / 0.794 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.807e-05/0.3401, allocations: 11.44 kB / 0.794 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of SimCode: time 1.984e-06/0.3401, allocations: 0 / 0.794 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of Templates: time 0.005992/0.3461, allocations: 1.409 MB / 0.7954 GB, free: 3.234 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & ./Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) Environment - environmentSimulation: