Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.Haldi2008WindowsTIn,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",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.379/1.379, allocations: 251.9 MB / 266.9 MB, free: 11 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.001485/0.001485, allocations: 183.2 kB / 326.5 MB, free: 2.207 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.858/1.858, 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.0008624/0.0008622, allocations: 86.08 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003595/0.0003595, allocations: 13.19 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.2501, allocations: 106.3 MB / 0.9001 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.001686/0.2518, allocations: 1.199 MB / 0.9013 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001228/0.2531, allocations: 0.7342 MB / 0.902 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.818e-05/0.2531, allocations: 0 / 0.902 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.774e-05/0.2532, allocations: 3.938 kB / 0.902 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.755e-05/0.2532, allocations: 15.97 kB / 0.9021 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000476/0.2537, allocations: 95.62 kB / 0.9021 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.852e-05/0.2538, allocations: 47.94 kB / 0.9022 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.861e-05/0.2539, allocations: 8 kB / 0.9022 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.358e-05/0.254, allocations: 31.91 kB / 0.9022 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.805e-05/0.2541, allocations: 35.83 kB / 0.9023 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.2541, allocations: 4 kB / 0.9023 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001398/0.2543, allocations: 59.94 kB / 0.9023 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.139e-05/0.2543, allocations: 15.92 kB / 0.9023 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.801e-05/0.2543, allocations: 45.62 kB / 0.9024 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001455/0.2545, allocations: 99.81 kB / 0.9025 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.2545, allocations: 0 / 0.9025 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.332e-06/0.2545, allocations: 0 / 0.9025 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.369e-06/0.2545, allocations: 0 / 0.9025 GB, free: 61.41 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.0005551/0.2551, allocations: 401.2 kB / 0.9029 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.2551, allocations: 8.031 kB / 0.9029 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.906e-05/0.2552, allocations: 38.55 kB / 0.9029 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.528e-05/0.2552, allocations: 15.86 kB / 0.9029 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.2553, allocations: 178.9 kB / 0.9031 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.557e-05/0.2554, allocations: 0 / 0.9031 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.622e-05/0.2554, allocations: 4 kB / 0.9031 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001714/0.2556, allocations: 73.64 kB / 0.9032 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.2556, allocations: 0 / 0.9032 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.2556, allocations: 4 kB / 0.9032 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.2556, allocations: 0 / 0.9032 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001298/0.2557, allocations: 47.95 kB / 0.9032 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005215/0.2563, allocations: 316.7 kB / 0.9035 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001124/0.2564, allocations: 50.56 kB / 0.9036 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.2564, allocations: 7.938 kB / 0.9036 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001823/0.2566, allocations: 79.5 kB / 0.9036 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.2566, allocations: 0 / 0.9036 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0003368/0.2569, allocations: 157.5 kB / 0.9038 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.229e-05/0.257, allocations: 55.41 kB / 0.9039 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.199e-05/0.2571, allocations: 122.2 kB / 0.904 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.2571, allocations: 29.7 kB / 0.904 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.876e-05/0.2571, allocations: 92.23 kB / 0.9041 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.573e-05/0.2571, allocations: 19.83 kB / 0.9041 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.961e-06/0.2572, allocations: 0 / 0.9041 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.09e-05/0.2572, allocations: 322.8 kB / 0.9044 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.286e-05/0.2573, allocations: 31.97 kB / 0.9044 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.744e-05/0.2574, allocations: 55.47 kB / 0.9045 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.053e-05/0.2575, allocations: 39.92 kB / 0.9045 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.2575, allocations: 0 / 0.9045 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001994/0.2577, allocations: 117.5 kB / 0.9046 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.2577, allocations: 14.56 kB / 0.9047 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.2577, allocations: 0 / 0.9047 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.2577, allocations: 0 / 0.9047 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.896e-05/0.2578, allocations: 19.94 kB / 0.9047 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.2578, allocations: 3.938 kB / 0.9047 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.643e-05/0.2579, allocations: 15.89 kB / 0.9047 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.2579, allocations: 4 kB / 0.9047 GB, free: 58.89 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.win.curSeed,win.curSeed,occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$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.446e-05/0.258, allocations: 121.8 kB / 0.9048 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.121e-05/0.258, allocations: 0 / 0.9048 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.406e-05/0.258, allocations: 16.41 kB / 0.9048 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.2581, allocations: 0 / 0.9048 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.2581, allocations: 11.88 kB / 0.9048 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.2581, allocations: 0 / 0.9048 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003297/0.2584, allocations: 386.4 kB / 0.9052 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.2584, allocations: 4 kB / 0.9052 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.636e-05/0.2585, allocations: 4 kB / 0.9052 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.2585, allocations: 0 / 0.9052 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.2585, allocations: 3.953 kB / 0.9052 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.664e-06/0.2585, allocations: 4 kB / 0.9052 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.2585, allocations: 0 / 0.9052 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002109/0.2587, allocations: 219.3 kB / 0.9054 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.848e-05/0.2587, allocations: 85.05 kB / 0.9055 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.743e-05/0.2588, allocations: 0 / 0.9055 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.387e-05/0.2588, allocations: 11.94 kB / 0.9055 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.2589, allocations: 8 kB / 0.9055 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.435e-06/0.2589, allocations: 3.984 kB / 0.9055 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.277e-05/0.2589, allocations: 95.27 kB / 0.9056 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.2589, allocations: 0 / 0.9056 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002818/0.2592, allocations: 40 kB / 0.9057 GB, free: 57.79 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,occ.y,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.0006066/0.2598, allocations: 0.8103 MB / 0.9065 GB, free: 56.97 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001961/0.2601, allocations: 75.91 kB / 0.9065 GB, free: 56.9 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.2601, allocations: 0 / 0.9065 GB, free: 56.9 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.477e-05/0.2602, allocations: 44.03 kB / 0.9066 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001651/0.2603, allocations: 11.89 kB / 0.9066 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006117/0.261, allocations: 0.8724 MB / 0.9074 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001252/0.2611, allocations: 0.6887 MB / 0.9081 GB, free: 55.19 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.849e-05/0.2611, allocations: 8.188 kB / 0.9081 GB, free: 55.18 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.941e-05/0.2612, allocations: 27.36 kB / 0.9081 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of SimCode: time 2.7e-07/0.2612, allocations: 0 / 0.9081 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01262/0.2738, allocations: 2.308 MB / 0.9104 GB, free: 53.02 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001539/0.274, allocations: 245.6 kB / 0.9106 GB, free: 52.72 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.633/1.907, allocations: 64 / 0.9106 GB, free: 52.72 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1)