Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.776/1.776, allocations: 288.4 MB / 303.3 MB, free: 8.059 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.001508/0.001508, allocations: 176.5 kB / 372 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.813/1.813, allocations: 205.4 MB / 0.6307 GB, free: 10.01 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.000887/0.000887, allocations: 83 kB / 0.744 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004455/0.0004456, allocations: 10.91 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.2501, allocations: 115.3 MB / 0.9796 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.001569/0.2518, allocations: 1.195 MB / 0.9808 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001042/0.2528, allocations: 0.7227 MB / 0.9815 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.725e-05/0.2529, allocations: 4 kB / 0.9815 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.876e-05/0.2529, allocations: 7.922 kB / 0.9815 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.632e-05/0.253, allocations: 3.938 kB / 0.9815 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004801/0.2535, allocations: 95.77 kB / 0.9816 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.103e-05/0.2536, allocations: 71.77 kB / 0.9817 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.527e-05/0.2537, allocations: 8 kB / 0.9817 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.955e-05/0.2538, allocations: 27.91 kB / 0.9817 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.148e-05/0.2538, allocations: 39.83 kB / 0.9818 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.2538, allocations: 4 kB / 0.9818 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001555/0.254, allocations: 75.92 kB / 0.9818 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.049e-05/0.254, allocations: 19.91 kB / 0.9819 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.959e-05/0.2541, allocations: 37.69 kB / 0.9819 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001421/0.2542, allocations: 92.06 kB / 0.982 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/0.2542, allocations: 8 kB / 0.982 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.392e-06/0.2543, allocations: 3.938 kB / 0.982 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.638e-06/0.2543, allocations: 0 / 0.982 GB, free: 25.14 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.0005331/0.2548, allocations: 404.8 kB / 0.9824 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.2549, allocations: 8.031 kB / 0.9824 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.542e-05/0.2549, allocations: 38.55 kB / 0.9824 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.615e-05/0.2549, allocations: 11.91 kB / 0.9824 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.759e-05/0.255, allocations: 178.9 kB / 0.9826 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.981e-05/0.2551, allocations: 8 kB / 0.9826 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.695e-05/0.2551, allocations: 4 kB / 0.9826 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.2553, allocations: 69.66 kB / 0.9827 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.2553, allocations: 4 kB / 0.9827 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.2553, allocations: 3.984 kB / 0.9827 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.2553, allocations: 0 / 0.9827 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001297/0.2555, allocations: 47.91 kB / 0.9827 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005889/0.2561, allocations: 324.7 kB / 0.983 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001328/0.2562, allocations: 50.56 kB / 0.9831 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.18e-05/0.2563, allocations: 32.97 kB / 0.9831 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.823e-05/0.2563, allocations: 4 kB / 0.9831 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000216/0.2566, allocations: 79.31 kB / 0.9832 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.773e-06/0.2566, allocations: 4 kB / 0.9832 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004287/0.257, allocations: 153.5 kB / 0.9834 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.724e-05/0.2571, allocations: 59.39 kB / 0.9834 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.386e-05/0.2571, allocations: 113.8 kB / 0.9835 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.2572, allocations: 33.7 kB / 0.9836 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.397e-05/0.2572, allocations: 100.2 kB / 0.9837 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.89e-05/0.2573, allocations: 15.81 kB / 0.9837 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.822e-06/0.2573, allocations: 0 / 0.9837 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.2e-05/0.2574, allocations: 322.8 kB / 0.984 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001318/0.2575, allocations: 35.86 kB / 0.984 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.22e-05/0.2576, allocations: 50.56 kB / 0.9841 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.782e-05/0.2577, allocations: 31.98 kB / 0.9841 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2577, allocations: 0 / 0.9841 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002185/0.2579, allocations: 125.5 kB / 0.9842 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.258, allocations: 8 kB / 0.9842 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.258, allocations: 0 / 0.9842 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.258, allocations: 0 / 0.9842 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.2581, allocations: 11.98 kB / 0.9842 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.2581, allocations: 7.953 kB / 0.9842 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.285e-05/0.2582, allocations: 4 kB / 0.9842 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.706e-05/0.2582, allocations: 4 kB / 0.9842 GB, free: 22.59 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.548e-05/0.2583, allocations: 129.8 kB / 0.9844 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.479e-05/0.2583, allocations: 7.906 kB / 0.9844 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.351e-05/0.2584, allocations: 4.375 kB / 0.9844 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.2584, allocations: 4 kB / 0.9844 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.2584, allocations: 0 / 0.9844 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.2584, allocations: 3.953 kB / 0.9844 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004205/0.2588, allocations: 390.4 kB / 0.9848 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.2589, allocations: 0 / 0.9848 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.927e-05/0.2589, allocations: 7.984 kB / 0.9848 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.2589, allocations: 4 kB / 0.9848 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.2589, allocations: 0 / 0.9848 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.2589, allocations: 3.953 kB / 0.9848 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2589, allocations: 0 / 0.9848 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002504/0.2592, allocations: 219.4 kB / 0.985 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.913e-05/0.2592, allocations: 81.02 kB / 0.9851 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.139e-05/0.2593, allocations: 4 kB / 0.9851 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.417e-05/0.2594, allocations: 8 kB / 0.9851 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.348e-05/0.2594, allocations: 7.938 kB / 0.9851 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.2594, allocations: 11.88 kB / 0.9851 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.05e-05/0.2595, allocations: 99.27 kB / 0.9852 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2595, allocations: 0 / 0.9852 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003218/0.2598, allocations: 39.98 kB / 0.9852 GB, free: 21.49 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.0008119/0.2606, allocations: 0.808 MB / 0.986 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002437/0.2609, allocations: 79.88 kB / 0.9861 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.656e-06/0.2609, allocations: 4.125 kB / 0.9861 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.253e-05/0.261, allocations: 39.98 kB / 0.9861 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003085/0.2613, allocations: 7.953 kB / 0.9861 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.2625, allocations: 0.6041 MB / 0.9867 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002066/0.2627, allocations: 0.6926 MB / 0.9874 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.495e-05/0.2628, allocations: 8.172 kB / 0.9874 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.709e-05/0.2628, allocations: 15.44 kB / 0.9874 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.2628, allocations: 0 / 0.9874 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01391/0.2767, allocations: 2.326 MB / 0.9897 GB, free: 16.99 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001963/0.277, allocations: 259 kB / 0.9899 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.69/1.967, allocations: 4 kB / 0.9899 GB, free: 16.65 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1)