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.001163/0.001163, allocations: 99 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.001287/0.001287, allocations: 177.3 kB / 15.95 MB, free: 216 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.762/1.762, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.653/1.653, allocations: 292.5 MB / 0.5497 GB, free: 14.63 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.0004768/0.0004769, allocations: 23.41 kB / 0.6736 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2138/0.2143, allocations: 116.3 MB / 0.7871 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.001005/0.2153, allocations: 0.518 MB / 0.7876 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001403/0.2167, allocations: 1.121 MB / 0.7887 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.658e-05/0.2168, allocations: 8 kB / 0.7887 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.878e-05/0.2168, allocations: 0 / 0.7887 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.036e-05/0.2169, allocations: 11.91 kB / 0.7887 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004323/0.2174, allocations: 118.3 kB / 0.7888 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001063/0.2175, allocations: 71.86 kB / 0.7889 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.2176, allocations: 35.95 kB / 0.789 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.47e-05/0.2177, allocations: 43.89 kB / 0.789 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.932e-05/0.2178, allocations: 39.83 kB / 0.789 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.946e-05/0.2178, allocations: 4 kB / 0.789 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.628e-05/0.2179, allocations: 15.98 kB / 0.7891 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.272e-05/0.2179, allocations: 19.91 kB / 0.7891 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.439e-05/0.2179, allocations: 41.64 kB / 0.7891 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001341/0.2181, allocations: 104 kB / 0.7892 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.2181, allocations: 0 / 0.7892 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.442e-06/0.2181, allocations: 0 / 0.7892 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.496e-06/0.2181, allocations: 0 / 0.7892 GB, free: 9.809 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.0005434/0.2187, allocations: 420.8 kB / 0.7896 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.2187, allocations: 12.03 kB / 0.7896 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.417e-05/0.2187, allocations: 7.906 kB / 0.7896 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.2189, allocations: 175 kB / 0.7898 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/0.2189, allocations: 12 kB / 0.7898 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.466e-05/0.2189, allocations: 12 kB / 0.7898 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002156/0.2191, allocations: 84.53 kB / 0.7899 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.2192, allocations: 7.875 kB / 0.7899 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.2192, allocations: 0 / 0.7899 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.281e-06/0.2192, allocations: 7.984 kB / 0.7899 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002028/0.2194, allocations: 71.95 kB / 0.79 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005275/0.2199, allocations: 384.5 kB / 0.7903 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001474/0.2201, allocations: 54.56 kB / 0.7904 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.1e-05/0.2201, allocations: 96 / 0.7904 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002078/0.2203, allocations: 91.36 kB / 0.7905 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.2203, allocations: 0 / 0.7905 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0004096/0.2208, allocations: 149.4 kB / 0.7906 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.2208, allocations: 55.41 kB / 0.7907 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.435e-05/0.2209, allocations: 129.7 kB / 0.7908 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.865e-05/0.2209, allocations: 29.7 kB / 0.7908 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.567e-05/0.221, allocations: 104 kB / 0.7909 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.668e-05/0.221, allocations: 11.81 kB / 0.7909 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.305e-05/0.221, allocations: 4 kB / 0.791 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.958e-05/0.2211, allocations: 322.8 kB / 0.7913 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001541/0.2213, allocations: 59.97 kB / 0.7913 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001582/0.2214, allocations: 83.39 kB / 0.7914 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001509/0.2216, allocations: 85.64 kB / 0.7915 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.2216, allocations: 0 / 0.7915 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003866/0.222, allocations: 195.2 kB / 0.7917 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.9e-05/0.2221, allocations: 45.75 kB / 0.7917 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.2221, allocations: 0 / 0.7917 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.2221, allocations: 7.953 kB / 0.7917 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.351e-05/0.2222, allocations: 11.98 kB / 0.7917 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.2222, allocations: 0 / 0.7917 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002381/0.2224, allocations: 51.95 kB / 0.7918 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.961e-05/0.2225, allocations: 8.312 kB / 0.7918 GB, free: 6.918 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 9.571e-05/0.2226, allocations: 129.8 kB / 0.7919 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.189e-05/0.2226, allocations: 3.906 kB / 0.7919 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.412e-05/0.2226, allocations: 12.38 kB / 0.7919 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.2226, allocations: 7.938 kB / 0.7919 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/0.2226, allocations: 11.89 kB / 0.7919 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.2226, allocations: 0 / 0.7919 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001325/0.2228, allocations: 189.6 kB / 0.7921 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2228, allocations: 0 / 0.7921 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.031e-05/0.2229, allocations: 11.98 kB / 0.7921 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.2229, allocations: 0 / 0.7921 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.2229, allocations: 4 kB / 0.7921 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.2229, allocations: 4 kB / 0.7921 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.2229, allocations: 3.984 kB / 0.7921 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000253/0.2231, allocations: 136.9 kB / 0.7923 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.665e-05/0.2232, allocations: 81.11 kB / 0.7924 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.774e-05/0.2232, allocations: 0 / 0.7924 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.028e-05/0.2233, allocations: 19.98 kB / 0.7924 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.075e-05/0.2234, allocations: 11.98 kB / 0.7924 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.645e-06/0.2234, allocations: 7.922 kB / 0.7924 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.787e-05/0.2234, allocations: 95.23 kB / 0.7925 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2234, allocations: 0 / 0.7925 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002157/0.2236, allocations: 27.89 kB / 0.7925 GB, free: 6.078 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.0001388/0.2238, allocations: 111.4 kB / 0.7926 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003757/0.2242, allocations: 175.3 kB / 0.7928 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.2242, allocations: 3.938 kB / 0.7928 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001189/0.2243, allocations: 44.11 kB / 0.7928 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001468/0.2245, allocations: 11.98 kB / 0.7928 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003662/0.2248, allocations: 204.9 kB / 0.793 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000245/0.2251, allocations: 0.6965 MB / 0.7937 GB, free: 4.766 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.209e-05/0.2251, allocations: 4.188 kB / 0.7937 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.634e-05/0.2252, allocations: 15.42 kB / 0.7937 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.2252, allocations: 0 / 0.7937 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of Templates: time 0.0037/0.2289, allocations: 1.402 MB / 0.7951 GB, free: 3.367 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: