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.0007604/0.0007604, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.005173/0.005173, allocations: 171.7 kB / 16.26 MB, free: 6.613 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.313/1.313, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.658/1.658, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0005273/0.0005273, allocations: 15.69 kB / 0.6743 GB, free: 25.85 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2389/0.2395, allocations: 116.3 MB / 0.7879 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.0011/0.2406, allocations: 0.5294 MB / 0.7884 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001628/0.2423, allocations: 1.156 MB / 0.7895 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.349e-05/0.2423, allocations: 0 / 0.7895 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.522e-05/0.2424, allocations: 0 / 0.7895 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.843e-05/0.2425, allocations: 23.84 kB / 0.7896 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005114/0.243, allocations: 119.2 kB / 0.7897 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001617/0.2432, allocations: 131.7 kB / 0.7898 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000143/0.2433, allocations: 35.97 kB / 0.7898 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000121/0.2435, allocations: 39.91 kB / 0.7899 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.866e-05/0.2436, allocations: 43.81 kB / 0.7899 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.725e-05/0.2436, allocations: 11.98 kB / 0.7899 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.051e-05/0.2437, allocations: 19.98 kB / 0.7899 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.482e-05/0.2437, allocations: 11.88 kB / 0.79 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.426e-05/0.2438, allocations: 69.48 kB / 0.79 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001952/0.244, allocations: 147.8 kB / 0.7902 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.244, allocations: 4 kB / 0.7902 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.874e-06/0.244, allocations: 0 / 0.7902 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.244, allocations: 0 / 0.7902 GB, free: 9.223 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.0006315/0.2447, allocations: 413 kB / 0.7906 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.2447, allocations: 8.031 kB / 0.7906 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.863e-05/0.2448, allocations: 16.84 kB / 0.7906 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.245, allocations: 176.2 kB / 0.7908 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.245, allocations: 4.375 kB / 0.7908 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.598e-05/0.245, allocations: 12.38 kB / 0.7908 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002463/0.2453, allocations: 90.2 kB / 0.7909 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.2453, allocations: 192 / 0.7909 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.614e-05/0.2453, allocations: 3.938 kB / 0.7909 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.2453, allocations: 8 kB / 0.7909 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002236/0.2456, allocations: 63.95 kB / 0.7909 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005886/0.2462, allocations: 392.5 kB / 0.7913 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001731/0.2463, allocations: 66.48 kB / 0.7914 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001073/0.2465, allocations: 32.94 kB / 0.7914 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.299e-05/0.2465, allocations: 4 kB / 0.7914 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002355/0.2467, allocations: 83.36 kB / 0.7915 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 2.594e-06/0.2467, allocations: 4 kB / 0.7915 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0004498/0.2472, allocations: 149.4 kB / 0.7916 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.785e-05/0.2472, allocations: 55.41 kB / 0.7917 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.911e-05/0.2473, allocations: 125.8 kB / 0.7918 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.739e-05/0.2474, allocations: 33.7 kB / 0.7918 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.583e-05/0.2475, allocations: 111.9 kB / 0.7919 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.614e-05/0.2475, allocations: 3.906 kB / 0.7919 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.19e-05/0.2475, allocations: 25.7 kB / 0.792 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.251e-05/0.2476, allocations: 314.8 kB / 0.7923 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001662/0.2478, allocations: 55.95 kB / 0.7923 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001697/0.248, allocations: 87.41 kB / 0.7924 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002573/0.2482, allocations: 128.2 kB / 0.7925 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.2483, allocations: 0 / 0.7925 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004218/0.2487, allocations: 203.2 kB / 0.7927 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.141e-05/0.2487, allocations: 41.69 kB / 0.7928 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.2487, allocations: 0 / 0.7928 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.2488, allocations: 4.094 kB / 0.7928 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.611e-05/0.2489, allocations: 12.25 kB / 0.7928 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.2489, allocations: 3.984 kB / 0.7928 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002569/0.2492, allocations: 63.83 kB / 0.7928 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.191e-05/0.2492, allocations: 12 kB / 0.7928 GB, free: 6.199 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.458e-05/0.2493, allocations: 118.4 kB / 0.793 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.43e-05/0.2493, allocations: 11.89 kB / 0.793 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.506e-05/0.2494, allocations: 16.38 kB / 0.793 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.2494, allocations: 0 / 0.793 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.2494, allocations: 0 / 0.793 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.2494, allocations: 3.938 kB / 0.793 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001397/0.2495, allocations: 189.6 kB / 0.7932 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.2495, allocations: 0 / 0.7932 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.475e-05/0.2496, allocations: 12 kB / 0.7932 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.2496, allocations: 0 / 0.7932 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.2496, allocations: 3.984 kB / 0.7932 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.2496, allocations: 4 kB / 0.7932 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2497, allocations: 7.938 kB / 0.7932 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000275/0.2499, allocations: 136.9 kB / 0.7933 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.452e-05/0.25, allocations: 85.02 kB / 0.7934 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.25, allocations: 4 kB / 0.7934 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.561e-05/0.2501, allocations: 15.98 kB / 0.7934 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.498e-05/0.2501, allocations: 15.92 kB / 0.7934 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.2502, allocations: 0 / 0.7934 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.138e-05/0.2502, allocations: 95.27 kB / 0.7935 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2502, allocations: 0 / 0.7935 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002278/0.2505, allocations: 24 kB / 0.7936 GB, free: 5.375 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.0001468/0.2506, allocations: 107.2 kB / 0.7937 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003791/0.251, allocations: 175.3 kB / 0.7938 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.251, allocations: 0 / 0.7938 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001305/0.2511, allocations: 48.09 kB / 0.7939 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002085/0.2514, allocations: 11.98 kB / 0.7939 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000364/0.2517, allocations: 205 kB / 0.7941 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002056/0.2519, allocations: 0.6964 MB / 0.7948 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.503e-05/0.252, allocations: 7.984 kB / 0.7948 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.661e-05/0.252, allocations: 15.38 kB / 0.7948 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of SimCode: time 3.41e-07/0.252, allocations: 0 / 0.7948 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of Templates: time 0.003789/0.2558, allocations: 1.467 MB / 0.7962 GB, free: 2.605 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: