Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.775/2.775, allocations: 287.5 MB / 302.4 MB, free: 8.371 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.001356/0.001355, allocations: 182 kB / 371 MB, free: 10.88 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.355/2.355, allocations: 205.4 MB / 0.6297 GB, free: 10.6 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.0009135/0.0009131, allocations: 87.72 kB / 0.743 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004786/0.0004787, allocations: 11.83 kB / 0.8659 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2479/0.2484, allocations: 115.3 MB / 0.9784 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.001762/0.2503, allocations: 1.207 MB / 0.9796 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001625/0.2519, allocations: 0.7191 MB / 0.9803 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.989e-05/0.252, allocations: 0 / 0.9803 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.464e-05/0.2521, allocations: 3.938 kB / 0.9803 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.184e-05/0.2521, allocations: 3.938 kB / 0.9803 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005614/0.2527, allocations: 103.7 kB / 0.9804 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001054/0.2528, allocations: 71.77 kB / 0.9805 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.253, allocations: 4 kB / 0.9805 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.017e-05/0.2531, allocations: 35.91 kB / 0.9805 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.441e-05/0.2531, allocations: 35.83 kB / 0.9806 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.022e-05/0.2532, allocations: 0 / 0.9806 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002156/0.2534, allocations: 87.91 kB / 0.9807 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.202e-05/0.2534, allocations: 11.92 kB / 0.9807 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.396e-05/0.2535, allocations: 37.7 kB / 0.9807 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001792/0.2537, allocations: 100 kB / 0.9808 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.2537, allocations: 0 / 0.9808 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.974e-06/0.2537, allocations: 0 / 0.9808 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.966e-06/0.2537, allocations: 0 / 0.9808 GB, free: 25.84 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.000603/0.2543, allocations: 408.7 kB / 0.9812 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.2544, allocations: 16.02 kB / 0.9812 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.82e-05/0.2544, allocations: 34.56 kB / 0.9812 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.769e-05/0.2545, allocations: 15.86 kB / 0.9813 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.089e-05/0.2546, allocations: 171 kB / 0.9814 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.821e-05/0.2546, allocations: 4 kB / 0.9814 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.115e-05/0.2547, allocations: 4 kB / 0.9814 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002334/0.2549, allocations: 69.66 kB / 0.9815 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.2549, allocations: 0 / 0.9815 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.2549, allocations: 0 / 0.9815 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.255, allocations: 3.984 kB / 0.9815 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002115/0.2552, allocations: 55.86 kB / 0.9815 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007842/0.256, allocations: 316.7 kB / 0.9819 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002563/0.2563, allocations: 50.56 kB / 0.9819 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002066/0.2565, allocations: 32.97 kB / 0.9819 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.299e-05/0.2566, allocations: 7.984 kB / 0.9819 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003385/0.2569, allocations: 83.33 kB / 0.982 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.655e-06/0.2569, allocations: 0 / 0.982 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0005752/0.2575, allocations: 145.6 kB / 0.9822 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/0.2576, allocations: 55.41 kB / 0.9822 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.464e-05/0.2577, allocations: 121.8 kB / 0.9823 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.2577, allocations: 33.69 kB / 0.9824 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.511e-05/0.2578, allocations: 96.27 kB / 0.9825 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.324e-05/0.2578, allocations: 11.88 kB / 0.9825 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.949e-06/0.2578, allocations: 8 kB / 0.9825 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.886e-05/0.2579, allocations: 314.8 kB / 0.9828 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001246/0.258, allocations: 27.98 kB / 0.9828 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00014/0.2582, allocations: 62.42 kB / 0.9829 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001406/0.2583, allocations: 28 kB / 0.9829 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2583, allocations: 3.938 kB / 0.9829 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003463/0.2587, allocations: 121.5 kB / 0.983 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.2587, allocations: 8 kB / 0.983 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.2587, allocations: 0 / 0.983 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.2588, allocations: 3.953 kB / 0.983 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001519/0.2589, allocations: 15.98 kB / 0.983 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.259, allocations: 400 / 0.983 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.2591, allocations: 11.98 kB / 0.983 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.772e-05/0.2591, allocations: 8 kB / 0.983 GB, free: 23.29 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 8.77e-05/0.2592, allocations: 121.8 kB / 0.9832 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.979e-05/0.2592, allocations: 7.906 kB / 0.9832 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.28e-05/0.2593, allocations: 12.38 kB / 0.9832 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.2593, allocations: 3.953 kB / 0.9832 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.2593, allocations: 0 / 0.9832 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.2593, allocations: 3.984 kB / 0.9832 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005582/0.2599, allocations: 386.4 kB / 0.9836 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.2599, allocations: 7.984 kB / 0.9836 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.01e-05/0.26, allocations: 4 kB / 0.9836 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.26, allocations: 3.953 kB / 0.9836 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.26, allocations: 4 kB / 0.9836 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.26, allocations: 0 / 0.9836 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.26, allocations: 0 / 0.9836 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003724/0.2604, allocations: 215.4 kB / 0.9838 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.759e-05/0.2605, allocations: 85.02 kB / 0.9839 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.405e-05/0.2605, allocations: 3.953 kB / 0.9839 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001427/0.2606, allocations: 11.98 kB / 0.9839 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.173e-05/0.2607, allocations: 4 kB / 0.9839 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.2607, allocations: 7.984 kB / 0.9839 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.2e-05/0.2608, allocations: 95.81 kB / 0.984 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2608, allocations: 3.938 kB / 0.984 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004019/0.2612, allocations: 43.98 kB / 0.984 GB, free: 22.19 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.000892/0.2621, allocations: 0.8046 MB / 0.9848 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003436/0.2625, allocations: 79.97 kB / 0.9849 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2625, allocations: 0 / 0.9849 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001504/0.2627, allocations: 35.98 kB / 0.9849 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003242/0.263, allocations: 15.94 kB / 0.9849 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001257/0.2643, allocations: 0.5975 MB / 0.9855 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001326/0.2644, allocations: 0.6887 MB / 0.9862 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.049e-05/0.2645, allocations: 8.672 kB / 0.9862 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.853e-05/0.2646, allocations: 19.42 kB / 0.9862 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of SimCode: time 1.022e-06/0.2646, allocations: 0 / 0.9862 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01975/0.2843, allocations: 2.339 MB / 0.9885 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001758/0.2846, allocations: 248.2 kB / 0.9887 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.599/2.883, allocations: 0 / 0.9887 GB, free: 17.41 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.fmu > Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1)