Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.Haldi2008WindowsTOut,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.852/2.852, allocations: 287.5 MB / 302.4 MB, free: 8.32 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.001385/0.001385, allocations: 177.3 kB / 371 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.124/2.124, allocations: 205.4 MB / 0.6297 GB, free: 10.61 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.000996/0.0009962, allocations: 91.3 kB / 0.743 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005341/0.0005344, allocations: 15.55 kB / 0.8659 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2315/0.2321, allocations: 115.3 MB / 0.9784 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.001861/0.2341, allocations: 1.207 MB / 0.9796 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001517/0.2357, allocations: 0.7151 MB / 0.9803 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.479e-05/0.2358, allocations: 4 kB / 0.9803 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.204e-05/0.2358, allocations: 7.922 kB / 0.9803 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.839e-05/0.2359, allocations: 7.922 kB / 0.9803 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006007/0.2365, allocations: 95.77 kB / 0.9804 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001087/0.2366, allocations: 67.78 kB / 0.9805 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.762e-05/0.2367, allocations: 11.98 kB / 0.9805 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.875e-05/0.2368, allocations: 27.91 kB / 0.9805 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.662e-05/0.2369, allocations: 35.84 kB / 0.9806 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.167e-05/0.237, allocations: 4 kB / 0.9806 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002382/0.2372, allocations: 83.91 kB / 0.9807 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.48e-05/0.2373, allocations: 15.92 kB / 0.9807 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.524e-05/0.2373, allocations: 29.7 kB / 0.9807 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001956/0.2375, allocations: 104 kB / 0.9808 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.2375, allocations: 0 / 0.9808 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.986e-06/0.2375, allocations: 0 / 0.9808 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.2376, allocations: 7.938 kB / 0.9808 GB, free: 25.82 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.000672/0.2382, allocations: 404.8 kB / 0.9812 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.2383, allocations: 12.02 kB / 0.9812 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.427e-05/0.2383, allocations: 42.55 kB / 0.9812 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.905e-05/0.2384, allocations: 11.86 kB / 0.9813 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.811e-05/0.2385, allocations: 167 kB / 0.9814 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.716e-05/0.2385, allocations: 0 / 0.9814 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.187e-05/0.2386, allocations: 4 kB / 0.9814 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002355/0.2388, allocations: 77.64 kB / 0.9815 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.2388, allocations: 0 / 0.9815 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.2389, allocations: 4 kB / 0.9815 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.2389, allocations: 0 / 0.9815 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000205/0.2391, allocations: 43.91 kB / 0.9815 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007375/0.2398, allocations: 328.7 kB / 0.9819 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001836/0.2401, allocations: 46.56 kB / 0.9819 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001315/0.2402, allocations: 36.97 kB / 0.9819 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.773e-05/0.2402, allocations: 0 / 0.9819 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002533/0.2405, allocations: 83.31 kB / 0.982 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.274e-06/0.2405, allocations: 4 kB / 0.982 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0005816/0.2411, allocations: 149.6 kB / 0.9822 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.401e-05/0.2412, allocations: 55.41 kB / 0.9822 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.609e-05/0.2413, allocations: 122.2 kB / 0.9823 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.2413, allocations: 29.7 kB / 0.9824 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.501e-05/0.2414, allocations: 88.27 kB / 0.9824 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.582e-05/0.2414, allocations: 23.73 kB / 0.9825 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.416e-06/0.2414, allocations: 4 kB / 0.9825 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.306e-05/0.2415, allocations: 318.8 kB / 0.9828 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001273/0.2416, allocations: 35.91 kB / 0.9828 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/0.2418, allocations: 54.55 kB / 0.9829 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001438/0.2419, allocations: 35.98 kB / 0.9829 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.2419, allocations: 0 / 0.9829 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003766/0.2423, allocations: 121.5 kB / 0.983 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.2424, allocations: 6.812 kB / 0.983 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.2424, allocations: 4.453 kB / 0.983 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.2424, allocations: 7.953 kB / 0.983 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001516/0.2426, allocations: 11.98 kB / 0.983 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.2426, allocations: 4 kB / 0.983 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.2427, allocations: 4 kB / 0.983 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.957e-05/0.2427, allocations: 8 kB / 0.9831 GB, free: 23.28 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 9.88e-05/0.2428, allocations: 117.8 kB / 0.9832 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.277e-05/0.2429, allocations: 15.89 kB / 0.9832 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.58e-05/0.2429, allocations: 8.375 kB / 0.9832 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.2429, allocations: 3.984 kB / 0.9832 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.243, allocations: 7.953 kB / 0.9832 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.243, allocations: 0 / 0.9832 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006033/0.2436, allocations: 382.4 kB / 0.9836 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.2436, allocations: 0 / 0.9836 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.514e-05/0.2437, allocations: 8 kB / 0.9836 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.99e-06/0.2437, allocations: 0 / 0.9836 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.849e-05/0.2437, allocations: 15.94 kB / 0.9836 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.2437, allocations: 0 / 0.9836 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.2437, allocations: 0 / 0.9836 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000394/0.2441, allocations: 219.4 kB / 0.9838 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.383e-05/0.2442, allocations: 85 kB / 0.9839 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.593e-05/0.2442, allocations: 4 kB / 0.9839 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.2444, allocations: 7.953 kB / 0.9839 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.963e-05/0.2444, allocations: 7.984 kB / 0.9839 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/0.2445, allocations: 4 kB / 0.9839 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.817e-05/0.2445, allocations: 99.14 kB / 0.984 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.01e-07/0.2445, allocations: 0 / 0.984 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000396/0.245, allocations: 36 kB / 0.984 GB, free: 22.18 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.0009836/0.2459, allocations: 0.7995 MB / 0.9848 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004028/0.2464, allocations: 79.89 kB / 0.9849 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.2464, allocations: 0 / 0.9849 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001483/0.2466, allocations: 36.09 kB / 0.9849 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003535/0.2469, allocations: 22.47 kB / 0.9849 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001345/0.2483, allocations: 0.595 MB / 0.9855 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001476/0.2485, allocations: 0.6926 MB / 0.9862 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.124e-05/0.2485, allocations: 12.17 kB / 0.9862 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.092e-05/0.2486, allocations: 19.44 kB / 0.9862 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of SimCode: time 1.393e-06/0.2486, allocations: 0 / 0.9862 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02319/0.2718, allocations: 2.336 MB / 0.9885 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004128/0.2723, allocations: 249.1 kB / 0.9887 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.652/2.925, allocations: 0 / 0.9887 GB, free: 17.39 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.fmu > Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1)