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.00182/0.00182, allocations: 105.5 kB / 16.27 MB, free: 6.418 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.002107/0.002107, allocations: 189.3 kB / 17.2 MB, free: 5.953 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.422/1.422, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.782/1.782, allocations: 292.3 MB / 0.5495 GB, free: 17.6 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.001623/0.001623, allocations: 72.38 kB / 0.6722 GB, free: 6.523 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2458/0.2474, allocations: 114.6 MB / 0.784 GB, free: 3.852 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002774/0.2503, allocations: 0.8094 MB / 0.7848 GB, free: 3.039 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00194/0.2522, allocations: 1.156 MB / 0.786 GB, free: 1.867 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.536e-05/0.2524, allocations: 4 kB / 0.786 GB, free: 1.863 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.531e-05/0.2525, allocations: 3.938 kB / 0.786 GB, free: 1.859 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001086/0.2526, allocations: 11.86 kB / 0.786 GB, free: 1.848 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006294/0.2532, allocations: 142 kB / 0.7861 GB, free: 1.711 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002517/0.2535, allocations: 155.7 kB / 0.7863 GB, free: 1.559 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001592/0.2536, allocations: 43.97 kB / 0.7863 GB, free: 1.516 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001529/0.2538, allocations: 51.91 kB / 0.7863 GB, free: 1.465 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00012/0.2539, allocations: 59.73 kB / 0.7864 GB, free: 1.406 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.248e-05/0.254, allocations: 12 kB / 0.7864 GB, free: 1.395 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.241e-05/0.2541, allocations: 23.98 kB / 0.7864 GB, free: 1.371 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.591e-05/0.2541, allocations: 23.92 kB / 0.7865 GB, free: 1.348 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 9.821e-05/0.2542, allocations: 51.78 kB / 0.7865 GB, free: 1.297 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002965/0.2545, allocations: 151.8 kB / 0.7867 GB, free: 1.148 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.2545, allocations: 0 / 0.7867 GB, free: 1.148 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.893e-06/0.2545, allocations: 4 kB / 0.7867 GB, free: 1.145 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.264e-05/0.2546, allocations: 0 / 0.7867 GB, free: 1.145 MB / 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.0008465/0.2554, allocations: 425 kB / 0.7871 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.2555, allocations: 12.02 kB / 0.7871 GB, free: 0.6602 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.244e-05/0.2556, allocations: 12.84 kB / 0.7871 GB, free: 0.6484 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.2557, allocations: 172.2 kB / 0.7873 GB, free: 452 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.2557, allocations: 4.375 kB / 0.7873 GB, free: 448 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.163e-05/0.2558, allocations: 20.31 kB / 0.7873 GB, free: 428 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002739/0.2561, allocations: 93.2 kB / 0.7874 GB, free: 332 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.2561, allocations: 192 / 0.7874 GB, free: 332 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.2561, allocations: 11.81 kB / 0.7874 GB, free: 320 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.2561, allocations: 0 / 0.7874 GB, free: 320 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002176/0.2563, allocations: 55.95 kB / 0.7874 GB, free: 264 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4691/0.7255, allocations: 383.3 kB / 0.7878 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002215/0.7257, allocations: 53.8 kB / 0.7878 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.7258, allocations: 28.03 kB / 0.7879 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.904e-05/0.7259, allocations: 4.156 kB / 0.7879 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002801/0.7262, allocations: 83.97 kB / 0.788 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=6): time 2.274e-06/0.7262, allocations: 0 / 0.788 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6): time 0.0004535/0.7266, allocations: 128.8 kB / 0.7881 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/0.7267, allocations: 53.66 kB / 0.7881 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.565e-05/0.7268, allocations: 129.3 kB / 0.7883 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.71e-05/0.7268, allocations: 29.58 kB / 0.7883 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.342e-05/0.7269, allocations: 103.9 kB / 0.7884 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.092e-05/0.7269, allocations: 14.09 kB / 0.7884 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.603e-05/0.727, allocations: 36.44 kB / 0.7884 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.683e-05/0.7271, allocations: 320.6 kB / 0.7887 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001648/0.7272, allocations: 51.44 kB / 0.7888 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000161/0.7274, allocations: 77.42 kB / 0.7889 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002287/0.7276, allocations: 118.8 kB / 0.789 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.7276, allocations: 1.406 kB / 0.789 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003698/0.728, allocations: 190 kB / 0.7892 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.487e-05/0.7281, allocations: 42.22 kB / 0.7892 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.7281, allocations: 7.906 kB / 0.7892 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.7281, allocations: 3.125 kB / 0.7892 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.889e-05/0.7282, allocations: 8.547 kB / 0.7892 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.7282, allocations: 0 / 0.7892 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002347/0.7284, allocations: 46.14 kB / 0.7893 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.993e-05/0.7285, allocations: 8.625 kB / 0.7893 GB, free: 47.73 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.809e-05/0.7286, allocations: 122.1 kB / 0.7894 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.618e-05/0.7286, allocations: 7.406 kB / 0.7894 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.634e-05/0.7286, allocations: 12.16 kB / 0.7894 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.7286, allocations: 0.875 kB / 0.7894 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.7286, allocations: 2.812 kB / 0.7894 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.7286, allocations: 0 / 0.7894 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001062/0.7288, allocations: 194.2 kB / 0.7896 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.7288, allocations: 1.625 kB / 0.7896 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.206e-05/0.7288, allocations: 11.45 kB / 0.7896 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.7288, allocations: 5.641 kB / 0.7896 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.7289, allocations: 3.422 kB / 0.7896 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.7289, allocations: 5.312 kB / 0.7896 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.7289, allocations: 0 / 0.7896 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002469/0.7291, allocations: 120 kB / 0.7897 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.369e-05/0.7292, allocations: 92.17 kB / 0.7898 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.043e-05/0.7292, allocations: 1.062 kB / 0.7898 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.798e-05/0.7293, allocations: 12.78 kB / 0.7898 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.512e-05/0.7293, allocations: 13.19 kB / 0.7898 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/0.7293, allocations: 0.625 kB / 0.7898 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.738e-05/0.7294, allocations: 93.41 kB / 0.7899 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7294, allocations: 4.203 kB / 0.7899 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002316/0.7296, allocations: 25.77 kB / 0.79 GB, free: 47.18 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.0001183/0.7297, allocations: 103.8 kB / 0.7901 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003548/0.7301, allocations: 174.6 kB / 0.7902 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.7301, allocations: 0.5938 kB / 0.7902 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001128/0.7302, allocations: 39.81 kB / 0.7903 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002049/0.7305, allocations: 17.55 kB / 0.7903 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003396/0.7308, allocations: 207.6 kB / 0.7905 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000117/0.7309, allocations: 0.6928 MB / 0.7912 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.129e-05/0.731, allocations: 13.11 kB / 0.7912 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of SimCode: time 3.51e-07/0.731, allocations: 3.531 kB / 0.7912 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of Templates: time 0.002857/0.7338, allocations: 1.343 MB / 0.7925 GB, free: 46.14 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)