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.001022/0.001022, allocations: 107 kB / 16.36 MB, free: 5.996 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.001017/0.001017, allocations: 194 kB / 17.3 MB, free: 5.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.263/1.263, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.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.741/1.741, allocations: 292.3 MB / 0.5496 GB, free: 17.51 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.001411/0.001411, allocations: 68.33 kB / 0.6729 GB, free: 5.836 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1918/0.1932, allocations: 114.6 MB / 0.7848 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002054/0.1953, allocations: 0.8106 MB / 0.7856 GB, free: 2.344 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001344/0.1967, allocations: 1.156 MB / 0.7867 GB, free: 1.172 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.298e-05/0.1968, allocations: 0 / 0.7867 GB, free: 1.172 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.528e-05/0.1968, allocations: 7.938 kB / 0.7867 GB, free: 1.164 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.005e-05/0.1969, allocations: 15.86 kB / 0.7867 GB, free: 1.148 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004542/0.1974, allocations: 135.3 kB / 0.7869 GB, free: 1.02 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001794/0.1976, allocations: 155.7 kB / 0.787 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.1977, allocations: 31.98 kB / 0.787 GB, free: 0.8359 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.181e-05/0.1978, allocations: 59.83 kB / 0.7871 GB, free: 0.7773 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.1979, allocations: 59.8 kB / 0.7872 GB, free: 0.7188 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.967e-05/0.1979, allocations: 12 kB / 0.7872 GB, free: 0.707 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 7.536e-05/0.198, allocations: 27.98 kB / 0.7872 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.764e-05/0.198, allocations: 23.92 kB / 0.7872 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 7.008e-05/0.1981, allocations: 59.77 kB / 0.7873 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001861/0.1983, allocations: 147.5 kB / 0.7874 GB, free: 464 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.1983, allocations: 0 / 0.7874 GB, free: 464 kB / 0.6544 GB Notification: Performance of FrontEnd: time 9.12e-07/0.1983, allocations: 4 kB / 0.7874 GB, free: 460 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.1983, allocations: 0 / 0.7874 GB, free: 460 kB / 0.6544 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.3295/0.5278, allocations: 425 kB / 0.7878 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.5279, allocations: 8.875 kB / 0.7878 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.837e-05/0.528, allocations: 12.09 kB / 0.7878 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.656e-05/0.5281, allocations: 180.2 kB / 0.788 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.5281, allocations: 6.844 kB / 0.788 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.947e-05/0.5282, allocations: 16.41 kB / 0.788 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002329/0.5284, allocations: 85.28 kB / 0.7881 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.5284, allocations: 192 / 0.7881 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.5284, allocations: 3.938 kB / 0.7881 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.5284, allocations: 1.938 kB / 0.7881 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001904/0.5286, allocations: 60.95 kB / 0.7882 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004618/0.5291, allocations: 385.8 kB / 0.7886 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001463/0.5293, allocations: 57.67 kB / 0.7886 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.184e-05/0.5294, allocations: 26.38 kB / 0.7886 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.25e-05/0.5294, allocations: 2.625 kB / 0.7886 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002294/0.5296, allocations: 85.91 kB / 0.7887 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.5296, allocations: 0 / 0.7887 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6): time 0.0003832/0.53, allocations: 128.6 kB / 0.7888 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.648e-05/0.53, allocations: 54.41 kB / 0.7889 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.844e-05/0.5301, allocations: 130.6 kB / 0.789 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.415e-05/0.5302, allocations: 30.45 kB / 0.789 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.198e-05/0.5302, allocations: 102.3 kB / 0.7891 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.44e-05/0.5302, allocations: 9.219 kB / 0.7892 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.236e-05/0.5303, allocations: 37.34 kB / 0.7892 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 3.887e-05/0.5303, allocations: 324 kB / 0.7895 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/0.5305, allocations: 49.83 kB / 0.7895 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001478/0.5306, allocations: 83.88 kB / 0.7896 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000215/0.5309, allocations: 117.3 kB / 0.7897 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.5309, allocations: 0 / 0.7897 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003823/0.5313, allocations: 192.8 kB / 0.7899 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.616e-05/0.5313, allocations: 35.27 kB / 0.79 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.5313, allocations: 4.406 kB / 0.79 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.5313, allocations: 0 / 0.79 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.643e-05/0.5314, allocations: 11.03 kB / 0.79 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.5314, allocations: 1.625 kB / 0.79 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002089/0.5317, allocations: 50.14 kB / 0.79 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/0.5317, allocations: 12.12 kB / 0.79 GB, free: 47.39 MB / 0.6544 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,onSys.y,$PRE.onSys.y,conEquSta.hys.y,$PRE.conEquSta.hys.y,conEquSta.onBoi) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.832e-05/0.5318, allocations: 122.6 kB / 0.7901 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.376e-05/0.5318, allocations: 5.141 kB / 0.7902 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.974e-05/0.5318, allocations: 12.41 kB / 0.7902 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.5318, allocations: 0.625 kB / 0.7902 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.5318, allocations: 0.5312 kB / 0.7902 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.5318, allocations: 6.375 kB / 0.7902 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.912e-05/0.5319, allocations: 191.3 kB / 0.7904 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.5319, allocations: 0.6562 kB / 0.7904 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.9e-05/0.532, allocations: 10.11 kB / 0.7904 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.634e-06/0.532, allocations: 0 / 0.7904 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.532, allocations: 0 / 0.7904 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.532, allocations: 1.781 kB / 0.7904 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.532, allocations: 4.125 kB / 0.7904 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002279/0.5323, allocations: 133 kB / 0.7905 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.735e-05/0.5323, allocations: 82.61 kB / 0.7906 GB, free: 46.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.951e-05/0.5323, allocations: 4.578 kB / 0.7906 GB, free: 46.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.614e-05/0.5324, allocations: 11.88 kB / 0.7906 GB, free: 46.92 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.791e-05/0.5324, allocations: 17.98 kB / 0.7906 GB, free: 46.92 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.5325, allocations: 3.828 kB / 0.7906 GB, free: 46.92 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.405e-05/0.5325, allocations: 99.83 kB / 0.7907 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5325, allocations: 0 / 0.7907 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002276/0.5327, allocations: 20.88 kB / 0.7907 GB, free: 46.84 MB / 0.6544 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 (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.0001137/0.5329, allocations: 110.6 kB / 0.7908 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003455/0.5332, allocations: 170.6 kB / 0.791 GB, free: 46.69 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.5332, allocations: 0 / 0.791 GB, free: 46.69 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001157/0.5333, allocations: 38.88 kB / 0.791 GB, free: 46.69 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002019/0.5335, allocations: 13.81 kB / 0.791 GB, free: 46.69 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000303/0.5339, allocations: 184.9 kB / 0.7912 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.425e-05/0.534, allocations: 0.6914 MB / 0.7919 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.167e-05/0.534, allocations: 6.438 kB / 0.7919 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.679e-05/0.534, allocations: 12.02 kB / 0.7919 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of SimCode: time 3.21e-07/0.534, allocations: 0 / 0.7919 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of Templates: time 0.003611/0.5377, allocations: 1.636 MB / 0.7935 GB, free: 45.81 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.makefile (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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1)