Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.759/1.759, allocations: 288.2 MB / 303.2 MB, free: 8.238 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.001211/0.001211, allocations: 187.5 kB / 371.8 MB, free: 10.29 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.228/2.228, allocations: 205.4 MB / 0.6305 GB, free: 10.03 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.001121/0.001121, allocations: 90.94 kB / 0.7439 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000439/0.0004393, allocations: 15.25 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2407/0.2412, allocations: 115.3 MB / 0.9795 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.001707/0.2429, allocations: 1.211 MB / 0.9807 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00128/0.2442, allocations: 0.75 MB / 0.9814 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.241e-05/0.2443, allocations: 0 / 0.9814 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.501e-05/0.2443, allocations: 3.938 kB / 0.9814 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.649e-05/0.2444, allocations: 19.97 kB / 0.9814 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004879/0.2449, allocations: 103.7 kB / 0.9815 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.291e-05/0.245, allocations: 55.92 kB / 0.9816 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.2451, allocations: 12.27 kB / 0.9816 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.644e-05/0.2452, allocations: 39.84 kB / 0.9816 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.145e-05/0.2453, allocations: 55.8 kB / 0.9817 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/0.2453, allocations: 8 kB / 0.9817 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001458/0.2455, allocations: 67.88 kB / 0.9817 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.407e-05/0.2455, allocations: 15.97 kB / 0.9818 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.416e-05/0.2456, allocations: 37.64 kB / 0.9818 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001686/0.2457, allocations: 123.7 kB / 0.9819 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.2458, allocations: 0 / 0.9819 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.254e-06/0.2458, allocations: 0 / 0.9819 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.2458, allocations: 0 / 0.9819 GB, free: 25.11 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005684/0.2464, allocations: 442.4 kB / 0.9823 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.2464, allocations: 16.02 kB / 0.9823 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.742e-05/0.2464, allocations: 34.56 kB / 0.9824 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.539e-05/0.2465, allocations: 7.906 kB / 0.9824 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.206e-05/0.2466, allocations: 178.9 kB / 0.9826 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.794e-05/0.2466, allocations: 8 kB / 0.9826 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.096e-05/0.2466, allocations: 4 kB / 0.9826 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002226/0.2469, allocations: 93.56 kB / 0.9827 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.2469, allocations: 0 / 0.9827 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.2469, allocations: 4 kB / 0.9827 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.2469, allocations: 0 / 0.9827 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001486/0.2471, allocations: 47.97 kB / 0.9827 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006754/0.2478, allocations: 352.6 kB / 0.983 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001543/0.2479, allocations: 62.53 kB / 0.9831 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.626e-05/0.248, allocations: 0 / 0.9831 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002337/0.2482, allocations: 95.36 kB / 0.9832 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.302e-06/0.2482, allocations: 3.938 kB / 0.9832 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0005178/0.2487, allocations: 193.5 kB / 0.9834 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/0.2488, allocations: 63.34 kB / 0.9834 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.667e-05/0.2489, allocations: 127 kB / 0.9836 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.2489, allocations: 29.7 kB / 0.9836 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.063e-05/0.249, allocations: 92.12 kB / 0.9837 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.037e-05/0.249, allocations: 19.95 kB / 0.9837 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.154e-06/0.249, allocations: 4 kB / 0.9837 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.349e-05/0.2491, allocations: 318.8 kB / 0.984 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.608e-05/0.2492, allocations: 31.98 kB / 0.984 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.886e-05/0.2493, allocations: 70.27 kB / 0.9841 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.764e-05/0.2493, allocations: 43.92 kB / 0.9841 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.2494, allocations: 0 / 0.9841 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002129/0.2496, allocations: 129.5 kB / 0.9843 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.2496, allocations: 9.719 kB / 0.9843 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.2496, allocations: 0 / 0.9843 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.2496, allocations: 16.02 kB / 0.9843 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.2497, allocations: 11.94 kB / 0.9843 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.2498, allocations: 7.984 kB / 0.9843 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.137e-05/0.2498, allocations: 15.8 kB / 0.9843 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/0.2499, allocations: 4 kB / 0.9843 GB, free: 22.37 MB / 0.6198 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.347e-05/0.2499, allocations: 125.8 kB / 0.9845 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.52e-05/0.25, allocations: 12.03 kB / 0.9845 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.471e-05/0.25, allocations: 12.36 kB / 0.9845 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.25, allocations: 0 / 0.9845 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.25, allocations: 4 kB / 0.9845 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.25, allocations: 0 / 0.9845 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004402/0.2505, allocations: 434.4 kB / 0.9849 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.2505, allocations: 4 kB / 0.9849 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.594e-05/0.2505, allocations: 7.984 kB / 0.9849 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.2505, allocations: 0 / 0.9849 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.2505, allocations: 0 / 0.9849 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.2505, allocations: 7.938 kB / 0.9849 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.2505, allocations: 3.953 kB / 0.9849 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002997/0.2509, allocations: 247.4 kB / 0.9852 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.282e-05/0.2509, allocations: 84.95 kB / 0.9852 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.671e-05/0.2509, allocations: 7.984 kB / 0.9852 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.251, allocations: 8 kB / 0.9852 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.197e-05/0.2511, allocations: 11.94 kB / 0.9853 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/0.2511, allocations: 0 / 0.9853 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.578e-05/0.2511, allocations: 95.27 kB / 0.9854 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2511, allocations: 4 kB / 0.9854 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000292/0.2514, allocations: 47.92 kB / 0.9854 GB, free: 21.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: 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.0007723/0.2522, allocations: 0.8374 MB / 0.9862 GB, free: 20.33 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002584/0.2525, allocations: 99.81 kB / 0.9863 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.2525, allocations: 4.188 kB / 0.9863 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001179/0.2526, allocations: 47.97 kB / 0.9864 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001849/0.2528, allocations: 15.92 kB / 0.9864 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006542/0.2535, allocations: 1.043 MB / 0.9874 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000112/0.2536, allocations: 0.6965 MB / 0.9881 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.984e-05/0.2536, allocations: 4 kB / 0.9881 GB, free: 18.33 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.339e-05/0.2537, allocations: 27.42 kB / 0.9881 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of SimCode: time 2.61e-07/0.2537, allocations: 0 / 0.9881 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01304/0.2668, allocations: 2.645 MB / 0.9907 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001528/0.267, allocations: 250.7 kB / 0.9909 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.515/1.782, allocations: 0 / 0.9909 GB, free: 15.54 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1)