Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.38/1.38, allocations: 252 MB / 267.6 MB, free: 10.98 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.001128/0.001128, allocations: 180.4 kB / 327.3 MB, free: 2.23 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.908/1.908, allocations: 205.4 MB / 0.5783 GB, free: 20.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.0008346/0.0008343, allocations: 95.61 kB / 0.6829 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003988/0.0003989, allocations: 15.3 kB / 0.797 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2492/0.2496, allocations: 106.3 MB / 0.9008 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.001574/0.2512, allocations: 1.207 MB / 0.902 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001162/0.2524, allocations: 0.7217 MB / 0.9027 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.411e-05/0.2524, allocations: 0 / 0.9027 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.445e-05/0.2525, allocations: 7.922 kB / 0.9027 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.762e-05/0.2525, allocations: 11.92 kB / 0.9027 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004879/0.253, allocations: 99.77 kB / 0.9028 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.624e-05/0.2531, allocations: 67.72 kB / 0.9029 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.2533, allocations: 7.984 kB / 0.9029 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.499e-05/0.2533, allocations: 27.92 kB / 0.9029 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.719e-05/0.2534, allocations: 35.89 kB / 0.903 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.2535, allocations: 7.938 kB / 0.903 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001679/0.2536, allocations: 87.84 kB / 0.9031 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.166e-05/0.2537, allocations: 11.92 kB / 0.9031 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.458e-05/0.2537, allocations: 37.7 kB / 0.9031 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000154/0.2539, allocations: 95.81 kB / 0.9032 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.2539, allocations: 0 / 0.9032 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.475e-06/0.2539, allocations: 0 / 0.9032 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.445e-06/0.2539, allocations: 0 / 0.9032 GB, free: 61.46 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005629/0.2545, allocations: 417.1 kB / 0.9036 GB, free: 61 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.2545, allocations: 8.031 kB / 0.9036 GB, free: 61 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.118e-05/0.2546, allocations: 11.86 kB / 0.9036 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.813e-05/0.2547, allocations: 178.8 kB / 0.9038 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.623e-05/0.2547, allocations: 0 / 0.9038 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.116e-05/0.2547, allocations: 8 kB / 0.9038 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.2549, allocations: 65.66 kB / 0.9038 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.2549, allocations: 7.938 kB / 0.9039 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.2549, allocations: 4 kB / 0.9039 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.255, allocations: 0 / 0.9039 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001215/0.2551, allocations: 39.97 kB / 0.9039 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005443/0.2556, allocations: 328.7 kB / 0.9042 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001134/0.2558, allocations: 50.55 kB / 0.9043 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.473e-05/0.2558, allocations: 32.97 kB / 0.9043 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/0.2559, allocations: 4 kB / 0.9043 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001776/0.2561, allocations: 87.36 kB / 0.9044 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/0.2561, allocations: 0 / 0.9044 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0003778/0.2565, allocations: 149.4 kB / 0.9045 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.087e-05/0.2565, allocations: 63.47 kB / 0.9046 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.446e-05/0.2566, allocations: 117.8 kB / 0.9047 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.2566, allocations: 29.7 kB / 0.9047 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.848e-05/0.2566, allocations: 88.33 kB / 0.9048 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.409e-05/0.2567, allocations: 11.81 kB / 0.9048 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.322e-06/0.2567, allocations: 4 kB / 0.9048 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.422e-05/0.2567, allocations: 322.8 kB / 0.9051 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.292e-05/0.2568, allocations: 27.98 kB / 0.9052 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.904e-05/0.2569, allocations: 50.55 kB / 0.9052 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.33e-05/0.257, allocations: 35.98 kB / 0.9052 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.257, allocations: 0 / 0.9052 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001977/0.2572, allocations: 113.5 kB / 0.9053 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.2572, allocations: 11.94 kB / 0.9054 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.2572, allocations: 3.984 kB / 0.9054 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.2573, allocations: 0 / 0.9054 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.118e-05/0.2573, allocations: 15.94 kB / 0.9054 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.2574, allocations: 11.88 kB / 0.9054 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.638e-05/0.2574, allocations: 23.89 kB / 0.9054 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.456e-05/0.2575, allocations: 4 kB / 0.9054 GB, free: 58.95 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.27e-05/0.2575, allocations: 116.5 kB / 0.9055 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.212e-05/0.2576, allocations: 4 kB / 0.9055 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.736e-05/0.2576, allocations: 12.36 kB / 0.9055 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.2576, allocations: 4 kB / 0.9055 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.2576, allocations: 7.891 kB / 0.9056 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.2576, allocations: 0 / 0.9056 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000349/0.258, allocations: 382.4 kB / 0.9059 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.258, allocations: 0 / 0.9059 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.725e-05/0.258, allocations: 8 kB / 0.9059 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.258, allocations: 4 kB / 0.9059 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.258, allocations: 3.953 kB / 0.9059 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.2581, allocations: 3.984 kB / 0.9059 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2581, allocations: 8 kB / 0.9059 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002176/0.2583, allocations: 215.3 kB / 0.9061 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.755e-05/0.2583, allocations: 77.11 kB / 0.9062 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.913e-05/0.2583, allocations: 8 kB / 0.9062 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.603e-05/0.2584, allocations: 15.94 kB / 0.9062 GB, free: 58 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.856e-05/0.2585, allocations: 0 / 0.9062 GB, free: 58 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.2585, allocations: 7.984 kB / 0.9063 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.45e-05/0.2585, allocations: 91.27 kB / 0.9063 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2585, allocations: 0 / 0.9063 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002495/0.2588, allocations: 39.94 kB / 0.9064 GB, free: 57.86 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: 6 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003225/0.2591, allocations: 171.2 kB / 0.9065 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002138/0.2594, allocations: 75.89 kB / 0.9066 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2594, allocations: 0 / 0.9066 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.685e-05/0.2595, allocations: 39.92 kB / 0.9067 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000233/0.2597, allocations: 12.12 kB / 0.9067 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003563/0.2601, allocations: 230.8 kB / 0.9069 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001663/0.2602, allocations: 0.6888 MB / 0.9076 GB, free: 56.6 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.656e-05/0.2603, allocations: 15.42 kB / 0.9076 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.2603, allocations: 0 / 0.9076 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of Templates: time 0.002881/0.2632, allocations: 1.609 MB / 0.9091 GB, free: 54.99 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1)