Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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.Yun2008WindowsTIn,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",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.92/2.92, allocations: 287.3 MB / 302.3 MB, free: 8.285 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.001631/0.001631, allocations: 189.1 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.248/2.248, 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.001107/0.001107, allocations: 92.03 kB / 0.7428 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006407/0.0006408, allocations: 15.91 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2188/0.2195, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.001759/0.2213, allocations: 1.215 MB / 0.9795 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001673/0.223, allocations: 0.7464 MB / 0.9802 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001193/0.2232, allocations: 0 / 0.9802 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.223e-05/0.2233, allocations: 3.938 kB / 0.9802 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000153/0.2235, allocations: 15.98 kB / 0.9802 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001075/0.2246, allocations: 107.7 kB / 0.9803 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001882/0.2248, allocations: 59.92 kB / 0.9804 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.2249, allocations: 8.266 kB / 0.9804 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001226/0.225, allocations: 43.84 kB / 0.9804 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.2251, allocations: 47.81 kB / 0.9805 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.216e-05/0.2252, allocations: 4 kB / 0.9805 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001991/0.2254, allocations: 71.92 kB / 0.9805 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.107e-05/0.2254, allocations: 19.92 kB / 0.9806 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.984e-05/0.2255, allocations: 41.62 kB / 0.9806 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002023/0.2257, allocations: 115.7 kB / 0.9807 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.2257, allocations: 0 / 0.9807 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2257, allocations: 0 / 0.9807 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.2257, 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.0006732/0.2264, allocations: 450.4 kB / 0.9811 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.2265, allocations: 12.02 kB / 0.9812 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.094e-05/0.2266, allocations: 38.55 kB / 0.9812 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.355e-05/0.2266, allocations: 15.8 kB / 0.9812 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.438e-05/0.2267, allocations: 175 kB / 0.9814 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.908e-05/0.2268, allocations: 4 kB / 0.9814 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.018e-05/0.2268, allocations: 4 kB / 0.9814 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003424/0.2271, allocations: 97.56 kB / 0.9815 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.2272, allocations: 4 kB / 0.9815 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.082e-05/0.2272, allocations: 7.984 kB / 0.9815 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.2272, allocations: 0 / 0.9815 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000292/0.2275, allocations: 51.97 kB / 0.9815 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001065/0.2286, allocations: 348.6 kB / 0.9819 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002709/0.2289, allocations: 62.55 kB / 0.9819 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.004e-05/0.2289, allocations: 0 / 0.9819 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003405/0.2293, allocations: 103.3 kB / 0.982 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 2.294e-06/0.2293, allocations: 0 / 0.982 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0008669/0.2302, allocations: 201.6 kB / 0.9822 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.2303, allocations: 55.41 kB / 0.9823 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.2304, allocations: 131.2 kB / 0.9824 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.2304, allocations: 29.7 kB / 0.9824 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.834e-05/0.2305, allocations: 92.12 kB / 0.9825 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.486e-05/0.2305, allocations: 15.81 kB / 0.9825 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.283e-05/0.2305, allocations: 0 / 0.9825 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.972e-05/0.2306, allocations: 326.8 kB / 0.9828 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/0.2308, allocations: 27.98 kB / 0.9829 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001558/0.2309, allocations: 69.39 kB / 0.9829 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001672/0.2311, allocations: 43.92 kB / 0.983 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.2311, allocations: 0 / 0.983 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004076/0.2316, allocations: 129.5 kB / 0.9831 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.2316, allocations: 4 kB / 0.9831 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.2316, allocations: 96 / 0.9831 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.2316, allocations: 8 kB / 0.9831 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001811/0.2318, allocations: 19.92 kB / 0.9831 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.2319, allocations: 3.953 kB / 0.9831 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001321/0.232, allocations: 23.83 kB / 0.9832 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.938e-05/0.232, allocations: 7.938 kB / 0.9832 GB, free: 23.02 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 0.000112/0.2322, allocations: 115.7 kB / 0.9833 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.519e-05/0.2322, allocations: 8 kB / 0.9833 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.502e-05/0.2322, allocations: 20.34 kB / 0.9833 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.2322, allocations: 7.922 kB / 0.9833 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.2323, allocations: 0 / 0.9833 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.2323, allocations: 3.953 kB / 0.9833 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008193/0.2331, allocations: 434.4 kB / 0.9837 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.2331, allocations: 0 / 0.9837 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.008e-05/0.2332, allocations: 7.984 kB / 0.9837 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.2332, allocations: 0 / 0.9837 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.107e-05/0.2333, allocations: 4 kB / 0.9837 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.621e-06/0.2333, allocations: 7.953 kB / 0.9837 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.2333, allocations: 3.938 kB / 0.9837 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005888/0.2339, allocations: 251.8 kB / 0.984 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.09e-05/0.2339, allocations: 88.95 kB / 0.9841 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.42e-05/0.234, allocations: 4.062 kB / 0.9841 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001824/0.2342, allocations: 7.984 kB / 0.9841 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.11e-05/0.2342, allocations: 7.953 kB / 0.9841 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.198e-05/0.2343, allocations: 11.98 kB / 0.9841 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.374e-05/0.2343, allocations: 96.77 kB / 0.9842 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.61e-07/0.2343, allocations: 0 / 0.9842 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000449/0.2348, allocations: 40 kB / 0.9842 GB, free: 21.83 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.001127/0.2359, allocations: 0.8497 MB / 0.9851 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004551/0.2364, allocations: 95.95 kB / 0.9852 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.2364, allocations: 0 / 0.9852 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002322/0.2367, allocations: 47.97 kB / 0.9852 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002614/0.237, allocations: 18.12 kB / 0.9852 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009493/0.2379, allocations: 1.059 MB / 0.9863 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001367/0.2381, allocations: 0.6887 MB / 0.9869 GB, free: 18.97 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.452e-05/0.2382, allocations: 4 kB / 0.9869 GB, free: 18.97 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.743e-05/0.2382, allocations: 27.42 kB / 0.987 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of SimCode: time 1.092e-06/0.2382, allocations: 0 / 0.987 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02132/0.2596, allocations: 2.657 MB / 0.9895 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002253/0.2599, allocations: 229.5 kB / 0.9898 GB, free: 16.22 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.534/2.794, allocations: 3.938 kB / 0.9898 GB, free: 16.22 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.fmu > Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1)