Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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.Yun2008WindowsTOut,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",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.422/1.422, 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.001132/0.001132, allocations: 183.4 kB / 326.5 MB, free: 2.234 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.983/1.983, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.001025/0.001025, allocations: 84.38 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003195/0.0003195, allocations: 13.22 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2355/0.2358, allocations: 106.3 MB / 0.9002 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.001471/0.2373, allocations: 1.215 MB / 0.9013 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001027/0.2384, allocations: 0.7537 MB / 0.9021 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.451e-05/0.2384, allocations: 0 / 0.9021 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.811e-05/0.2385, allocations: 7.922 kB / 0.9021 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.937e-05/0.2385, allocations: 11.97 kB / 0.9021 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004493/0.239, allocations: 107.6 kB / 0.9022 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.406e-05/0.2391, allocations: 55.91 kB / 0.9023 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.16e-05/0.2392, allocations: 12 kB / 0.9023 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.083e-05/0.2393, allocations: 39.89 kB / 0.9023 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.64e-05/0.2393, allocations: 47.81 kB / 0.9023 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/0.2394, allocations: 8 kB / 0.9024 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001328/0.2395, allocations: 75.81 kB / 0.9024 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.151e-05/0.2396, allocations: 19.95 kB / 0.9024 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.469e-05/0.2396, allocations: 37.64 kB / 0.9025 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001434/0.2397, allocations: 112.1 kB / 0.9026 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.2398, allocations: 0 / 0.9026 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2398, allocations: 0 / 0.9026 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.2398, allocations: 4 kB / 0.9026 GB, free: 61.32 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005254/0.2403, allocations: 438.5 kB / 0.903 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.2403, allocations: 8.031 kB / 0.903 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.184e-05/0.2404, allocations: 42.55 kB / 0.9031 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.457e-05/0.2404, allocations: 11.86 kB / 0.9031 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.037e-05/0.2405, allocations: 167 kB / 0.9032 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.369e-05/0.2406, allocations: 7.984 kB / 0.9032 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.766e-05/0.2406, allocations: 12 kB / 0.9032 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002054/0.2408, allocations: 85.52 kB / 0.9033 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.2408, allocations: 4 kB / 0.9033 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.2408, allocations: 3.984 kB / 0.9033 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.2408, allocations: 3.938 kB / 0.9033 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001479/0.241, allocations: 55.97 kB / 0.9034 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006245/0.2416, allocations: 344.6 kB / 0.9037 GB, free: 60 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001391/0.2418, allocations: 62.56 kB / 0.9038 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.798e-05/0.2418, allocations: 160 / 0.9038 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002321/0.242, allocations: 99.33 kB / 0.9039 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 1.773e-06/0.2421, allocations: 0 / 0.9039 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.0005173/0.2426, allocations: 201.5 kB / 0.9041 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.836e-05/0.2426, allocations: 51.41 kB / 0.9041 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.226e-05/0.2427, allocations: 131.2 kB / 0.9042 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.2427, allocations: 25.7 kB / 0.9043 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.989e-05/0.2428, allocations: 96.12 kB / 0.9044 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.97e-05/0.2428, allocations: 19.73 kB / 0.9044 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.773e-06/0.2428, allocations: 8 kB / 0.9044 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.767e-05/0.2429, allocations: 318.8 kB / 0.9047 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.804e-05/0.2429, allocations: 31.98 kB / 0.9047 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.562e-05/0.243, allocations: 67.39 kB / 0.9048 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.601e-05/0.2431, allocations: 39.94 kB / 0.9048 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2431, allocations: 0 / 0.9048 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002131/0.2434, allocations: 137.5 kB / 0.905 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.2434, allocations: 8 kB / 0.905 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.2434, allocations: 0 / 0.905 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.2434, allocations: 0 / 0.905 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.2435, allocations: 27.98 kB / 0.905 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.2436, allocations: 7.953 kB / 0.905 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.583e-05/0.2436, allocations: 7.906 kB / 0.905 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.701e-05/0.2437, allocations: 7.984 kB / 0.905 GB, free: 58.59 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,occ.y,$PRE.win.pOpen,win.pOpen,$PRE.win.pClose,win.pClose,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.773e-05/0.2437, allocations: 131.9 kB / 0.9051 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.545e-05/0.2438, allocations: 11.84 kB / 0.9052 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.355e-05/0.2438, allocations: 4.375 kB / 0.9052 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.2438, allocations: 0 / 0.9052 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.2438, allocations: 0 / 0.9052 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.2438, allocations: 7.938 kB / 0.9052 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004453/0.2443, allocations: 426.5 kB / 0.9056 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.2443, allocations: 0 / 0.9056 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.727e-05/0.2443, allocations: 11.94 kB / 0.9056 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.2443, allocations: 3.938 kB / 0.9056 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.2444, allocations: 3.984 kB / 0.9056 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.2444, allocations: 7.891 kB / 0.9056 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.2444, allocations: 4 kB / 0.9056 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003077/0.2447, allocations: 247.8 kB / 0.9058 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.194e-05/0.2447, allocations: 85.02 kB / 0.9059 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.429e-05/0.2447, allocations: 0 / 0.9059 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.2449, allocations: 11.98 kB / 0.9059 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.706e-05/0.2449, allocations: 7.953 kB / 0.9059 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.2449, allocations: 11.98 kB / 0.9059 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.799e-05/0.245, allocations: 99.27 kB / 0.906 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/0.245, allocations: 0 / 0.906 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003018/0.2453, allocations: 36 kB / 0.9061 GB, free: 57.4 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: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0007032/0.246, allocations: 0.852 MB / 0.9069 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000243/0.2462, allocations: 95.89 kB / 0.907 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2463, allocations: 0 / 0.907 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001168/0.2464, allocations: 51.95 kB / 0.907 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001909/0.2466, allocations: 16.45 kB / 0.9071 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006585/0.2472, allocations: 1.055 MB / 0.9081 GB, free: 55.25 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001115/0.2474, allocations: 0.6956 MB / 0.9088 GB, free: 54.54 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.19e-05/0.2474, allocations: 11.98 kB / 0.9088 GB, free: 54.52 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.9e-05/0.2475, allocations: 19.44 kB / 0.9088 GB, free: 54.51 MB / 0.6042 GB Notification: Performance of SimCode: time 3.41e-07/0.2475, allocations: 0 / 0.9088 GB, free: 54.51 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01291/0.2604, allocations: 2.633 MB / 0.9114 GB, free: 52.04 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001712/0.2606, allocations: 244.9 kB / 0.9116 GB, free: 51.76 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.579/1.839, allocations: 0 / 0.9116 GB, free: 51.76 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1)