Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.464/1.464, allocations: 252 MB / 268 MB, free: 10.88 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001083/0.001082, allocations: 174.8 kB / 327.6 MB, free: 2.086 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.993/1.993, allocations: 205.4 MB / 0.5786 GB, free: 20.44 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008893/0.0008893, allocations: 80.31 kB / 0.6832 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003511/0.0003512, allocations: 9.5 kB / 0.7976 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/0.2356, allocations: 106.3 MB / 0.9015 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.001768/0.2374, allocations: 1.238 MB / 0.9027 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004699/0.2379, allocations: 236.2 kB / 0.9029 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.202e-05/0.238, allocations: 0 / 0.9029 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.477e-05/0.238, allocations: 3.938 kB / 0.9029 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.209e-05/0.2381, allocations: 11.92 kB / 0.9029 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001772/0.2383, allocations: 31.91 kB / 0.9029 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001036/0.2384, allocations: 79.78 kB / 0.903 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001491/0.2386, allocations: 31.83 kB / 0.9031 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.457e-05/0.2387, allocations: 23.86 kB / 0.9031 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.538e-05/0.2388, allocations: 35.84 kB / 0.9031 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.243e-05/0.2388, allocations: 4 kB / 0.9031 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.63e-05/0.2388, allocations: 4 kB / 0.9031 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.625e-05/0.2389, allocations: 11.98 kB / 0.9031 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.39e-05/0.2389, allocations: 49.5 kB / 0.9032 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001017/0.239, allocations: 71.83 kB / 0.9032 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.239, allocations: 0 / 0.9032 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.422e-06/0.239, allocations: 0 / 0.9032 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.698e-06/0.2391, allocations: 0 / 0.9032 GB, free: 61.95 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005439/0.2396, allocations: 407.5 kB / 0.9036 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.2397, allocations: 8.031 kB / 0.9036 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.109e-05/0.2397, allocations: 12.78 kB / 0.9037 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.2398, allocations: 176.2 kB / 0.9038 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/0.2399, allocations: 8.375 kB / 0.9038 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.088e-05/0.2399, allocations: 4.375 kB / 0.9038 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002087/0.2401, allocations: 94.2 kB / 0.9039 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.2401, allocations: 192 / 0.9039 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.2401, allocations: 7.938 kB / 0.9039 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.2402, allocations: 4 kB / 0.9039 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002151/0.2404, allocations: 75.89 kB / 0.904 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004962/0.2409, allocations: 356.5 kB / 0.9043 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001636/0.2411, allocations: 62.5 kB / 0.9044 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.957e-05/0.2412, allocations: 40.95 kB / 0.9044 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.432e-05/0.2412, allocations: 0 / 0.9044 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002656/0.2415, allocations: 83.38 kB / 0.9045 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=6): time 1.914e-06/0.2415, allocations: 0 / 0.9045 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.0004687/0.242, allocations: 133.6 kB / 0.9047 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.242, allocations: 59.41 kB / 0.9047 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.353e-05/0.2421, allocations: 129.7 kB / 0.9048 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.2421, allocations: 25.7 kB / 0.9049 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.631e-05/0.2422, allocations: 99.98 kB / 0.905 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.721e-05/0.2422, allocations: 7.844 kB / 0.905 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.484e-06/0.2422, allocations: 8 kB / 0.905 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.507e-05/0.2423, allocations: 318.8 kB / 0.9053 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001113/0.2424, allocations: 35.97 kB / 0.9053 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001225/0.2425, allocations: 50.56 kB / 0.9054 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001811/0.2427, allocations: 77.64 kB / 0.9054 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.2427, allocations: 0 / 0.9054 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002647/0.243, allocations: 117.5 kB / 0.9055 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.243, allocations: 6.5 kB / 0.9055 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.243, allocations: 4 kB / 0.9055 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.2431, allocations: 0 / 0.9055 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.171e-05/0.2432, allocations: 15.92 kB / 0.9056 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.2432, allocations: 32 / 0.9056 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.2433, allocations: 43.75 kB / 0.9056 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.2433, allocations: 0 / 0.9056 GB, free: 59.29 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,conEquSta.onBoi,$PRE.conEquSta.hys.y,conEquSta.hys.y,onSys.y,$PRE.onSys.pulseStart,onSys.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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.874e-05/0.2434, allocations: 117.8 kB / 0.9057 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.424e-05/0.2434, allocations: 4 kB / 0.9057 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.319e-05/0.2435, allocations: 12.38 kB / 0.9057 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.2435, allocations: 4 kB / 0.9057 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.2435, allocations: 0 / 0.9057 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.2435, allocations: 3.938 kB / 0.9057 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001323/0.2436, allocations: 185.6 kB / 0.9059 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.2436, allocations: 0 / 0.9059 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.976e-05/0.2437, allocations: 12.23 kB / 0.9059 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.2437, allocations: 0 / 0.9059 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.2437, allocations: 4 kB / 0.9059 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.2437, allocations: 0 / 0.9059 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2437, allocations: 11.94 kB / 0.9059 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002452/0.244, allocations: 132.9 kB / 0.9061 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.783e-05/0.244, allocations: 81.02 kB / 0.9061 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.061e-05/0.2441, allocations: 4 kB / 0.9062 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.062e-05/0.2442, allocations: 27.97 kB / 0.9062 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.873e-05/0.2442, allocations: 11.92 kB / 0.9062 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.453e-06/0.2442, allocations: 4 kB / 0.9062 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.277e-05/0.2443, allocations: 95.27 kB / 0.9063 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2443, allocations: 0 / 0.9063 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002045/0.2445, allocations: 15.94 kB / 0.9063 GB, free: 58.48 MB / 0.6042 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,conEquSta.onBoi,conEquSta.hys.y,onSys.y,onSys.pulseStart) * 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.0001084/0.2446, allocations: 107.2 kB / 0.9064 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002605/0.2449, allocations: 83.88 kB / 0.9065 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.2449, allocations: 0 / 0.9065 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001138/0.245, allocations: 44.05 kB / 0.9065 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002072/0.2452, allocations: 10.86 kB / 0.9065 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003829/0.2456, allocations: 238.8 kB / 0.9068 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001283/0.2458, allocations: 0.6926 MB / 0.9074 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.115e-05/0.2458, allocations: 15.44 kB / 0.9075 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of SimCode: time 4.7e-07/0.2458, allocations: 0 / 0.9075 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of Templates: time 0.002565/0.2484, allocations: 1.071 MB / 0.9085 GB, free: 56.17 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & ./Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1)