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/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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001618/0.001618, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.002401/0.002401, allocations: 177.3 kB / 15.94 MB, free: 228 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.5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.63/1.63, allocations: 251.9 MB / 0.51 GB, free: 4.883 MB / 414.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.0006302/0.0006306, allocations: 16 kB / 0.6241 GB, free: 1.164 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.721/0.7217, allocations: 106.3 MB / 0.728 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.003132/0.7249, allocations: 1.218 MB / 0.7292 GB, free: 10.19 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0009356/0.7258, allocations: 232.2 kB / 0.7294 GB, free: 9.957 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.586e-05/0.726, allocations: 0 / 0.7294 GB, free: 9.957 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.657e-05/0.7261, allocations: 3.938 kB / 0.7294 GB, free: 9.953 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001588/0.7262, allocations: 15.91 kB / 0.7294 GB, free: 9.938 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002785/0.7265, allocations: 19.97 kB / 0.7294 GB, free: 9.918 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001694/0.7267, allocations: 47.94 kB / 0.7295 GB, free: 9.871 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001985/0.7269, allocations: 27.84 kB / 0.7295 GB, free: 9.844 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001303/0.7271, allocations: 27.86 kB / 0.7295 GB, free: 9.816 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001224/0.7272, allocations: 31.84 kB / 0.7296 GB, free: 9.785 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.374e-05/0.7273, allocations: 0 / 0.7296 GB, free: 9.785 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 2.192e-05/0.7273, allocations: 4 kB / 0.7296 GB, free: 9.781 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.423e-05/0.7273, allocations: 15.97 kB / 0.7296 GB, free: 9.766 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.314e-05/0.7274, allocations: 37.64 kB / 0.7296 GB, free: 9.723 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001464/0.7276, allocations: 61.81 kB / 0.7297 GB, free: 9.664 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.7276, allocations: 8 kB / 0.7297 GB, free: 9.656 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.595e-06/0.7276, allocations: 0 / 0.7297 GB, free: 9.656 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.7276, allocations: 0 / 0.7297 GB, free: 9.656 MB / 0.545 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.0009278/0.7286, allocations: 398.1 kB / 0.7301 GB, free: 9.223 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/0.7286, allocations: 12.03 kB / 0.7301 GB, free: 9.211 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.348e-05/0.7287, allocations: 11.91 kB / 0.7301 GB, free: 9.199 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002164/0.7289, allocations: 178.9 kB / 0.7303 GB, free: 8.984 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.29e-05/0.729, allocations: 7.938 kB / 0.7303 GB, free: 8.977 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.654e-05/0.729, allocations: 8 kB / 0.7303 GB, free: 8.969 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003571/0.7294, allocations: 93.64 kB / 0.7304 GB, free: 8.871 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.7294, allocations: 0 / 0.7304 GB, free: 8.871 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.162e-05/0.7295, allocations: 8 kB / 0.7304 GB, free: 8.863 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.7295, allocations: 3.984 kB / 0.7304 GB, free: 8.859 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004023/0.7299, allocations: 67.95 kB / 0.7304 GB, free: 8.793 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008856/0.7308, allocations: 356.5 kB / 0.7308 GB, free: 8.395 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002973/0.7311, allocations: 58.55 kB / 0.7308 GB, free: 8.328 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.267e-05/0.7311, allocations: 4 kB / 0.7308 GB, free: 8.324 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003701/0.7315, allocations: 91.39 kB / 0.7309 GB, free: 8.223 MB / 0.545 GB Notification: Performance of pre-optimization done (n=6): time 2.325e-06/0.7315, allocations: 3.938 kB / 0.7309 GB, free: 8.219 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.0007584/0.7323, allocations: 133.7 kB / 0.7311 GB, free: 8.082 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.501e-05/0.7324, allocations: 55.41 kB / 0.7311 GB, free: 8.016 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001744/0.7326, allocations: 113.8 kB / 0.7312 GB, free: 7.895 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.447e-05/0.7327, allocations: 33.7 kB / 0.7312 GB, free: 7.855 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.7328, allocations: 96.03 kB / 0.7313 GB, free: 7.758 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.258e-05/0.7328, allocations: 19.75 kB / 0.7314 GB, free: 7.738 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.155e-06/0.7329, allocations: 0 / 0.7314 GB, free: 7.738 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001832/0.7331, allocations: 322.8 kB / 0.7317 GB, free: 7.414 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002093/0.7333, allocations: 35.97 kB / 0.7317 GB, free: 7.379 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002391/0.7335, allocations: 62.48 kB / 0.7318 GB, free: 7.309 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001816/0.7337, allocations: 23.98 kB / 0.7318 GB, free: 7.285 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.244e-06/0.7338, allocations: 4 kB / 0.7318 GB, free: 7.281 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004336/0.7342, allocations: 117.6 kB / 0.7319 GB, free: 7.16 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/0.7342, allocations: 4 kB / 0.7319 GB, free: 7.156 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/0.7343, allocations: 11.95 kB / 0.7319 GB, free: 7.145 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.7343, allocations: 0 / 0.7319 GB, free: 7.145 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001378/0.7344, allocations: 8 kB / 0.7319 GB, free: 7.137 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/0.7345, allocations: 8.156 kB / 0.7319 GB, free: 7.129 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001935/0.7347, allocations: 28.02 kB / 0.732 GB, free: 7.102 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.7347, allocations: 0 / 0.732 GB, free: 7.102 MB / 0.545 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 0.0001618/0.7349, allocations: 121.8 kB / 0.7321 GB, free: 6.973 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.239e-05/0.7349, allocations: 3.906 kB / 0.7321 GB, free: 6.969 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.493e-05/0.735, allocations: 16.36 kB / 0.7321 GB, free: 6.953 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.253e-06/0.735, allocations: 3.953 kB / 0.7321 GB, free: 6.949 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/0.735, allocations: 4 kB / 0.7321 GB, free: 6.945 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.735, allocations: 0 / 0.7321 GB, free: 6.945 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002787/0.7353, allocations: 185.6 kB / 0.7323 GB, free: 6.715 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.7353, allocations: 0 / 0.7323 GB, free: 6.715 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.7355, allocations: 11.94 kB / 0.7323 GB, free: 6.703 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.7355, allocations: 0 / 0.7323 GB, free: 6.703 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.957e-05/0.7355, allocations: 7.984 kB / 0.7323 GB, free: 6.695 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.895e-06/0.7355, allocations: 7.984 kB / 0.7323 GB, free: 6.688 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.7355, allocations: 3.953 kB / 0.7323 GB, free: 6.684 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004279/0.736, allocations: 125 kB / 0.7324 GB, free: 6.543 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.465e-05/0.7361, allocations: 77.11 kB / 0.7325 GB, free: 6.449 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.801e-05/0.7361, allocations: 7.984 kB / 0.7325 GB, free: 6.441 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001598/0.7363, allocations: 23.98 kB / 0.7325 GB, free: 6.418 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.528e-05/0.7364, allocations: 15.92 kB / 0.7325 GB, free: 6.402 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/0.7364, allocations: 8 kB / 0.7325 GB, free: 6.395 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.067e-05/0.7365, allocations: 95.64 kB / 0.7326 GB, free: 6.301 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7365, allocations: 0 / 0.7326 GB, free: 6.301 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003768/0.7369, allocations: 23.78 kB / 0.7327 GB, free: 6.277 MB / 0.545 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.0002011/0.7371, allocations: 111.2 kB / 0.7328 GB, free: 6.16 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004859/0.7376, allocations: 71.95 kB / 0.7328 GB, free: 6.09 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.7377, allocations: 0 / 0.7328 GB, free: 6.09 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002556/0.7379, allocations: 51.95 kB / 0.7329 GB, free: 6.039 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002552/0.7382, allocations: 6.625 kB / 0.7329 GB, free: 6.035 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006095/0.7388, allocations: 204.8 kB / 0.7331 GB, free: 5.812 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004179/0.7393, allocations: 0.6926 MB / 0.7338 GB, free: 5.094 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.455e-05/0.7394, allocations: 11.92 kB / 0.7338 GB, free: 5.078 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.545e-05/0.7394, allocations: 11.44 kB / 0.7338 GB, free: 5.066 MB / 0.545 GB Notification: Performance of SimCode: time 3.61e-07/0.7394, allocations: 0 / 0.7338 GB, free: 5.066 MB / 0.545 GB Notification: Performance of Templates: time 0.005663/0.7451, allocations: 0.8662 MB / 0.7346 GB, free: 4.211 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: