Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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.Herkel2008WindowsSmall,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall",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.783/1.783, allocations: 288.4 MB / 303.3 MB, free: 8.137 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.001476/0.001476, allocations: 182.4 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.746/1.746, allocations: 205.4 MB / 0.6307 GB, free: 9.984 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.0008113/0.0008112, allocations: 93.03 kB / 0.744 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004313/0.0004314, allocations: 11.66 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2647/0.2651, allocations: 115.3 MB / 0.9796 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.001832/0.267, allocations: 1.203 MB / 0.9808 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001272/0.2683, allocations: 0.7227 MB / 0.9815 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.008e-05/0.2684, allocations: 0 / 0.9815 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.913e-05/0.2685, allocations: 3.938 kB / 0.9815 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.932e-05/0.2685, allocations: 11.92 kB / 0.9815 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005995/0.2692, allocations: 95.75 kB / 0.9816 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.879e-05/0.2693, allocations: 67.78 kB / 0.9817 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.521e-05/0.2694, allocations: 8 kB / 0.9817 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.2695, allocations: 35.89 kB / 0.9817 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.192e-05/0.2696, allocations: 31.84 kB / 0.9818 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.726e-05/0.2696, allocations: 4 kB / 0.9818 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001931/0.2698, allocations: 83.91 kB / 0.9818 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.964e-05/0.2698, allocations: 15.92 kB / 0.9819 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.419e-05/0.2699, allocations: 37.64 kB / 0.9819 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001596/0.27, allocations: 100 kB / 0.982 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.27, allocations: 0 / 0.982 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.022e-06/0.27, allocations: 4 kB / 0.982 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.628e-06/0.2701, 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.0005997/0.2707, allocations: 408.7 kB / 0.9824 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.2707, allocations: 8.031 kB / 0.9824 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.39e-05/0.2708, allocations: 38.56 kB / 0.9824 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.528e-05/0.2708, allocations: 7.906 kB / 0.9824 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.2709, allocations: 175 kB / 0.9826 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.8e-05/0.271, allocations: 4 kB / 0.9826 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/0.271, allocations: 8 kB / 0.9826 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/0.2712, allocations: 69.64 kB / 0.9827 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.2712, allocations: 0 / 0.9827 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.2712, allocations: 0 / 0.9827 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.2712, allocations: 4 kB / 0.9827 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001316/0.2714, allocations: 51.89 kB / 0.9827 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000546/0.2719, allocations: 316.7 kB / 0.983 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001482/0.2721, allocations: 54.56 kB / 0.9831 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.382e-05/0.2722, allocations: 40.95 kB / 0.9831 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.2722, allocations: 0 / 0.9831 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002096/0.2724, allocations: 87.31 kB / 0.9832 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.964e-06/0.2724, allocations: 0 / 0.9832 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004063/0.2729, allocations: 149.6 kB / 0.9834 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/0.2729, allocations: 59.41 kB / 0.9834 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.907e-05/0.273, allocations: 121.8 kB / 0.9835 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.273, allocations: 29.7 kB / 0.9836 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.48e-05/0.273, allocations: 96.27 kB / 0.9836 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.563e-05/0.2731, allocations: 11.81 kB / 0.9837 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.512e-06/0.2731, allocations: 4 kB / 0.9837 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.995e-05/0.2731, allocations: 314.8 kB / 0.984 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.742e-05/0.2732, allocations: 35.92 kB / 0.984 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.034e-05/0.2733, allocations: 58.48 kB / 0.9841 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.353e-05/0.2734, allocations: 32.3 kB / 0.9841 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.2734, allocations: 0 / 0.9841 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002035/0.2736, allocations: 121.5 kB / 0.9842 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.2736, allocations: 4 kB / 0.9842 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.2736, allocations: 0 / 0.9842 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.2737, allocations: 4 kB / 0.9842 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.442e-05/0.2738, allocations: 11.98 kB / 0.9842 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.301e-06/0.2738, allocations: 3.953 kB / 0.9842 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.596e-05/0.2738, allocations: 15.98 kB / 0.9842 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.2739, allocations: 7.938 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 6.448e-05/0.2739, allocations: 121.8 kB / 0.9844 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.26e-05/0.274, allocations: 7.906 kB / 0.9844 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.167e-05/0.274, allocations: 8.375 kB / 0.9844 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.274, allocations: 0 / 0.9844 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.274, allocations: 0 / 0.9844 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.274, allocations: 7.938 kB / 0.9844 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003389/0.2743, allocations: 390.4 kB / 0.9848 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.2744, allocations: 0 / 0.9848 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.865e-05/0.2744, allocations: 4 kB / 0.9848 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.2744, allocations: 0 / 0.9848 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.2744, allocations: 8 kB / 0.9848 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.2744, allocations: 3.953 kB / 0.9848 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.2744, allocations: 0 / 0.9848 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002303/0.2747, allocations: 219.4 kB / 0.985 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.884e-05/0.2747, allocations: 81.02 kB / 0.9851 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.2747, allocations: 0 / 0.9851 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.805e-05/0.2748, allocations: 11.98 kB / 0.9851 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.08e-05/0.2749, allocations: 7.953 kB / 0.9851 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.128e-06/0.2749, allocations: 11.98 kB / 0.9851 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.336e-05/0.2749, allocations: 91.22 kB / 0.9852 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2749, allocations: 3.938 kB / 0.9852 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002827/0.2752, 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.0006181/0.2758, allocations: 0.8099 MB / 0.986 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002241/0.2761, allocations: 80.2 kB / 0.9861 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2761, allocations: 4.125 kB / 0.9861 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.96e-05/0.2762, allocations: 39.97 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.0002266/0.2764, allocations: 12.97 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.0009052/0.2773, allocations: 0.5947 MB / 0.9867 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001141/0.2775, allocations: 0.6926 MB / 0.9874 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.568e-05/0.2775, allocations: 8.125 kB / 0.9874 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.025e-05/0.2775, allocations: 23.42 kB / 0.9874 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of SimCode: time 2.4e-07/0.2776, allocations: 0 / 0.9874 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01385/0.2914, allocations: 2.328 MB / 0.9897 GB, free: 16.98 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002014/0.2917, allocations: 258.6 kB / 0.9899 GB, free: 16.65 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.619/1.911, allocations: 4 kB / 0.99 GB, free: 16.64 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1)