Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.Haldi2008WindowsTOut,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",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.393/1.393, allocations: 251.9 MB / 266.8 MB, free: 11.04 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.001078/0.001078, allocations: 172 kB / 326.5 MB, free: 2.242 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.673/1.673, allocations: 205.4 MB / 0.5775 GB, free: 20.28 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.0008533/0.0008533, allocations: 104 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004675/0.0004677, allocations: 10.97 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.252, allocations: 106.3 MB / 0.9002 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.001619/0.2536, allocations: 1.199 MB / 0.9013 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001068/0.2547, allocations: 0.7303 MB / 0.902 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.082e-05/0.2548, allocations: 0 / 0.902 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.84e-05/0.2548, allocations: 7.922 kB / 0.902 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.969e-05/0.2549, allocations: 7.984 kB / 0.902 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004705/0.2553, allocations: 95.7 kB / 0.9021 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.399e-05/0.2555, allocations: 47.88 kB / 0.9022 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.111e-05/0.2556, allocations: 4 kB / 0.9022 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.767e-05/0.2556, allocations: 39.83 kB / 0.9022 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.236e-05/0.2557, allocations: 35.83 kB / 0.9023 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.2557, allocations: 4 kB / 0.9023 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000138/0.2559, allocations: 67.94 kB / 0.9023 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.908e-05/0.2559, allocations: 15.91 kB / 0.9023 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.599e-05/0.2559, allocations: 37.7 kB / 0.9024 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001387/0.2561, allocations: 95.77 kB / 0.9025 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.2561, allocations: 0 / 0.9025 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.502e-06/0.2561, allocations: 0 / 0.9025 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.2561, allocations: 0 / 0.9025 GB, free: 61.43 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.0005637/0.2567, allocations: 409.2 kB / 0.9029 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.2567, allocations: 8.031 kB / 0.9029 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.165e-05/0.2568, allocations: 38.56 kB / 0.9029 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.215e-05/0.2568, allocations: 15.86 kB / 0.9029 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.503e-05/0.2569, allocations: 182.8 kB / 0.9031 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.257, allocations: 7.984 kB / 0.9031 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.522e-05/0.257, allocations: 4 kB / 0.9031 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001814/0.2572, allocations: 69.66 kB / 0.9032 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.914e-06/0.2572, allocations: 0 / 0.9032 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.2572, allocations: 0 / 0.9032 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.2572, allocations: 0 / 0.9032 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001194/0.2573, allocations: 47.97 kB / 0.9032 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000538/0.2579, allocations: 316.7 kB / 0.9035 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001114/0.258, allocations: 50.56 kB / 0.9036 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/0.258, allocations: 0 / 0.9036 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001789/0.2582, allocations: 79.5 kB / 0.9036 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.422e-06/0.2582, allocations: 3.938 kB / 0.9037 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0003655/0.2586, allocations: 157.5 kB / 0.9038 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/0.2586, allocations: 59.39 kB / 0.9039 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.385e-05/0.2587, allocations: 113.8 kB / 0.904 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.2587, allocations: 33.7 kB / 0.904 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.077e-05/0.2588, allocations: 96.22 kB / 0.9041 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.681e-05/0.2588, allocations: 15.84 kB / 0.9041 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.042e-06/0.2588, allocations: 0 / 0.9041 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.507e-05/0.2589, allocations: 322.8 kB / 0.9044 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.279e-05/0.259, allocations: 27.98 kB / 0.9044 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.855e-05/0.2591, allocations: 50.56 kB / 0.9045 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.013e-05/0.2591, allocations: 31.98 kB / 0.9045 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2592, allocations: 0 / 0.9045 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001959/0.2594, allocations: 121.5 kB / 0.9046 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.2594, allocations: 8.062 kB / 0.9046 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.2594, allocations: 4 kB / 0.9046 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.2594, allocations: 3.938 kB / 0.9047 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.533e-05/0.2595, allocations: 19.88 kB / 0.9047 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.2596, allocations: 4 kB / 0.9047 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.394e-05/0.2596, allocations: 7.906 kB / 0.9047 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.2596, allocations: 4 kB / 0.9047 GB, free: 58.92 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 7.845e-05/0.2597, allocations: 125.8 kB / 0.9048 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.225e-05/0.2598, allocations: 4 kB / 0.9048 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.725e-05/0.2598, allocations: 4.375 kB / 0.9048 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.2598, allocations: 0 / 0.9048 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.2598, allocations: 7.953 kB / 0.9048 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.2598, allocations: 0 / 0.9048 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003506/0.2602, allocations: 394.3 kB / 0.9052 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.2602, allocations: 0 / 0.9052 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.739e-05/0.2602, allocations: 7.984 kB / 0.9052 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.2602, allocations: 0 / 0.9052 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.2602, allocations: 7.953 kB / 0.9052 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.2603, allocations: 0 / 0.9052 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2603, allocations: 0 / 0.9052 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002226/0.2605, allocations: 223.8 kB / 0.9054 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.297e-05/0.2605, allocations: 81.05 kB / 0.9055 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.987e-05/0.2605, allocations: 4 kB / 0.9055 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.583e-05/0.2606, allocations: 11.95 kB / 0.9055 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.906e-05/0.2607, allocations: 7.969 kB / 0.9055 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.267e-06/0.2607, allocations: 8 kB / 0.9055 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.199e-05/0.2607, allocations: 91.27 kB / 0.9056 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2607, allocations: 4 kB / 0.9056 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000277/0.261, allocations: 39.98 kB / 0.9057 GB, free: 57.82 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.000638/0.2617, allocations: 0.8047 MB / 0.9064 GB, free: 57 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000211/0.2619, allocations: 83.88 kB / 0.9065 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2619, allocations: 0 / 0.9065 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.686e-05/0.262, allocations: 40.11 kB / 0.9066 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001762/0.2622, allocations: 3.953 kB / 0.9066 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006148/0.2628, allocations: 0.7215 MB / 0.9073 GB, free: 56.1 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001525/0.263, allocations: 0.6926 MB / 0.908 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.193e-05/0.263, allocations: 8.172 kB / 0.908 GB, free: 55.37 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.14e-05/0.2631, allocations: 19.44 kB / 0.908 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.2631, allocations: 0 / 0.908 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01322/0.2763, allocations: 2.309 MB / 0.9102 GB, free: 53.22 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001698/0.2765, allocations: 258.2 kB / 0.9105 GB, free: 52.89 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.662/1.939, allocations: 0 / 0.9105 GB, free: 52.89 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1)