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.489/1.489, allocations: 251.5 MB / 267.4 MB, free: 11.06 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.001084, allocations: 182.8 kB / 326.5 MB, free: 2.688 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.832/1.832, allocations: 205 MB / 0.5766 GB, free: 21 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.0008834/0.0008836, allocations: 97.22 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000342/0.0003421, allocations: 10.25 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2444/0.2448, allocations: 105.4 MB / 0.8967 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.001854/0.2467, allocations: 1.246 MB / 0.898 GB, free: 66.92 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005667/0.2473, allocations: 245 kB / 0.8982 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.356e-05/0.2474, allocations: 0 / 0.8982 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 5.064e-05/0.2475, allocations: 7.922 kB / 0.8982 GB, free: 66.67 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001491/0.2476, allocations: 7.938 kB / 0.8982 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002118/0.2478, allocations: 27.97 kB / 0.8982 GB, free: 66.63 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001107/0.248, allocations: 79.77 kB / 0.8983 GB, free: 66.55 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001545/0.2481, allocations: 44.05 kB / 0.8984 GB, free: 66.51 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.995e-05/0.2482, allocations: 27.86 kB / 0.8984 GB, free: 66.48 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.623e-05/0.2483, allocations: 27.84 kB / 0.8984 GB, free: 66.46 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.312e-05/0.2483, allocations: 4 kB / 0.8984 GB, free: 66.45 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.499e-05/0.2484, allocations: 3.938 kB / 0.8984 GB, free: 66.45 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.552e-05/0.2484, allocations: 11.98 kB / 0.8984 GB, free: 66.44 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.887e-05/0.2485, allocations: 31.8 kB / 0.8985 GB, free: 66.41 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001044/0.2486, allocations: 63.84 kB / 0.8985 GB, free: 66.34 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2486, allocations: 0 / 0.8985 GB, free: 66.34 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.773e-06/0.2486, allocations: 0 / 0.8985 GB, free: 66.34 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.2486, allocations: 4 kB / 0.8985 GB, free: 66.34 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.0006209/0.2492, allocations: 391.3 kB / 0.8989 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.2493, allocations: 8.031 kB / 0.8989 GB, free: 65.9 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.709e-05/0.2493, allocations: 12.84 kB / 0.8989 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.2495, allocations: 188.2 kB / 0.8991 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.244e-05/0.2495, allocations: 4.312 kB / 0.8991 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.685e-05/0.2495, allocations: 12.38 kB / 0.8991 GB, free: 65.65 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002333/0.2498, allocations: 86.22 kB / 0.8992 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.2498, allocations: 192 / 0.8992 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.611e-05/0.2498, allocations: 7.938 kB / 0.8992 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.2498, allocations: 3.938 kB / 0.8992 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002098/0.25, allocations: 75.94 kB / 0.8993 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005533/0.2506, allocations: 356.5 kB / 0.8996 GB, free: 65.07 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001679/0.2508, allocations: 62.55 kB / 0.8997 GB, free: 65 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.2509, allocations: 40.97 kB / 0.8997 GB, free: 64.96 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.262e-05/0.2509, allocations: 0 / 0.8997 GB, free: 64.96 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002147/0.2511, allocations: 87.3 kB / 0.8998 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=6): time 1.613e-06/0.2511, allocations: 4 kB / 0.8998 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.0004052/0.2515, allocations: 129.6 kB / 0.8999 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.2516, allocations: 51.41 kB / 0.9 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.541e-05/0.2517, allocations: 129.7 kB / 0.9001 GB, free: 64.53 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.2517, allocations: 33.7 kB / 0.9001 GB, free: 64.49 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.198e-05/0.2518, allocations: 96.03 kB / 0.9002 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.972e-05/0.2518, allocations: 19.83 kB / 0.9002 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.806e-05/0.2518, allocations: 17.72 kB / 0.9003 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.155e-05/0.2519, allocations: 314.8 kB / 0.9006 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/0.252, allocations: 39.91 kB / 0.9006 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.2521, allocations: 54.56 kB / 0.9007 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001738/0.2523, allocations: 77.7 kB / 0.9007 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.2523, allocations: 0 / 0.9007 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002343/0.2526, allocations: 109.5 kB / 0.9008 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.2526, allocations: 8 kB / 0.9008 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.2526, allocations: 256 / 0.9008 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.2526, allocations: 4.031 kB / 0.9008 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.438e-05/0.2527, allocations: 19.98 kB / 0.9009 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.2527, allocations: 0 / 0.9009 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001137/0.2529, allocations: 35.75 kB / 0.9009 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.2529, allocations: 4 kB / 0.9009 GB, free: 63.66 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,onSys.pulseStart,$PRE.onSys.pulseStart,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): 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 8.134e-05/0.253, allocations: 121.8 kB / 0.901 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.508e-05/0.253, allocations: 8 kB / 0.901 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.413e-05/0.253, allocations: 8.375 kB / 0.901 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.253, allocations: 0 / 0.901 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.253, allocations: 0 / 0.901 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.2531, allocations: 7.875 kB / 0.901 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001445/0.2532, allocations: 189.6 kB / 0.9012 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2532, allocations: 0 / 0.9012 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.074e-05/0.2533, allocations: 11.98 kB / 0.9012 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.2533, allocations: 7.984 kB / 0.9012 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.2533, allocations: 4 kB / 0.9012 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.2533, allocations: 0 / 0.9012 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.2533, allocations: 0 / 0.9012 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002474/0.2536, allocations: 136.9 kB / 0.9014 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.76e-05/0.2536, allocations: 84.95 kB / 0.9015 GB, free: 63 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.2536, allocations: 4 kB / 0.9015 GB, free: 63 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.29e-05/0.2537, allocations: 23.97 kB / 0.9015 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.256e-05/0.2538, allocations: 15.92 kB / 0.9015 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-06/0.2538, allocations: 0 / 0.9015 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.555e-05/0.2539, allocations: 103.6 kB / 0.9016 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.2539, allocations: 0 / 0.9016 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001838/0.2541, allocations: 16 kB / 0.9016 GB, free: 62.84 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.0001106/0.2542, allocations: 97.08 kB / 0.9017 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002586/0.2544, allocations: 91.81 kB / 0.9018 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2545, allocations: 0 / 0.9018 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001151/0.2546, allocations: 39.98 kB / 0.9018 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002033/0.2548, allocations: 9.359 kB / 0.9018 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003988/0.2552, allocations: 236.3 kB / 0.9021 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00012/0.2553, allocations: 0.6887 MB / 0.9027 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.791e-05/0.2554, allocations: 11.44 kB / 0.9027 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of SimCode: time 4.71e-07/0.2554, allocations: 4 kB / 0.9027 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of Templates: time 0.002242/0.2576, allocations: 1.072 MB / 0.9038 GB, free: 60.55 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)