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.421/1.421, allocations: 251.9 MB / 266.9 MB, free: 11.06 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.00129/0.00129, allocations: 175.5 kB / 326.5 MB, free: 2.254 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.963/1.963, allocations: 205.4 MB / 0.5775 GB, free: 20.3 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.001068/0.001069, allocations: 94.48 kB / 0.6821 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003375/0.0003378, allocations: 9.812 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.2379, allocations: 106.3 MB / 0.9001 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.001744/0.2397, allocations: 1.219 MB / 0.9013 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001202/0.241, allocations: 0.7575 MB / 0.9021 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.147e-05/0.2411, allocations: 0 / 0.9021 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.553e-05/0.2411, allocations: 7.922 kB / 0.9021 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.572e-05/0.2412, allocations: 11.98 kB / 0.9021 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005868/0.2418, allocations: 107.7 kB / 0.9022 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000118/0.2419, allocations: 59.86 kB / 0.9023 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.242, allocations: 7.984 kB / 0.9023 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.2421, allocations: 39.91 kB / 0.9023 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.704e-05/0.2422, allocations: 51.8 kB / 0.9024 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.937e-05/0.2422, allocations: 8 kB / 0.9024 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001864/0.2424, allocations: 67.88 kB / 0.9024 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.691e-05/0.2425, allocations: 23.91 kB / 0.9024 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.994e-05/0.2425, allocations: 37.7 kB / 0.9025 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000198/0.2427, allocations: 104.1 kB / 0.9026 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2427, allocations: 4 kB / 0.9026 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2427, allocations: 3.938 kB / 0.9026 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.2428, allocations: 0 / 0.9026 GB, free: 61.36 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.0007039/0.2435, allocations: 450.5 kB / 0.903 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/0.2435, allocations: 8.031 kB / 0.903 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.155e-05/0.2436, allocations: 34.56 kB / 0.9031 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.128e-05/0.2436, allocations: 15.86 kB / 0.9031 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.2438, allocations: 172.5 kB / 0.9032 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.733e-05/0.2438, allocations: 4 kB / 0.9032 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.072e-05/0.2438, allocations: 4 kB / 0.9032 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002446/0.2441, allocations: 97.56 kB / 0.9033 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.2441, allocations: 0 / 0.9033 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.2441, allocations: 3.938 kB / 0.9033 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.2441, allocations: 0 / 0.9033 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001701/0.2443, allocations: 55.95 kB / 0.9034 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007431/0.245, allocations: 348.6 kB / 0.9037 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001619/0.2452, allocations: 70.58 kB / 0.9038 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/0.2453, allocations: 0 / 0.9038 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002255/0.2455, allocations: 103.3 kB / 0.9039 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 1.513e-06/0.2455, allocations: 0 / 0.9039 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.0005086/0.246, allocations: 209.5 kB / 0.9041 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.342e-05/0.2461, allocations: 51.41 kB / 0.9041 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.418e-05/0.2462, allocations: 129 kB / 0.9043 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.2462, allocations: 29.7 kB / 0.9043 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.384e-05/0.2462, allocations: 88.14 kB / 0.9044 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.026e-05/0.2463, allocations: 23.73 kB / 0.9044 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.452e-06/0.2463, allocations: 0 / 0.9044 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.515e-05/0.2463, allocations: 326.8 kB / 0.9047 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.837e-05/0.2464, allocations: 31.98 kB / 0.9047 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.345e-05/0.2465, allocations: 60.28 kB / 0.9048 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.934e-05/0.2466, allocations: 39.98 kB / 0.9048 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2466, allocations: 0 / 0.9048 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002206/0.2469, allocations: 137.4 kB / 0.905 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.2469, allocations: 4.094 kB / 0.905 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.2469, allocations: 8 kB / 0.905 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.2469, allocations: 4.031 kB / 0.905 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.247, allocations: 23.92 kB / 0.905 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.247, allocations: 3.953 kB / 0.905 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.997e-05/0.2471, allocations: 11.91 kB / 0.905 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.419e-05/0.2471, allocations: 7.984 kB / 0.905 GB, free: 58.6 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 0.0001105/0.2472, allocations: 125.8 kB / 0.9052 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.483e-05/0.2473, allocations: 7.906 kB / 0.9052 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.319e-05/0.2473, allocations: 8.375 kB / 0.9052 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.2473, allocations: 0 / 0.9052 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.2473, allocations: 0 / 0.9052 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.2473, allocations: 3.953 kB / 0.9052 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004651/0.2478, allocations: 438.4 kB / 0.9056 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.2478, allocations: 0 / 0.9056 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.586e-05/0.2478, allocations: 11.94 kB / 0.9056 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.2479, allocations: 0 / 0.9056 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.2479, allocations: 7.984 kB / 0.9056 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.2479, allocations: 3.953 kB / 0.9056 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.2479, allocations: 0 / 0.9056 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003135/0.2482, allocations: 251.3 kB / 0.9059 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.182e-05/0.2482, allocations: 89 kB / 0.9059 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.376e-05/0.2483, allocations: 0 / 0.9059 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.2484, allocations: 4 kB / 0.9059 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.207e-05/0.2484, allocations: 15.94 kB / 0.906 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.2484, allocations: 7.984 kB / 0.906 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.416e-05/0.2485, allocations: 99.27 kB / 0.9061 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2485, allocations: 3.938 kB / 0.9061 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003027/0.2488, allocations: 40 kB / 0.9061 GB, free: 57.41 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.0008283/0.2496, allocations: 0.8582 MB / 0.9069 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000283/0.2499, allocations: 95.95 kB / 0.907 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.2499, allocations: 0 / 0.907 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001312/0.2501, allocations: 51.97 kB / 0.9071 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001868/0.2503, allocations: 15.94 kB / 0.9071 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007836/0.2511, allocations: 1.051 MB / 0.9081 GB, free: 55.26 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002639/0.2513, allocations: 0.6991 MB / 0.9088 GB, free: 54.54 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.678e-05/0.2514, allocations: 12.08 kB / 0.9088 GB, free: 54.52 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.504e-05/0.2515, allocations: 23.42 kB / 0.9088 GB, free: 54.5 MB / 0.6042 GB Notification: Performance of SimCode: time 2.21e-07/0.2515, allocations: 0 / 0.9088 GB, free: 54.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01432/0.2658, allocations: 2.655 MB / 0.9114 GB, free: 52.02 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001388/0.266, allocations: 236.6 kB / 0.9117 GB, free: 51.76 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.587/1.853, allocations: 4 kB / 0.9117 GB, free: 51.76 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)