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.741/1.741, allocations: 252 MB / 267 MB, free: 10.93 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.001219/0.001219, allocations: 183.9 kB / 326.6 MB, free: 2.191 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.937/1.937, allocations: 205.4 MB / 0.5777 GB, free: 20.22 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.001005/0.001005, allocations: 90.3 kB / 0.6823 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003367/0.000337, allocations: 8.969 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2325, allocations: 106.3 MB / 0.9003 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.001672/0.2342, allocations: 1.215 MB / 0.9015 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00117/0.2354, allocations: 0.7607 MB / 0.9022 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.142e-05/0.2355, allocations: 0 / 0.9022 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.952e-05/0.2355, allocations: 3.938 kB / 0.9022 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.2e-05/0.2356, allocations: 7.938 kB / 0.9022 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005493/0.2362, allocations: 107.7 kB / 0.9023 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001124/0.2363, allocations: 95.69 kB / 0.9024 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.064e-05/0.2364, allocations: 8 kB / 0.9024 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.204e-05/0.2365, allocations: 47.83 kB / 0.9025 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.195e-05/0.2366, allocations: 47.81 kB / 0.9025 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.14e-05/0.2366, allocations: 4 kB / 0.9025 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001825/0.2368, allocations: 83.92 kB / 0.9026 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.532e-05/0.2369, allocations: 23.89 kB / 0.9026 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.461e-05/0.2369, allocations: 33.7 kB / 0.9027 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001606/0.2371, allocations: 112.1 kB / 0.9028 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.2371, allocations: 0 / 0.9028 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.302e-06/0.2371, allocations: 0 / 0.9028 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.381e-06/0.2371, allocations: 4 kB / 0.9028 GB, free: 61.2 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.0005869/0.2377, allocations: 446.4 kB / 0.9032 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.2378, allocations: 15.97 kB / 0.9032 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.104e-05/0.2378, allocations: 34.56 kB / 0.9033 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.675e-05/0.2378, allocations: 11.86 kB / 0.9033 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.238, allocations: 171 kB / 0.9034 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.972e-05/0.238, allocations: 4 kB / 0.9034 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.107e-05/0.238, allocations: 12 kB / 0.9034 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002298/0.2383, allocations: 93.56 kB / 0.9035 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.2383, allocations: 0 / 0.9035 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/0.2383, allocations: 0 / 0.9035 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.2383, allocations: 3.938 kB / 0.9035 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001676/0.2385, allocations: 55.97 kB / 0.9036 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007405/0.2392, allocations: 340.7 kB / 0.9039 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001621/0.2394, allocations: 70.58 kB / 0.904 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001133/0.2395, allocations: 45 kB / 0.904 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.733e-05/0.2396, allocations: 3.984 kB / 0.904 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002647/0.2399, allocations: 99.34 kB / 0.9041 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 1.713e-06/0.2399, allocations: 0 / 0.9041 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.0005239/0.2404, allocations: 197.4 kB / 0.9043 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.018e-05/0.2404, allocations: 55.41 kB / 0.9044 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.157e-05/0.2405, allocations: 127.8 kB / 0.9045 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.2406, allocations: 33.7 kB / 0.9045 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.059e-05/0.2406, allocations: 84.14 kB / 0.9046 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.098e-05/0.2406, allocations: 27.72 kB / 0.9046 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.723e-06/0.2406, allocations: 4 kB / 0.9046 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.105e-05/0.2407, allocations: 318.8 kB / 0.9049 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001215/0.2409, allocations: 31.98 kB / 0.905 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/0.241, allocations: 64.28 kB / 0.905 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001173/0.2411, allocations: 39.98 kB / 0.9051 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2411, allocations: 0 / 0.9051 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002464/0.2414, allocations: 141.4 kB / 0.9052 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.2414, allocations: 4 kB / 0.9052 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.2414, allocations: 4 kB / 0.9052 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.2414, allocations: 0 / 0.9052 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.2416, allocations: 23.88 kB / 0.9052 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.2416, allocations: 4 kB / 0.9052 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.737e-05/0.2417, allocations: 12 kB / 0.9052 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.2417, allocations: 11.92 kB / 0.9053 GB, free: 58.41 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.324e-05/0.2418, allocations: 125.8 kB / 0.9054 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.598e-05/0.2418, allocations: 7.906 kB / 0.9054 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.647e-05/0.2418, allocations: 8.375 kB / 0.9054 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.2418, allocations: 0 / 0.9054 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.2418, allocations: 3.953 kB / 0.9054 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.2418, allocations: 4 kB / 0.9054 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004651/0.2423, allocations: 430.7 kB / 0.9058 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.2423, allocations: 4 kB / 0.9058 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.819e-05/0.2424, allocations: 7.938 kB / 0.9058 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.2424, allocations: 0 / 0.9058 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.2424, allocations: 7.938 kB / 0.9058 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.2424, allocations: 4 kB / 0.9058 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2424, allocations: 0 / 0.9058 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003185/0.2427, allocations: 251.4 kB / 0.9061 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.473e-05/0.2428, allocations: 85.08 kB / 0.9062 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.395e-05/0.2428, allocations: 8 kB / 0.9062 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.2429, allocations: 19.94 kB / 0.9062 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.057e-05/0.243, allocations: 0 / 0.9062 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.243, allocations: 7.984 kB / 0.9062 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.674e-05/0.243, allocations: 98.02 kB / 0.9063 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.21e-07/0.243, allocations: 0 / 0.9063 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002911/0.2433, allocations: 36 kB / 0.9063 GB, free: 57.22 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.0008228/0.2442, allocations: 0.855 MB / 0.9072 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002686/0.2444, allocations: 95.88 kB / 0.9072 GB, free: 56.26 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.2444, allocations: 0 / 0.9072 GB, free: 56.26 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001213/0.2446, allocations: 47.97 kB / 0.9073 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000268/0.2449, allocations: 22.14 kB / 0.9073 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009724/0.2458, allocations: 0.658 MB / 0.908 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001078/0.246, allocations: 0.6946 MB / 0.9086 GB, free: 54.76 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.159e-05/0.246, allocations: 4 kB / 0.9086 GB, free: 54.75 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.433e-05/0.2461, allocations: 23.42 kB / 0.9087 GB, free: 54.73 MB / 0.6042 GB Notification: Performance of SimCode: time 1.292e-06/0.2461, allocations: 0 / 0.9087 GB, free: 54.73 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01367/0.2597, allocations: 2.651 MB / 0.9112 GB, free: 52.25 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001666/0.2599, allocations: 254.3 kB / 0.9115 GB, free: 51.91 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.567/1.827, allocations: 4.062 kB / 0.9115 GB, free: 51.91 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)