Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 3.078/3.078, allocations: 287.3 MB / 302.3 MB, free: 8.168 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001645/0.001645, allocations: 181 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.168/2.168, allocations: 205.4 MB / 0.6295 GB, free: 10.64 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001117/0.001117, allocations: 98.64 kB / 0.7428 GB, free: 6.652 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004756/0.0004758, allocations: 15.88 kB / 0.8656 GB, free: 139.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2436/0.2441, allocations: 115.3 MB / 0.9782 GB, free: 28.41 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.001938/0.2461, allocations: 1.195 MB / 0.9794 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001493/0.2476, allocations: 0.7192 MB / 0.9801 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.097e-05/0.2478, allocations: 4 kB / 0.9801 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.995e-05/0.2478, allocations: 3.938 kB / 0.9801 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.634e-05/0.2479, allocations: 11.97 kB / 0.9801 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005844/0.2485, allocations: 95.7 kB / 0.9802 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.721e-05/0.2486, allocations: 43.94 kB / 0.9802 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.862e-05/0.2487, allocations: 7.984 kB / 0.9802 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.9e-05/0.2488, allocations: 31.91 kB / 0.9803 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.526e-05/0.2489, allocations: 31.84 kB / 0.9803 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.788e-05/0.2489, allocations: 4 kB / 0.9803 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002037/0.2491, allocations: 75.86 kB / 0.9804 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.329e-05/0.2492, allocations: 19.86 kB / 0.9804 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.243e-05/0.2492, allocations: 33.7 kB / 0.9804 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001867/0.2494, allocations: 100 kB / 0.9805 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.2494, allocations: 0 / 0.9805 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.894e-06/0.2495, allocations: 0 / 0.9805 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.648e-06/0.2495, allocations: 0 / 0.9805 GB, free: 26.01 MB / 0.6198 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.0006331/0.2501, allocations: 404.8 kB / 0.9809 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.2502, allocations: 12.03 kB / 0.9809 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.436e-05/0.2502, allocations: 15.86 kB / 0.9809 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.297e-05/0.2503, allocations: 167 kB / 0.9811 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.183e-05/0.2504, allocations: 8 kB / 0.9811 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.644e-05/0.2504, allocations: 7.984 kB / 0.9811 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00023/0.2506, allocations: 65.66 kB / 0.9812 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.2507, allocations: 3.938 kB / 0.9812 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.2507, allocations: 0 / 0.9812 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.2507, allocations: 4 kB / 0.9812 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000208/0.2509, allocations: 47.97 kB / 0.9812 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007395/0.2517, allocations: 324.6 kB / 0.9815 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001766/0.2519, allocations: 58.56 kB / 0.9816 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.607e-05/0.2519, allocations: 0 / 0.9816 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002374/0.2522, allocations: 75.5 kB / 0.9816 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.995e-06/0.2522, allocations: 4 kB / 0.9816 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0005708/0.2528, allocations: 153.8 kB / 0.9818 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.555e-05/0.2528, allocations: 55.39 kB / 0.9818 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.207e-05/0.2529, allocations: 121.8 kB / 0.982 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.2529, allocations: 25.7 kB / 0.982 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.935e-05/0.253, allocations: 100.3 kB / 0.9821 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.383e-05/0.253, allocations: 11.75 kB / 0.9821 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.929e-06/0.253, allocations: 8 kB / 0.9821 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.455e-05/0.2532, allocations: 318.8 kB / 0.9824 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001255/0.2533, allocations: 23.98 kB / 0.9824 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001392/0.2534, allocations: 54.94 kB / 0.9825 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001465/0.2536, allocations: 43.98 kB / 0.9825 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.2536, allocations: 0 / 0.9825 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003664/0.254, allocations: 117.5 kB / 0.9826 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.872e-05/0.254, allocations: 8.062 kB / 0.9826 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.483e-06/0.254, allocations: 0 / 0.9826 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.391e-05/0.2541, allocations: 0 / 0.9826 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.2542, allocations: 15.98 kB / 0.9827 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.2543, allocations: 3.953 kB / 0.9827 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001106/0.2544, allocations: 11.94 kB / 0.9827 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.937e-05/0.2544, allocations: 4 kB / 0.9827 GB, free: 23.55 MB / 0.6198 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 9.833e-05/0.2545, allocations: 127.8 kB / 0.9828 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.245e-05/0.2545, allocations: 11.84 kB / 0.9828 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.367e-05/0.2546, allocations: 12.38 kB / 0.9828 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.2546, allocations: 0 / 0.9828 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/0.2546, allocations: 0 / 0.9828 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.2546, allocations: 3.953 kB / 0.9828 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005929/0.2552, allocations: 386.5 kB / 0.9832 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.2553, allocations: 4 kB / 0.9832 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.808e-05/0.2553, allocations: 7.984 kB / 0.9832 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.2554, allocations: 0 / 0.9832 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.2554, allocations: 0 / 0.9832 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.2554, allocations: 7.891 kB / 0.9832 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.2554, allocations: 0 / 0.9832 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003881/0.2558, allocations: 219.4 kB / 0.9834 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.198e-05/0.2558, allocations: 85.02 kB / 0.9835 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.699e-05/0.2559, allocations: 4 kB / 0.9835 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001438/0.256, allocations: 4 kB / 0.9835 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.096e-05/0.2561, allocations: 11.94 kB / 0.9835 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.2561, allocations: 0 / 0.9835 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.962e-05/0.2562, allocations: 91.27 kB / 0.9836 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.11e-07/0.2562, allocations: 8 kB / 0.9836 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004149/0.2566, allocations: 39.98 kB / 0.9837 GB, free: 22.45 MB / 0.6198 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.0004235/0.2571, allocations: 158.5 kB / 0.9838 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000381/0.2575, allocations: 80.08 kB / 0.9839 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.2575, allocations: 0 / 0.9839 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001522/0.2577, allocations: 40.08 kB / 0.9839 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002444/0.2579, allocations: 7.984 kB / 0.9839 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000489/0.2584, allocations: 201.4 kB / 0.9841 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001344/0.2586, allocations: 0.6926 MB / 0.9848 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.959e-05/0.2586, allocations: 12.16 kB / 0.9848 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.755e-05/0.2587, allocations: 7.438 kB / 0.9848 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of SimCode: time 1.203e-06/0.2587, allocations: 0 / 0.9848 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of Templates: time 0.005083/0.2638, allocations: 1.332 MB / 0.9861 GB, free: 19.89 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.makefile (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & ./Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1)