Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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.Yun2008WindowsTIn,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.615/1.615, allocations: 252 MB / 267 MB, free: 10.97 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.001005/0.001005, allocations: 181.4 kB / 326.6 MB, free: 2.215 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.137/2.137, allocations: 205.4 MB / 0.5777 GB, free: 20.5 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.0007408/0.0007408, allocations: 90.7 kB / 0.6823 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003408/0.000341, allocations: 13.06 kB / 0.7965 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2335/0.2339, allocations: 106.3 MB / 0.9003 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.001575/0.2355, allocations: 1.215 MB / 0.9015 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001202/0.2368, allocations: 0.7568 MB / 0.9022 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.436e-05/0.2368, allocations: 0 / 0.9022 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.946e-05/0.2369, allocations: 3.938 kB / 0.9022 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.704e-05/0.237, allocations: 7.938 kB / 0.9022 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006211/0.2376, allocations: 111.7 kB / 0.9023 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000126/0.2377, allocations: 95.69 kB / 0.9024 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.2378, allocations: 11.98 kB / 0.9025 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001153/0.238, allocations: 43.84 kB / 0.9025 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.332e-05/0.2381, allocations: 43.88 kB / 0.9025 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.411e-05/0.2381, allocations: 7.938 kB / 0.9025 GB, free: 62 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001981/0.2383, allocations: 83.91 kB / 0.9026 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.206e-05/0.2383, allocations: 23.91 kB / 0.9026 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.267e-05/0.2384, allocations: 45.62 kB / 0.9027 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001817/0.2386, allocations: 107.8 kB / 0.9028 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.2386, allocations: 0 / 0.9028 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2386, allocations: 4 kB / 0.9028 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.2386, allocations: 0 / 0.9028 GB, free: 61.73 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.0006058/0.2392, allocations: 442.8 kB / 0.9032 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.2393, allocations: 11.97 kB / 0.9032 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.275e-05/0.2393, allocations: 38.55 kB / 0.9033 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.317e-05/0.2394, allocations: 11.86 kB / 0.9033 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.2395, allocations: 167 kB / 0.9034 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.604e-05/0.2395, allocations: 8 kB / 0.9034 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.393e-05/0.2396, allocations: 8 kB / 0.9035 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002456/0.2398, allocations: 85.62 kB / 0.9035 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.445e-06/0.2398, allocations: 3.938 kB / 0.9035 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.767e-05/0.2398, allocations: 7.984 kB / 0.9035 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.2399, allocations: 3.938 kB / 0.9035 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001766/0.24, allocations: 55.97 kB / 0.9036 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000724/0.2408, allocations: 348.6 kB / 0.9039 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001699/0.241, allocations: 70.58 kB / 0.904 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001258/0.2411, allocations: 44.83 kB / 0.904 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.643e-05/0.2411, allocations: 8.141 kB / 0.9041 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002364/0.2414, allocations: 95.36 kB / 0.9041 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 1.884e-06/0.2414, allocations: 0 / 0.9041 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.0005258/0.2419, allocations: 201.4 kB / 0.9043 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.367e-05/0.242, allocations: 59.41 kB / 0.9044 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.764e-05/0.242, allocations: 125.7 kB / 0.9045 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.2421, allocations: 29.7 kB / 0.9045 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.037e-05/0.2421, allocations: 92.12 kB / 0.9046 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.805e-05/0.2421, allocations: 23.73 kB / 0.9047 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.555e-06/0.2421, allocations: 4 kB / 0.9047 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.317e-05/0.2422, allocations: 322.8 kB / 0.905 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.111e-05/0.2423, allocations: 27.98 kB / 0.905 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.499e-05/0.2424, allocations: 68.27 kB / 0.9051 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.433e-05/0.2425, allocations: 43.98 kB / 0.9051 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.2425, allocations: 4 kB / 0.9051 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002329/0.2427, allocations: 133.4 kB / 0.9052 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.2428, allocations: 7.938 kB / 0.9052 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.2428, allocations: 0 / 0.9052 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.2428, allocations: 4 kB / 0.9052 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.2429, allocations: 27.97 kB / 0.9053 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.2429, allocations: 0 / 0.9053 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.814e-05/0.243, allocations: 15.89 kB / 0.9053 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/0.243, allocations: 8 kB / 0.9053 GB, free: 58.93 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 8.04e-05/0.2431, allocations: 117.8 kB / 0.9054 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.65e-05/0.2431, allocations: 7.906 kB / 0.9054 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.742e-05/0.2432, allocations: 8.375 kB / 0.9054 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.2432, allocations: 8 kB / 0.9054 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.2432, allocations: 3.953 kB / 0.9054 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.2432, allocations: 3.984 kB / 0.9054 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005054/0.2437, allocations: 426.4 kB / 0.9058 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.2437, allocations: 4 kB / 0.9058 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.102e-05/0.2438, allocations: 15.92 kB / 0.9059 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.2438, allocations: 0 / 0.9059 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.2438, allocations: 3.953 kB / 0.9059 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.2438, allocations: 400 / 0.9059 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.2438, allocations: 0 / 0.9059 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003384/0.2442, allocations: 263.3 kB / 0.9061 GB, free: 58 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.08e-05/0.2442, allocations: 81.02 kB / 0.9062 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.352e-05/0.2442, allocations: 4 kB / 0.9062 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/0.2443, allocations: 15.94 kB / 0.9062 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.262e-05/0.2444, allocations: 4 kB / 0.9062 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.2444, allocations: 3.984 kB / 0.9062 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.937e-05/0.2445, allocations: 95.27 kB / 0.9063 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2445, allocations: 0 / 0.9063 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002795/0.2448, allocations: 44 kB / 0.9063 GB, free: 57.74 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.0007456/0.2455, allocations: 0.8518 MB / 0.9072 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002662/0.2458, allocations: 95.88 kB / 0.9073 GB, free: 56.78 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.2458, allocations: 192 / 0.9073 GB, free: 56.78 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001346/0.2459, allocations: 51.97 kB / 0.9073 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002535/0.2462, allocations: 19.03 kB / 0.9073 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.2472, allocations: 0.6657 MB / 0.908 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001398/0.2474, allocations: 0.6956 MB / 0.9087 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.63e-05/0.2474, allocations: 4 kB / 0.9087 GB, free: 55.26 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.894e-05/0.2475, allocations: 23.42 kB / 0.9087 GB, free: 55.24 MB / 0.6042 GB Notification: Performance of SimCode: time 2.11e-07/0.2475, allocations: 4 kB / 0.9087 GB, free: 55.24 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01374/0.2612, allocations: 2.669 MB / 0.9113 GB, free: 52.73 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001396/0.2614, allocations: 253.1 kB / 0.9115 GB, free: 52.4 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.632/1.893, allocations: 4 kB / 0.9116 GB, free: 52.39 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1)