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.001119/0.001119, allocations: 97.64 kB / 16.36 MB, free: 6.301 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.001121/0.001121, allocations: 192 kB / 17.29 MB, free: 5.875 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.379/1.379, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.815/1.815, allocations: 292.3 MB / 0.5496 GB, free: 17.56 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.001638/0.001638, allocations: 67.91 kB / 0.6729 GB, free: 5.832 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/0.246, allocations: 114.6 MB / 0.7848 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002675/0.2487, allocations: 0.8063 MB / 0.7856 GB, free: 2.348 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001804/0.2505, allocations: 1.16 MB / 0.7867 GB, free: 1.172 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.977e-05/0.2507, allocations: 0 / 0.7867 GB, free: 1.172 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 5.13e-05/0.2507, allocations: 11.86 kB / 0.7867 GB, free: 1.16 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001077/0.2509, allocations: 11.88 kB / 0.7867 GB, free: 1.148 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006528/0.2515, allocations: 139.2 kB / 0.7869 GB, free: 1.016 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002823/0.2518, allocations: 151.7 kB / 0.787 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001609/0.252, allocations: 31.98 kB / 0.787 GB, free: 0.8359 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001534/0.2521, allocations: 55.89 kB / 0.7871 GB, free: 0.7812 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001392/0.2523, allocations: 63.81 kB / 0.7872 GB, free: 0.7188 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.429e-05/0.2523, allocations: 12 kB / 0.7872 GB, free: 0.707 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.129e-05/0.2524, allocations: 23.98 kB / 0.7872 GB, free: 0.6836 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.256e-05/0.2525, allocations: 27.91 kB / 0.7872 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 8.528e-05/0.2526, allocations: 51.78 kB / 0.7873 GB, free: 0.6055 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002669/0.2528, allocations: 151.5 kB / 0.7874 GB, free: 468 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2529, allocations: 4 kB / 0.7874 GB, free: 464 kB / 0.6544 GB Notification: Performance of FrontEnd: time 2.364e-06/0.2529, allocations: 0 / 0.7874 GB, free: 464 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.413e-06/0.2529, allocations: 0 / 0.7874 GB, free: 464 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.439/0.6919, allocations: 424.6 kB / 0.7878 GB, free: 48.89 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.6919, allocations: 9.344 kB / 0.7878 GB, free: 48.89 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.873e-05/0.692, allocations: 13.55 kB / 0.7878 GB, free: 48.89 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.6921, allocations: 177.4 kB / 0.788 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.6922, allocations: 12.09 kB / 0.788 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.751e-05/0.6922, allocations: 15.19 kB / 0.788 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002487/0.6925, allocations: 83.8 kB / 0.7881 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.6925, allocations: 0.8438 kB / 0.7881 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.6925, allocations: 5.156 kB / 0.7881 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-06/0.6925, allocations: 2.812 kB / 0.7881 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002153/0.6927, allocations: 60 kB / 0.7882 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005151/0.6933, allocations: 386.2 kB / 0.7886 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001476/0.6934, allocations: 54.23 kB / 0.7886 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.242e-05/0.6935, allocations: 31.7 kB / 0.7886 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.47e-05/0.6935, allocations: 0 / 0.7886 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002507/0.6938, allocations: 87.27 kB / 0.7887 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=6): time 1.653e-06/0.6938, allocations: 2.438 kB / 0.7887 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6): time 0.0004009/0.6942, allocations: 132.6 kB / 0.7888 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.872e-05/0.6943, allocations: 51.41 kB / 0.7889 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.533e-05/0.6943, allocations: 131.9 kB / 0.789 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.6944, allocations: 31.05 kB / 0.7891 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.461e-05/0.6944, allocations: 99.22 kB / 0.7891 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.51e-05/0.6944, allocations: 9.656 kB / 0.7892 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.693e-05/0.6945, allocations: 40.52 kB / 0.7892 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.509e-05/0.6946, allocations: 320.4 kB / 0.7895 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001437/0.6947, allocations: 49.92 kB / 0.7895 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001439/0.6949, allocations: 81.31 kB / 0.7896 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002153/0.6951, allocations: 118.5 kB / 0.7897 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.6951, allocations: 0 / 0.7897 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003677/0.6955, allocations: 190.7 kB / 0.7899 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.278e-05/0.6955, allocations: 41 kB / 0.79 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.6955, allocations: 0 / 0.79 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.6956, allocations: 2.625 kB / 0.79 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.145e-05/0.6956, allocations: 10.73 kB / 0.79 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.6957, allocations: 3.938 kB / 0.79 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002136/0.6959, allocations: 51.05 kB / 0.79 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.115e-05/0.6959, allocations: 7.219 kB / 0.79 GB, free: 47.46 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 7.309e-05/0.696, allocations: 122.6 kB / 0.7901 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.224e-05/0.696, allocations: 6.031 kB / 0.7902 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.269e-05/0.696, allocations: 10.39 kB / 0.7902 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.6961, allocations: 1.844 kB / 0.7902 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.6961, allocations: 2.469 kB / 0.7902 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.6961, allocations: 6.141 kB / 0.7902 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001009/0.6962, allocations: 189.5 kB / 0.7904 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.6962, allocations: 0 / 0.7904 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.535e-05/0.6963, allocations: 9.688 kB / 0.7904 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.6963, allocations: 3.094 kB / 0.7904 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.816e-06/0.6963, allocations: 0 / 0.7904 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.6963, allocations: 0.5625 kB / 0.7904 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.6963, allocations: 1.938 kB / 0.7904 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002337/0.6965, allocations: 131.8 kB / 0.7905 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.204e-05/0.6966, allocations: 83.8 kB / 0.7906 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.299e-05/0.6966, allocations: 4.125 kB / 0.7906 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.076e-05/0.6967, allocations: 11.27 kB / 0.7906 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.384e-05/0.6967, allocations: 16.45 kB / 0.7906 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/0.6968, allocations: 6.078 kB / 0.7906 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.604e-05/0.6968, allocations: 93.73 kB / 0.7907 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6968, allocations: 1.156 kB / 0.7907 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002172/0.697, allocations: 26.06 kB / 0.7907 GB, free: 46.91 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.0001195/0.6971, allocations: 108.5 kB / 0.7908 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003504/0.6975, allocations: 169.5 kB / 0.791 GB, free: 46.76 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.6975, allocations: 0 / 0.791 GB, free: 46.76 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001196/0.6976, allocations: 39.25 kB / 0.791 GB, free: 46.76 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002099/0.6979, allocations: 19.34 kB / 0.791 GB, free: 46.76 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003631/0.6982, allocations: 212 kB / 0.7912 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001131/0.6984, allocations: 0.6917 MB / 0.7919 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.935e-05/0.6984, allocations: 12.75 kB / 0.7919 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of SimCode: time 3.11e-07/0.6984, allocations: 0.8438 kB / 0.7919 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of Templates: time 0.002772/0.7012, allocations: 1.35 MB / 0.7933 GB, free: 45.85 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 -lv LOG_STATS > Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1)