Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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.Yun2008WindowsTOut,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.789/2.789, allocations: 287.3 MB / 302.3 MB, free: 8.254 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.001515/0.001514, allocations: 184.2 kB / 370.8 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.168/2.168, allocations: 205.4 MB / 0.6295 GB, free: 10.6 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.001104/0.001104, allocations: 88.75 kB / 0.7428 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004996/0.0004996, allocations: 12.7 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.223/0.2236, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.001787/0.2254, allocations: 1.207 MB / 0.9795 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001501/0.2269, allocations: 0.7503 MB / 0.9802 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.184e-05/0.227, allocations: 3.938 kB / 0.9802 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.958e-05/0.227, allocations: 3.938 kB / 0.9802 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.802e-05/0.2271, allocations: 11.98 kB / 0.9802 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005469/0.2277, allocations: 107.7 kB / 0.9803 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001086/0.2278, allocations: 59.91 kB / 0.9804 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.537e-05/0.2279, allocations: 4.281 kB / 0.9804 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.228, allocations: 43.84 kB / 0.9804 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.656e-05/0.2281, allocations: 51.8 kB / 0.9805 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.164e-05/0.2282, allocations: 8 kB / 0.9805 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001815/0.2284, allocations: 67.88 kB / 0.9805 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.01e-05/0.2284, allocations: 19.97 kB / 0.9806 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.788e-05/0.2284, allocations: 37.64 kB / 0.9806 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001908/0.2286, allocations: 115.7 kB / 0.9807 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.2287, allocations: 0 / 0.9807 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2287, allocations: 0 / 0.9807 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.2287, allocations: 0 / 0.9807 GB, free: 25.79 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.0006403/0.2293, allocations: 456.5 kB / 0.9811 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.2294, allocations: 12.02 kB / 0.9812 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.818e-05/0.2294, allocations: 30.56 kB / 0.9812 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.156e-05/0.2295, allocations: 11.86 kB / 0.9812 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.273e-05/0.2296, allocations: 179 kB / 0.9814 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.763e-05/0.2296, allocations: 8 kB / 0.9814 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.962e-05/0.2297, allocations: 4 kB / 0.9814 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003069/0.23, allocations: 97.56 kB / 0.9815 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.23, allocations: 0 / 0.9815 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.75e-05/0.23, allocations: 0 / 0.9815 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-06/0.23, allocations: 0 / 0.9815 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002961/0.2304, allocations: 51.97 kB / 0.9815 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009695/0.2313, allocations: 348.6 kB / 0.9818 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002292/0.2316, allocations: 58.55 kB / 0.9819 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.616e-05/0.2316, allocations: 7.984 kB / 0.9819 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002997/0.2319, allocations: 95.36 kB / 0.982 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 2.044e-06/0.232, allocations: 0 / 0.982 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0007722/0.2327, allocations: 201.6 kB / 0.9822 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/0.2328, allocations: 55.41 kB / 0.9822 GB, free: 24 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.569e-05/0.2329, allocations: 126.5 kB / 0.9824 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.2329, allocations: 33.64 kB / 0.9824 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.716e-05/0.233, allocations: 96.12 kB / 0.9825 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.284e-05/0.233, allocations: 11.81 kB / 0.9825 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.071e-05/0.233, allocations: 4 kB / 0.9825 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.198e-05/0.2331, allocations: 318.8 kB / 0.9828 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/0.2332, allocations: 35.98 kB / 0.9828 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001526/0.2334, allocations: 64.77 kB / 0.9829 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001537/0.2336, allocations: 43.92 kB / 0.983 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.2336, allocations: 0 / 0.983 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003807/0.234, allocations: 129.5 kB / 0.9831 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.234, allocations: 8 kB / 0.9831 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.234, allocations: 0 / 0.9831 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.2341, allocations: 8.094 kB / 0.9831 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001871/0.2342, allocations: 19.92 kB / 0.9831 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.2343, allocations: 3.953 kB / 0.9831 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001283/0.2344, allocations: 27.83 kB / 0.9831 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.991e-05/0.2344, allocations: 8 kB / 0.9831 GB, free: 23.03 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 9.429e-05/0.2345, allocations: 113.8 kB / 0.9833 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.268e-05/0.2346, allocations: 4 kB / 0.9833 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.156e-05/0.2346, allocations: 20.3 kB / 0.9833 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.2346, allocations: 4 kB / 0.9833 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.2346, allocations: 0 / 0.9833 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.2347, allocations: 3.953 kB / 0.9833 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007357/0.2354, allocations: 426.4 kB / 0.9837 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.2354, allocations: 4 kB / 0.9837 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.04e-05/0.2355, allocations: 4 kB / 0.9837 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.2355, allocations: 0 / 0.9837 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.025e-05/0.2355, allocations: 7.984 kB / 0.9837 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-06/0.2355, allocations: 3.953 kB / 0.9837 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.2356, allocations: 3.938 kB / 0.9837 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005241/0.2361, allocations: 247.4 kB / 0.984 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.813e-05/0.2361, allocations: 84.95 kB / 0.984 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.559e-05/0.2362, allocations: 8 kB / 0.984 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001711/0.2364, allocations: 7.984 kB / 0.984 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.377e-05/0.2364, allocations: 15.92 kB / 0.9841 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/0.2365, allocations: 0 / 0.9841 GB, free: 22 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.298e-05/0.2365, allocations: 101.1 kB / 0.9842 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.01e-07/0.2365, allocations: 4 kB / 0.9842 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004184/0.237, allocations: 43.98 kB / 0.9842 GB, free: 21.85 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.001048/0.238, allocations: 0.8481 MB / 0.985 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004426/0.2385, allocations: 91.89 kB / 0.9851 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.2385, allocations: 4.188 kB / 0.9851 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002123/0.2387, allocations: 47.97 kB / 0.9852 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002521/0.239, allocations: 11.89 kB / 0.9852 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009128/0.2399, allocations: 1.055 MB / 0.9862 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001449/0.2401, allocations: 0.6952 MB / 0.9869 GB, free: 19 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.303e-05/0.2402, allocations: 7.984 kB / 0.9869 GB, free: 19 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.293e-05/0.2402, allocations: 23.42 kB / 0.9869 GB, free: 18.97 MB / 0.6198 GB Notification: Performance of SimCode: time 1.312e-06/0.2402, allocations: 0 / 0.9869 GB, free: 18.97 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02652/0.2668, allocations: 2.635 MB / 0.9895 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000234/0.2671, allocations: 240.1 kB / 0.9897 GB, free: 16.26 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.62/2.887, allocations: 64 / 0.9897 GB, free: 16.26 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.fmu > Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1)