Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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.Herkel2008WindowsSmall,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.865/2.865, allocations: 287.3 MB / 302.3 MB, free: 8.258 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.002379/0.002378, allocations: 179.3 kB / 370.8 MB, free: 10.86 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.251/2.251, allocations: 205.4 MB / 0.6295 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.001638/0.001638, allocations: 89.62 kB / 0.7428 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005514/0.0005514, allocations: 10.19 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2249/0.2255, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.001911/0.2274, allocations: 1.195 MB / 0.9794 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001598/0.2291, allocations: 0.7153 MB / 0.9801 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.085e-05/0.2292, allocations: 4 kB / 0.9802 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.077e-05/0.2292, allocations: 7.922 kB / 0.9802 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.403e-05/0.2293, allocations: 7.984 kB / 0.9802 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005633/0.2299, allocations: 99.69 kB / 0.9803 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.23, allocations: 43.94 kB / 0.9803 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.844e-05/0.2301, allocations: 4 kB / 0.9803 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.861e-05/0.2302, allocations: 31.89 kB / 0.9803 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.107e-05/0.2303, allocations: 35.84 kB / 0.9804 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.776e-05/0.2303, allocations: 11.94 kB / 0.9804 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001958/0.2305, allocations: 71.86 kB / 0.9805 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.348e-05/0.2306, allocations: 11.92 kB / 0.9805 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.118e-05/0.2306, allocations: 37.7 kB / 0.9805 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001983/0.2308, allocations: 100 kB / 0.9806 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.2309, allocations: 0 / 0.9806 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.824e-06/0.2309, allocations: 0 / 0.9806 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.2309, allocations: 0 / 0.9806 GB, free: 25.88 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.0006539/0.2315, allocations: 410.9 kB / 0.981 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.2316, allocations: 16.02 kB / 0.981 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.133e-05/0.2317, allocations: 30.56 kB / 0.981 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.928e-05/0.2317, allocations: 11.86 kB / 0.981 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.92e-05/0.2318, allocations: 178.9 kB / 0.9812 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.149e-05/0.2319, allocations: 8 kB / 0.9812 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.203e-05/0.2319, allocations: 0 / 0.9812 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002402/0.2322, allocations: 73.64 kB / 0.9813 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.2322, allocations: 4 kB / 0.9813 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.189e-05/0.2322, allocations: 4 kB / 0.9813 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.2322, allocations: 0 / 0.9813 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002505/0.2325, allocations: 43.97 kB / 0.9813 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007626/0.2333, allocations: 328.6 kB / 0.9817 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001848/0.2335, allocations: 46.56 kB / 0.9817 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.698e-05/0.2335, allocations: 3.984 kB / 0.9817 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002639/0.2338, allocations: 79.5 kB / 0.9818 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.325e-06/0.2338, allocations: 0 / 0.9818 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.000623/0.2344, allocations: 157.4 kB / 0.9819 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/0.2345, allocations: 55.41 kB / 0.982 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.412e-05/0.2346, allocations: 117.8 kB / 0.9821 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.709e-05/0.2346, allocations: 33.7 kB / 0.9821 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.96e-05/0.2347, allocations: 92.33 kB / 0.9822 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.61e-05/0.2347, allocations: 19.8 kB / 0.9822 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.484e-05/0.2348, allocations: 0 / 0.9822 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.362e-05/0.2348, allocations: 322.8 kB / 0.9825 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.235, allocations: 23.98 kB / 0.9826 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/0.2351, allocations: 50.56 kB / 0.9826 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001548/0.2353, allocations: 35.98 kB / 0.9826 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.2353, allocations: 0 / 0.9826 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003817/0.2357, allocations: 121.5 kB / 0.9828 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.2358, allocations: 7.938 kB / 0.9828 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.2358, allocations: 3.938 kB / 0.9828 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.2358, allocations: 4 kB / 0.9828 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001666/0.236, allocations: 15.94 kB / 0.9828 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.236, allocations: 7.938 kB / 0.9828 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00011/0.2361, allocations: 4 kB / 0.9828 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.161e-05/0.2361, allocations: 12.05 kB / 0.9828 GB, free: 23.37 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 0.0001261/0.2363, allocations: 113.8 kB / 0.9829 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.975e-05/0.2363, allocations: 7.906 kB / 0.9829 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.64e-05/0.2364, allocations: 8.375 kB / 0.9829 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.2364, allocations: 0 / 0.9829 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.2364, allocations: 7.891 kB / 0.9829 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.2364, allocations: 4 kB / 0.9829 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007199/0.2371, allocations: 390.5 kB / 0.9833 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.2372, allocations: 0 / 0.9833 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.686e-05/0.2372, allocations: 7.984 kB / 0.9833 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.2373, allocations: 0 / 0.9833 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.921e-05/0.2373, allocations: 7.953 kB / 0.9833 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.2373, allocations: 0 / 0.9833 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.2373, allocations: 0 / 0.9833 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004304/0.2378, allocations: 223.8 kB / 0.9836 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.723e-05/0.2378, allocations: 81.02 kB / 0.9836 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.333e-05/0.2378, allocations: 0 / 0.9836 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001458/0.238, allocations: 7.953 kB / 0.9836 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.217e-05/0.2381, allocations: 7.984 kB / 0.9836 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.594e-05/0.2381, allocations: 8 kB / 0.9837 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.071e-05/0.2382, allocations: 95.86 kB / 0.9837 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.31e-07/0.2382, allocations: 0 / 0.9837 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004501/0.2386, allocations: 39.98 kB / 0.9838 GB, free: 22.28 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.001032/0.2397, allocations: 0.8185 MB / 0.9846 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003771/0.2401, allocations: 79.95 kB / 0.9847 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.2401, allocations: 0 / 0.9847 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000159/0.2403, allocations: 31.98 kB / 0.9847 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002943/0.2406, allocations: 18.19 kB / 0.9847 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008443/0.2414, allocations: 0.7128 MB / 0.9854 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000149/0.2416, allocations: 0.6926 MB / 0.9861 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.643e-05/0.2417, allocations: 8.172 kB / 0.9861 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.02e-05/0.2418, allocations: 19.44 kB / 0.9861 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of SimCode: time 1.032e-06/0.2418, allocations: 0 / 0.9861 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02419/0.266, allocations: 2.307 MB / 0.9884 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002697/0.2663, allocations: 250.6 kB / 0.9886 GB, free: 17.42 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.368/2.634, allocations: 3.938 kB / 0.9886 GB, free: 17.42 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall.fmu > Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1)