Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.Zhang2012WindowsEast,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast",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.443/1.443, allocations: 252 MB / 267 MB, free: 10.96 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.00125/0.001249, allocations: 179.3 kB / 326.6 MB, free: 2.23 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.02/2.02, allocations: 205.4 MB / 0.5776 GB, free: 20.27 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.0008814/0.0008814, allocations: 86 kB / 0.6822 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003816/0.0003817, allocations: 16.19 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2282/0.2286, allocations: 106.3 MB / 0.9003 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.001571/0.2303, allocations: 1.207 MB / 0.9015 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001078/0.2314, allocations: 0.7295 MB / 0.9022 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.577e-05/0.2315, allocations: 0 / 0.9022 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.934e-05/0.2315, allocations: 3.938 kB / 0.9022 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.194e-05/0.2316, allocations: 11.92 kB / 0.9022 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005563/0.2321, allocations: 103.7 kB / 0.9023 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001004/0.2323, allocations: 67.77 kB / 0.9024 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.98e-05/0.2324, allocations: 8 kB / 0.9024 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.89e-05/0.2325, allocations: 23.92 kB / 0.9024 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.267e-05/0.2325, allocations: 43.81 kB / 0.9024 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.865e-05/0.2326, allocations: 4 kB / 0.9024 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001966/0.2328, allocations: 83.91 kB / 0.9025 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.157e-05/0.2328, allocations: 15.92 kB / 0.9025 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.891e-05/0.2328, allocations: 33.7 kB / 0.9026 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001802/0.233, allocations: 99.81 kB / 0.9027 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.233, allocations: 4 kB / 0.9027 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.853e-06/0.2331, allocations: 0 / 0.9027 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.2331, allocations: 0 / 0.9027 GB, free: 61.38 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005728/0.2336, allocations: 401.2 kB / 0.9031 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.2337, allocations: 8.031 kB / 0.9031 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.53e-05/0.2337, allocations: 38.56 kB / 0.9031 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.781e-05/0.2338, allocations: 15.8 kB / 0.9031 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.307e-05/0.2339, allocations: 170.9 kB / 0.9033 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.535e-05/0.2339, allocations: 4 kB / 0.9033 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.828e-05/0.234, allocations: 11.92 kB / 0.9033 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001826/0.2341, allocations: 69.66 kB / 0.9034 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.2342, allocations: 0 / 0.9034 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.2342, allocations: 0 / 0.9034 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.2342, allocations: 4 kB / 0.9034 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001271/0.2343, allocations: 43.97 kB / 0.9034 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005947/0.2349, allocations: 324.7 kB / 0.9037 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001285/0.2351, allocations: 54.56 kB / 0.9038 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.991e-05/0.2352, allocations: 32.97 kB / 0.9038 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.439e-05/0.2352, allocations: 3.984 kB / 0.9038 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001901/0.2354, allocations: 87.31 kB / 0.9039 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.2354, allocations: 0 / 0.9039 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0003903/0.2358, allocations: 149.6 kB / 0.904 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.045e-05/0.2359, allocations: 59.39 kB / 0.9041 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.939e-05/0.236, allocations: 121.8 kB / 0.9042 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.236, allocations: 33.64 kB / 0.9042 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.429e-05/0.236, allocations: 92.22 kB / 0.9043 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.773e-05/0.2361, allocations: 15.84 kB / 0.9043 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.36e-06/0.2361, allocations: 0 / 0.9043 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.234e-05/0.2361, allocations: 318.8 kB / 0.9046 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.878e-05/0.2362, allocations: 31.98 kB / 0.9047 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.308e-05/0.2363, allocations: 50.56 kB / 0.9047 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.719e-05/0.2364, allocations: 35.92 kB / 0.9048 GB, free: 59 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2364, allocations: 0 / 0.9048 GB, free: 59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002139/0.2366, allocations: 121.8 kB / 0.9049 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.2367, allocations: 4 kB / 0.9049 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.046e-06/0.2367, allocations: 4.078 kB / 0.9049 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.2367, allocations: 7.891 kB / 0.9049 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.293e-05/0.2368, allocations: 11.98 kB / 0.9049 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.2368, allocations: 7.984 kB / 0.9049 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.604e-05/0.2369, allocations: 7.906 kB / 0.9049 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/0.2369, allocations: 16.05 kB / 0.9049 GB, free: 58.82 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 6.841e-05/0.237, allocations: 117.8 kB / 0.905 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.244e-05/0.237, allocations: 4 kB / 0.905 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.305e-05/0.237, allocations: 8.375 kB / 0.905 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.237, allocations: 0 / 0.905 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.237, allocations: 3.953 kB / 0.9051 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.237, allocations: 4 kB / 0.9051 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003427/0.2374, allocations: 382.4 kB / 0.9054 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.2374, allocations: 0 / 0.9054 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.944e-05/0.2374, allocations: 11.92 kB / 0.9054 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.2375, allocations: 0 / 0.9054 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.2375, allocations: 7.953 kB / 0.9054 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.2375, allocations: 0 / 0.9054 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2375, allocations: 0 / 0.9054 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002287/0.2377, allocations: 223.4 kB / 0.9057 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.271e-05/0.2378, allocations: 81.05 kB / 0.9057 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.2378, allocations: 0 / 0.9057 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.372e-05/0.2379, allocations: 7.953 kB / 0.9057 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.943e-05/0.2379, allocations: 11.98 kB / 0.9057 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/0.2379, allocations: 8 kB / 0.9058 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.221e-05/0.238, allocations: 91.92 kB / 0.9058 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.238, allocations: 0 / 0.9058 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002668/0.2382, allocations: 39.98 kB / 0.9059 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: 6 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0006272/0.2389, allocations: 0.8121 MB / 0.9067 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002164/0.2391, allocations: 83.95 kB / 0.9068 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2391, allocations: 0 / 0.9068 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.818e-05/0.2392, allocations: 35.98 kB / 0.9068 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002328/0.2395, allocations: 7.938 kB / 0.9068 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008763/0.2403, allocations: 0.6087 MB / 0.9074 GB, free: 56.13 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001063/0.2405, allocations: 0.6848 MB / 0.9081 GB, free: 55.42 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.789e-05/0.2405, allocations: 8.172 kB / 0.9081 GB, free: 55.41 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.809e-05/0.2405, allocations: 19.44 kB / 0.9081 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of SimCode: time 2.11e-07/0.2406, allocations: 0 / 0.9081 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01363/0.2542, allocations: 2.337 MB / 0.9104 GB, free: 53.23 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001755/0.2544, allocations: 263.8 kB / 0.9106 GB, free: 52.89 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.655/1.91, allocations: 0 / 0.9106 GB, free: 52.89 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1)