Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.Zhang2012WindowsAll,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll",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.441/1.441, allocations: 252 MB / 267 MB, free: 10.94 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.001105/0.001106, allocations: 180.7 kB / 326.6 MB, free: 2.211 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.018/2.018, allocations: 205.4 MB / 0.5776 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.000754/0.0007539, allocations: 81.62 kB / 0.6822 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004785/0.0004787, allocations: 12.84 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2273, allocations: 106.4 MB / 0.9003 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.001567/0.2289, allocations: 1.199 MB / 0.9015 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001198/0.2302, allocations: 0.7295 MB / 0.9022 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.594e-05/0.2302, allocations: 0 / 0.9022 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.925e-05/0.2303, allocations: 7.922 kB / 0.9022 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.87e-05/0.2304, allocations: 3.938 kB / 0.9022 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005221/0.2309, allocations: 91.77 kB / 0.9023 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.978e-05/0.231, allocations: 71.72 kB / 0.9024 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.024e-05/0.2311, allocations: 11.97 kB / 0.9024 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.622e-05/0.2312, allocations: 35.92 kB / 0.9024 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.238e-05/0.2313, allocations: 31.83 kB / 0.9024 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/0.2313, allocations: 4 kB / 0.9024 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001878/0.2315, allocations: 83.92 kB / 0.9025 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.912e-05/0.2315, allocations: 15.91 kB / 0.9025 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.208e-05/0.2315, allocations: 33.7 kB / 0.9026 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001619/0.2317, allocations: 95.83 kB / 0.9027 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.2317, allocations: 0 / 0.9027 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.003e-06/0.2317, allocations: 0 / 0.9027 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.2317, allocations: 0 / 0.9027 GB, free: 61.34 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.0005544/0.2323, allocations: 417 kB / 0.9031 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.2324, allocations: 12.03 kB / 0.9031 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.372e-05/0.2324, allocations: 38.55 kB / 0.9031 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.536e-05/0.2324, allocations: 11.86 kB / 0.9031 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.041e-05/0.2325, allocations: 170.9 kB / 0.9033 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.288e-05/0.2326, allocations: 0 / 0.9033 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.704e-05/0.2326, allocations: 8 kB / 0.9033 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.2328, allocations: 77.59 kB / 0.9034 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.2328, allocations: 0 / 0.9034 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.2328, allocations: 0 / 0.9034 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.2328, allocations: 0 / 0.9034 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/0.233, allocations: 47.91 kB / 0.9034 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005769/0.2335, allocations: 320.8 kB / 0.9037 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001156/0.2337, allocations: 46.56 kB / 0.9038 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.718e-05/0.2338, allocations: 36.97 kB / 0.9038 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/0.2338, allocations: 4 kB / 0.9038 GB, free: 60 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001769/0.234, allocations: 87.38 kB / 0.9039 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.463e-06/0.234, allocations: 0 / 0.9039 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0003786/0.2344, allocations: 149.7 kB / 0.904 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.423e-05/0.2344, allocations: 55.41 kB / 0.9041 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.049e-05/0.2345, allocations: 121.8 kB / 0.9042 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.2345, allocations: 25.7 kB / 0.9042 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.998e-05/0.2346, allocations: 96.23 kB / 0.9043 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.634e-05/0.2346, allocations: 11.83 kB / 0.9043 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.603e-06/0.2346, allocations: 8 kB / 0.9043 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.99e-05/0.2346, allocations: 314.8 kB / 0.9046 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.877e-05/0.2347, allocations: 31.97 kB / 0.9047 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.216e-05/0.2348, allocations: 50.94 kB / 0.9047 GB, free: 59 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.032e-05/0.2349, allocations: 44.03 kB / 0.9047 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2349, allocations: 0 / 0.9047 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002124/0.2351, allocations: 117.5 kB / 0.9049 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.2352, allocations: 10.5 kB / 0.9049 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.2352, allocations: 0 / 0.9049 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.2352, allocations: 12.02 kB / 0.9049 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.703e-05/0.2353, allocations: 19.92 kB / 0.9049 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.2353, allocations: 0 / 0.9049 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.925e-05/0.2354, allocations: 11.91 kB / 0.9049 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.2354, allocations: 4 kB / 0.9049 GB, free: 58.79 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.989e-05/0.2355, allocations: 117.8 kB / 0.905 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.456e-05/0.2355, allocations: 7.984 kB / 0.905 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.551e-05/0.2355, allocations: 12.38 kB / 0.905 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.2355, allocations: 4 kB / 0.9051 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.2356, allocations: 7.891 kB / 0.9051 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.2356, allocations: 0 / 0.9051 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000351/0.2359, allocations: 382.4 kB / 0.9054 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2359, allocations: 0 / 0.9054 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.838e-05/0.236, allocations: 12 kB / 0.9054 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.236, allocations: 0 / 0.9054 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.236, allocations: 11.94 kB / 0.9054 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.236, allocations: 0 / 0.9054 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.236, allocations: 0 / 0.9054 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002354/0.2363, allocations: 211.4 kB / 0.9056 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.332e-05/0.2363, allocations: 93.02 kB / 0.9057 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.2363, allocations: 0 / 0.9057 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.699e-05/0.2364, allocations: 11.95 kB / 0.9057 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.289e-05/0.2365, allocations: 7.984 kB / 0.9058 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.395e-06/0.2365, allocations: 0 / 0.9058 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.731e-05/0.2365, allocations: 95.42 kB / 0.9058 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2365, allocations: 3.938 kB / 0.9059 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002752/0.2368, allocations: 36 kB / 0.9059 GB, free: 57.69 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.0006837/0.2375, allocations: 0.8149 MB / 0.9067 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002159/0.2377, allocations: 79.88 kB / 0.9068 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2377, allocations: 0 / 0.9068 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.947e-05/0.2378, allocations: 35.98 kB / 0.9068 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002471/0.2381, allocations: 16.08 kB / 0.9068 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009053/0.239, allocations: 0.5949 MB / 0.9074 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001187/0.2391, allocations: 0.6887 MB / 0.9081 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.762e-05/0.2392, allocations: 16.11 kB / 0.9081 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.986e-05/0.2392, allocations: 15.44 kB / 0.9081 GB, free: 55.35 MB / 0.6042 GB Notification: Performance of SimCode: time 6.81e-07/0.2392, allocations: 4 kB / 0.9081 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01308/0.2523, allocations: 2.331 MB / 0.9104 GB, free: 53.19 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001465/0.2525, allocations: 251.7 kB / 0.9106 GB, free: 52.86 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.53/1.782, allocations: 3.938 kB / 0.9106 GB, free: 52.85 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1)