Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.754/1.754, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00116/0.00116, allocations: 180.2 kB / 326.5 MB, free: 2.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.797/1.797, allocations: 205.4 MB / 0.5775 GB, free: 20.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009794/0.0009795, allocations: 91.36 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000363/0.000363, allocations: 10.56 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2589/0.2593, allocations: 106.3 MB / 0.9001 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.001595/0.261, allocations: 1.203 MB / 0.9013 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001378/0.2624, allocations: 0.7225 MB / 0.902 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.681e-05/0.2625, allocations: 4 kB / 0.902 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.682e-05/0.2625, allocations: 7.922 kB / 0.902 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.759e-05/0.2626, allocations: 7.969 kB / 0.902 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006025/0.2632, allocations: 95.7 kB / 0.9021 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.367e-05/0.2633, allocations: 51.88 kB / 0.9022 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.2634, allocations: 4 kB / 0.9022 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.2635, allocations: 31.89 kB / 0.9022 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.369e-05/0.2636, allocations: 35.84 kB / 0.9023 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.573e-05/0.2637, allocations: 4 kB / 0.9023 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001787/0.2638, allocations: 67.92 kB / 0.9023 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.442e-05/0.2639, allocations: 11.92 kB / 0.9023 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.069e-05/0.2639, allocations: 37.7 kB / 0.9024 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002105/0.2642, allocations: 99.75 kB / 0.9025 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2642, allocations: 3.938 kB / 0.9025 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.647e-06/0.2642, allocations: 0 / 0.9025 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.316e-06/0.2642, allocations: 0 / 0.9025 GB, free: 61.47 MB / 0.6042 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.0008796/0.2651, allocations: 409.2 kB / 0.9029 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 7.028e-05/0.2652, allocations: 12.03 kB / 0.9029 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.028e-05/0.2652, allocations: 30.56 kB / 0.9029 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.512e-05/0.2653, allocations: 15.86 kB / 0.9029 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001703/0.2655, allocations: 174.9 kB / 0.9031 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.319e-05/0.2655, allocations: 11.98 kB / 0.9031 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/0.2656, allocations: 0 / 0.9031 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002332/0.2658, allocations: 73.64 kB / 0.9032 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/0.2658, allocations: 3.984 kB / 0.9032 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.736e-05/0.2659, allocations: 4 kB / 0.9032 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.2659, allocations: 0 / 0.9032 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001432/0.266, allocations: 47.97 kB / 0.9032 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008035/0.2668, allocations: 316.7 kB / 0.9035 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001388/0.267, allocations: 54.56 kB / 0.9036 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.415e-05/0.267, allocations: 0 / 0.9036 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002852/0.2673, allocations: 75.5 kB / 0.9036 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.333e-06/0.2673, allocations: 3.938 kB / 0.9036 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0004746/0.2678, allocations: 161.5 kB / 0.9038 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.713e-05/0.2679, allocations: 59.39 kB / 0.9039 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.268, allocations: 117.8 kB / 0.904 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.631e-05/0.2681, allocations: 33.7 kB / 0.904 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.533e-05/0.2681, allocations: 92.22 kB / 0.9041 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.786e-05/0.2682, allocations: 19.84 kB / 0.9041 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.063e-06/0.2682, allocations: 0 / 0.9041 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.2683, allocations: 322.8 kB / 0.9044 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.015e-05/0.2684, allocations: 23.98 kB / 0.9044 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.074e-05/0.2685, allocations: 46.56 kB / 0.9045 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.566e-05/0.2686, allocations: 39.98 kB / 0.9045 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2686, allocations: 0 / 0.9045 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002168/0.2689, allocations: 117.8 kB / 0.9046 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.477e-05/0.2689, allocations: 4 kB / 0.9046 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.2689, allocations: 4.062 kB / 0.9046 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.65e-05/0.2689, allocations: 4 kB / 0.9046 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.2691, allocations: 23.88 kB / 0.9047 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.2691, allocations: 4.062 kB / 0.9047 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.849e-05/0.2692, allocations: 11.91 kB / 0.9047 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.639e-05/0.2692, allocations: 4 kB / 0.9047 GB, free: 58.96 MB / 0.6042 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.0001196/0.2693, allocations: 120.8 kB / 0.9048 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.374e-05/0.2693, allocations: 8 kB / 0.9048 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.043e-05/0.2694, allocations: 12.31 kB / 0.9048 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.2694, allocations: 0 / 0.9048 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/0.2694, allocations: 3.953 kB / 0.9048 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.2694, allocations: 0 / 0.9048 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004108/0.2698, allocations: 390.3 kB / 0.9052 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2698, allocations: 4 kB / 0.9052 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.583e-05/0.2699, allocations: 7.984 kB / 0.9052 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.654e-06/0.2699, allocations: 0 / 0.9052 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.2699, allocations: 7.953 kB / 0.9052 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.2699, allocations: 0 / 0.9052 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2699, allocations: 0 / 0.9052 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002426/0.2702, allocations: 227.3 kB / 0.9054 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.84e-05/0.2702, allocations: 81.05 kB / 0.9055 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.951e-05/0.2702, allocations: 0 / 0.9055 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.463e-05/0.2703, allocations: 7.953 kB / 0.9055 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.437e-05/0.2704, allocations: 7.984 kB / 0.9055 GB, free: 58 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.2704, allocations: 4 kB / 0.9055 GB, free: 58 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.549e-05/0.2705, allocations: 91.27 kB / 0.9056 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2705, allocations: 0 / 0.9056 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004015/0.2709, allocations: 43.98 kB / 0.9057 GB, free: 57.86 MB / 0.6042 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.0007302/0.2716, allocations: 0.814 MB / 0.9065 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002327/0.2719, allocations: 75.89 kB / 0.9065 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.2719, allocations: 0 / 0.9065 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001014/0.272, allocations: 44.09 kB / 0.9066 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002417/0.2722, allocations: 9.781 kB / 0.9066 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008376/0.2731, allocations: 0.7226 MB / 0.9073 GB, free: 56.13 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001699/0.2733, allocations: 0.6926 MB / 0.908 GB, free: 55.41 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.359e-05/0.2733, allocations: 8.172 kB / 0.908 GB, free: 55.41 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.611e-05/0.2734, allocations: 19.44 kB / 0.908 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of SimCode: time 8.41e-07/0.2734, allocations: 0 / 0.908 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01303/0.2864, allocations: 2.315 MB / 0.9102 GB, free: 53.29 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001591/0.2866, allocations: 259.3 kB / 0.9105 GB, free: 52.93 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.601/1.887, allocations: 0.625 kB / 0.9105 GB, free: 52.93 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1)