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.00166/0.00166, allocations: 105.5 kB / 15.99 MB, free: 5.891 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.001786/0.001786, allocations: 193.2 kB / 16.91 MB, free: 5.746 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.364/1.364, allocations: 205.1 MB / 222.8 MB, free: 4.68 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.718/1.718, allocations: 292.3 MB / 0.5492 GB, free: 13.65 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.001342/0.001343, allocations: 67.61 kB / 0.6717 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2349/0.2363, allocations: 114.5 MB / 0.7835 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002152/0.2385, allocations: 0.8783 MB / 0.7844 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001411/0.2399, allocations: 1.152 MB / 0.7855 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.387e-05/0.24, allocations: 0 / 0.7855 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.078e-05/0.24, allocations: 3.938 kB / 0.7855 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.487e-05/0.2401, allocations: 19.91 kB / 0.7855 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004689/0.2406, allocations: 122.9 kB / 0.7856 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001641/0.2408, allocations: 139.8 kB / 0.7858 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.2409, allocations: 39.97 kB / 0.7858 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.655e-05/0.241, allocations: 55.84 kB / 0.7859 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.7e-05/0.2411, allocations: 55.8 kB / 0.7859 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.627e-05/0.2411, allocations: 12 kB / 0.7859 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.878e-05/0.2412, allocations: 31.98 kB / 0.786 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.641e-05/0.2412, allocations: 15.92 kB / 0.786 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.508e-05/0.2413, allocations: 59.72 kB / 0.786 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001433/0.2415, allocations: 116 kB / 0.7861 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.2415, allocations: 0 / 0.7861 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.72e-07/0.2415, allocations: 0 / 0.7861 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.2415, allocations: 0 / 0.7861 GB, free: 11.2 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.0006238/0.2421, allocations: 429 kB / 0.7866 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.2422, allocations: 12.03 kB / 0.7866 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.413e-05/0.2422, allocations: 8.844 kB / 0.7866 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.2424, allocations: 176.2 kB / 0.7867 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.2424, allocations: 8.375 kB / 0.7868 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.915e-05/0.2424, allocations: 16.31 kB / 0.7868 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002274/0.2426, allocations: 86.2 kB / 0.7868 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.2427, allocations: 192 / 0.7868 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.2427, allocations: 3.938 kB / 0.7869 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.2427, allocations: 4 kB / 0.7869 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001969/0.2429, allocations: 55.95 kB / 0.7869 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005276/0.2434, allocations: 384.5 kB / 0.7873 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001475/0.2436, allocations: 58.55 kB / 0.7873 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.303e-05/0.2437, allocations: 32.92 kB / 0.7874 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.868e-06/0.2437, allocations: 0 / 0.7874 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002389/0.244, allocations: 87.22 kB / 0.7874 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.244, allocations: 0 / 0.7874 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0004227/0.2444, allocations: 129.6 kB / 0.7876 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.184e-05/0.2444, allocations: 59.34 kB / 0.7876 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.838e-05/0.2445, allocations: 133.7 kB / 0.7878 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.923e-05/0.2446, allocations: 29.7 kB / 0.7878 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.515e-05/0.2446, allocations: 100 kB / 0.7879 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.054e-05/0.2447, allocations: 15.8 kB / 0.7879 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.901e-05/0.2447, allocations: 37.7 kB / 0.7879 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.2449, allocations: 318.8 kB / 0.7882 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001565/0.245, allocations: 59.89 kB / 0.7883 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001649/0.2452, allocations: 75.41 kB / 0.7884 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002337/0.2454, allocations: 116.2 kB / 0.7885 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2455, allocations: 4.031 kB / 0.7885 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003856/0.2458, allocations: 183.3 kB / 0.7887 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.379e-05/0.2459, allocations: 45.62 kB / 0.7887 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.2459, allocations: 0 / 0.7887 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.2459, allocations: 0 / 0.7887 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.776e-05/0.246, allocations: 8.094 kB / 0.7887 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.246, allocations: 7.922 kB / 0.7887 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000223/0.2463, allocations: 51.8 kB / 0.7888 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.892e-05/0.2463, allocations: 4 kB / 0.7888 GB, free: 8.242 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,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 9.65e-05/0.2464, allocations: 122.5 kB / 0.7889 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.62e-05/0.2464, allocations: 11.89 kB / 0.7889 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.146e-05/0.2464, allocations: 8.375 kB / 0.7889 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-06/0.2465, allocations: 0 / 0.7889 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.2465, allocations: 8 kB / 0.7889 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.2465, allocations: 3.938 kB / 0.7889 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001389/0.2466, allocations: 185.6 kB / 0.7891 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.2466, allocations: 0 / 0.7891 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.168e-05/0.2467, allocations: 7.938 kB / 0.7891 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.2467, allocations: 0 / 0.7891 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.2467, allocations: 7.984 kB / 0.7891 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.2467, allocations: 4 kB / 0.7891 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.2467, allocations: 0 / 0.7891 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002518/0.247, allocations: 129 kB / 0.7892 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.919e-05/0.2471, allocations: 81.39 kB / 0.7893 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/0.2471, allocations: 4 kB / 0.7893 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.023e-05/0.2472, allocations: 11.98 kB / 0.7893 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.776e-05/0.2472, allocations: 19.92 kB / 0.7893 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.662e-06/0.2472, allocations: 0 / 0.7893 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.795e-05/0.2473, allocations: 91.7 kB / 0.7894 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2473, allocations: 4 kB / 0.7894 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002168/0.2475, allocations: 31.91 kB / 0.7895 GB, free: 7.43 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 (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.0001559/0.2477, allocations: 111.2 kB / 0.7896 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003693/0.248, allocations: 163.3 kB / 0.7897 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2481, allocations: 0 / 0.7897 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001277/0.2482, allocations: 44.03 kB / 0.7898 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002039/0.2484, allocations: 16.31 kB / 0.7898 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000411/0.2488, allocations: 224.8 kB / 0.79 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002528/0.2491, allocations: 0.7001 MB / 0.7907 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.178e-05/0.2491, allocations: 11.44 kB / 0.7907 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of SimCode: time 2.81e-07/0.2491, allocations: 0 / 0.7907 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of Templates: time 0.00286/0.252, allocations: 1.367 MB / 0.792 GB, free: 4.738 MB / 0.6075 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)