Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.387/1.387, allocations: 252 MB / 267.6 MB, free: 10.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001168/0.001168, allocations: 182.4 kB / 327.3 MB, free: 2.215 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.092/2.092, allocations: 205.4 MB / 0.5783 GB, free: 20.22 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007901/0.0007903, allocations: 90.23 kB / 0.6829 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003914/0.0003916, allocations: 11.94 kB / 0.797 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2645/0.2649, allocations: 106.3 MB / 0.9008 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.001614/0.2666, allocations: 1.223 MB / 0.902 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004328/0.267, allocations: 240.2 kB / 0.9023 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.775e-05/0.2671, allocations: 4 kB / 0.9023 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.76e-05/0.2671, allocations: 3.938 kB / 0.9023 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.861e-05/0.2672, allocations: 7.922 kB / 0.9023 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001747/0.2674, allocations: 19.97 kB / 0.9023 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.685e-05/0.2675, allocations: 79.78 kB / 0.9024 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.2676, allocations: 31.77 kB / 0.9024 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.902e-05/0.2677, allocations: 23.92 kB / 0.9024 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.529e-05/0.2678, allocations: 31.83 kB / 0.9025 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.479e-05/0.2678, allocations: 4 kB / 0.9025 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.402e-05/0.2678, allocations: 0 / 0.9025 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.649e-05/0.2679, allocations: 11.94 kB / 0.9025 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.692e-05/0.2679, allocations: 41.64 kB / 0.9025 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.406e-05/0.268, allocations: 75.77 kB / 0.9026 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.268, allocations: 0 / 0.9026 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.964e-06/0.268, allocations: 0 / 0.9026 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.268, allocations: 0 / 0.9026 GB, free: 62.1 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005958/0.2686, allocations: 395.3 kB / 0.903 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.2687, allocations: 8.031 kB / 0.903 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.51e-05/0.2687, allocations: 11.91 kB / 0.903 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.2688, allocations: 178.9 kB / 0.9031 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.2689, allocations: 4 kB / 0.9031 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.838e-05/0.2689, allocations: 8 kB / 0.9032 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002194/0.2691, allocations: 93.66 kB / 0.9032 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.2691, allocations: 3.938 kB / 0.9032 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.2692, allocations: 3.984 kB / 0.9033 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.83e-06/0.2692, allocations: 4 kB / 0.9033 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002099/0.2694, allocations: 67.95 kB / 0.9033 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004783/0.2699, allocations: 348.6 kB / 0.9037 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001552/0.27, allocations: 66.55 kB / 0.9037 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.786e-05/0.2701, allocations: 36.95 kB / 0.9038 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.463e-05/0.2702, allocations: 0 / 0.9038 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002226/0.2704, allocations: 95.33 kB / 0.9038 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.2704, allocations: 0 / 0.9038 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.0004002/0.2708, allocations: 133.5 kB / 0.904 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.307e-05/0.2709, allocations: 55.41 kB / 0.904 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.353e-05/0.2709, allocations: 121.8 kB / 0.9041 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.271, allocations: 29.7 kB / 0.9042 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.95e-05/0.271, allocations: 96.03 kB / 0.9043 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.074e-05/0.271, allocations: 23.73 kB / 0.9043 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.889e-06/0.271, allocations: 0 / 0.9043 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.065e-05/0.2711, allocations: 318.8 kB / 0.9046 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.2712, allocations: 35.98 kB / 0.9046 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.2713, allocations: 54.55 kB / 0.9047 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.428e-05/0.2714, allocations: 35.95 kB / 0.9047 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2715, allocations: 0 / 0.9047 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002269/0.2717, allocations: 113.5 kB / 0.9048 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.2717, allocations: 10.61 kB / 0.9048 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.2717, allocations: 32 / 0.9048 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.2718, allocations: 7.984 kB / 0.9048 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.39e-05/0.2719, allocations: 16.19 kB / 0.9048 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.2719, allocations: 3.984 kB / 0.9049 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.272, allocations: 23.98 kB / 0.9049 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.272, allocations: 4 kB / 0.9049 GB, free: 59.51 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,conEquSta.onBoi,$PRE.conEquSta.hys.y,conEquSta.hys.y,onSys.y,$PRE.onSys.pulseStart,onSys.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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 6.953e-05/0.2721, allocations: 123.8 kB / 0.905 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.291e-05/0.2721, allocations: 11.84 kB / 0.905 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.343e-05/0.2721, allocations: 16.31 kB / 0.905 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.2721, allocations: 0 / 0.905 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.2722, allocations: 0 / 0.905 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.2722, allocations: 4 kB / 0.905 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001217/0.2723, allocations: 181.6 kB / 0.9052 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.2723, allocations: 4 kB / 0.9052 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.84e-05/0.2724, allocations: 8 kB / 0.9052 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.2724, allocations: 4 kB / 0.9052 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.2724, allocations: 7.984 kB / 0.9052 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.2724, allocations: 3.953 kB / 0.9052 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.2724, allocations: 240 / 0.9052 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002367/0.2727, allocations: 128.9 kB / 0.9054 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.42e-05/0.2727, allocations: 77.11 kB / 0.9054 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.173e-05/0.2727, allocations: 11.98 kB / 0.9054 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.187e-05/0.2728, allocations: 15.98 kB / 0.9055 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.217e-05/0.2729, allocations: 19.92 kB / 0.9055 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.164e-06/0.2729, allocations: 11.94 kB / 0.9055 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.887e-05/0.2729, allocations: 91.27 kB / 0.9056 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2729, allocations: 0 / 0.9056 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001739/0.2731, allocations: 19.84 kB / 0.9056 GB, free: 58.69 MB / 0.6042 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,conEquSta.onBoi,conEquSta.hys.y,onSys.y,onSys.pulseStart) * 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.0001104/0.2732, allocations: 103.2 kB / 0.9057 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002624/0.2735, allocations: 87.86 kB / 0.9058 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2735, allocations: 0 / 0.9058 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001133/0.2736, allocations: 43.97 kB / 0.9058 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002055/0.2739, allocations: 8 kB / 0.9058 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000355/0.2742, allocations: 227 kB / 0.906 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001362/0.2744, allocations: 0.6926 MB / 0.9067 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.788e-05/0.2744, allocations: 15.44 kB / 0.9067 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of SimCode: time 6.11e-07/0.2744, allocations: 0 / 0.9067 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of Templates: time 0.002195/0.2766, allocations: 1.077 MB / 0.9078 GB, free: 56.39 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & ./Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1)