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 2.448/2.448, allocations: 252 MB / 267.3 MB, free: 10.87 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.001778/0.001778, allocations: 177.8 kB / 327 MB, free: 2.117 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.308/3.308, allocations: 205.4 MB / 0.578 GB, free: 20.14 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.001231/0.001231, allocations: 95.55 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006911/0.0006915, allocations: 11.53 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4259/0.4266, allocations: 106.4 MB / 0.9009 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.002867/0.4296, allocations: 1.215 MB / 0.9021 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002176/0.4318, allocations: 0.7681 MB / 0.9029 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.432, allocations: 0 / 0.9029 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.151e-05/0.432, allocations: 3.984 kB / 0.9029 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001329/0.4322, allocations: 15.88 kB / 0.9029 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009553/0.4332, allocations: 99.77 kB / 0.903 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001955/0.4334, allocations: 71.78 kB / 0.903 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001455/0.4336, allocations: 7.984 kB / 0.9031 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001734/0.4337, allocations: 31.91 kB / 0.9031 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001247/0.4339, allocations: 31.84 kB / 0.9031 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.063e-05/0.4339, allocations: 8 kB / 0.9031 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003915/0.4343, allocations: 91.84 kB / 0.9032 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.416e-05/0.4344, allocations: 19.91 kB / 0.9032 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001082/0.4345, allocations: 57.55 kB / 0.9033 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004076/0.4349, allocations: 123.7 kB / 0.9034 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.435, allocations: 4 kB / 0.9034 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.134e-06/0.435, allocations: 0 / 0.9034 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.435, allocations: 0 / 0.9034 GB, free: 60.85 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.0009064/0.4359, allocations: 409.3 kB / 0.9038 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 7.821e-05/0.436, allocations: 8.031 kB / 0.9038 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.446e-05/0.4361, allocations: 38.73 kB / 0.9038 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.77e-05/0.4362, allocations: 8.844 kB / 0.9038 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001589/0.4363, allocations: 176.2 kB / 0.904 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.929e-05/0.4364, allocations: 4.375 kB / 0.904 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.152e-05/0.4365, allocations: 8.375 kB / 0.904 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002731/0.4367, allocations: 69.78 kB / 0.9041 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.4368, allocations: 4 kB / 0.9041 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.4368, allocations: 3.938 kB / 0.9041 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.4368, allocations: 4 kB / 0.9041 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001853/0.437, allocations: 43.95 kB / 0.9041 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009449/0.438, allocations: 328.6 kB / 0.9045 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002087/0.4382, allocations: 50.56 kB / 0.9045 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001408/0.4384, allocations: 32.97 kB / 0.9045 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.104e-05/0.4384, allocations: 7.938 kB / 0.9045 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000313/0.4387, allocations: 83.38 kB / 0.9046 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 2.825e-06/0.4388, allocations: 3.938 kB / 0.9046 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0006326/0.4394, allocations: 141.7 kB / 0.9048 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.914e-05/0.4395, allocations: 59.41 kB / 0.9048 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/0.4396, allocations: 125.7 kB / 0.9049 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.4397, allocations: 25.7 kB / 0.905 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.49e-05/0.4398, allocations: 92.14 kB / 0.9051 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.508e-05/0.4398, allocations: 15.73 kB / 0.9051 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.245e-05/0.4398, allocations: 4 kB / 0.9051 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.44, allocations: 318.8 kB / 0.9054 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/0.4401, allocations: 35.97 kB / 0.9054 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001421/0.4403, allocations: 46.56 kB / 0.9055 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000268/0.4406, allocations: 86.48 kB / 0.9055 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.4406, allocations: 0 / 0.9055 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004061/0.441, allocations: 121.5 kB / 0.9057 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.902e-05/0.441, allocations: 4 kB / 0.9057 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.4411, allocations: 4.062 kB / 0.9057 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.044e-05/0.4411, allocations: 4 kB / 0.9057 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.4412, allocations: 15.94 kB / 0.9057 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.473e-05/0.4413, allocations: 7.984 kB / 0.9057 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.299e-05/0.4414, allocations: 4 kB / 0.9057 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.011e-05/0.4414, allocations: 8 kB / 0.9057 GB, free: 58.24 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001403/0.4416, allocations: 117.8 kB / 0.9058 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.476e-05/0.4416, allocations: 11.91 kB / 0.9058 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.14e-05/0.4417, allocations: 12.36 kB / 0.9058 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.4417, allocations: 3.938 kB / 0.9058 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.196e-06/0.4417, allocations: 0 / 0.9058 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.4417, allocations: 4 kB / 0.9058 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006461/0.4424, allocations: 378.4 kB / 0.9062 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.4424, allocations: 0 / 0.9062 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.753e-05/0.4424, allocations: 8 kB / 0.9062 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.4425, allocations: 0 / 0.9062 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.4425, allocations: 7.984 kB / 0.9062 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.4425, allocations: 3.938 kB / 0.9062 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.4425, allocations: 0 / 0.9062 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004091/0.4429, allocations: 231.7 kB / 0.9064 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.469e-05/0.443, allocations: 88.94 kB / 0.9065 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.192e-05/0.443, allocations: 7.984 kB / 0.9065 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/0.4432, allocations: 7.938 kB / 0.9065 GB, free: 57.28 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.007e-05/0.4433, allocations: 7.984 kB / 0.9066 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/0.4433, allocations: 4 kB / 0.9066 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.377e-05/0.4434, allocations: 91.92 kB / 0.9066 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.41e-07/0.4434, allocations: 0 / 0.9066 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004862/0.4439, allocations: 40 kB / 0.9067 GB, free: 57.14 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001202/0.4451, allocations: 0.8045 MB / 0.9075 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003681/0.4455, allocations: 71.95 kB / 0.9075 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.4455, allocations: 4 kB / 0.9075 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001468/0.4457, allocations: 40.03 kB / 0.9076 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.0004815/0.4462, allocations: 11.94 kB / 0.9076 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002334/0.4485, allocations: 1.517 MB / 0.9091 GB, free: 54.59 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002542/0.4488, allocations: 0.6964 MB / 0.9098 GB, free: 53.86 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.564e-05/0.4489, allocations: 8 kB / 0.9098 GB, free: 53.86 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.157e-05/0.449, allocations: 24.17 kB / 0.9098 GB, free: 53.84 MB / 0.6042 GB Notification: Performance of SimCode: time 5.31e-07/0.449, allocations: 0 / 0.9098 GB, free: 53.84 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01907/0.4681, allocations: 2.339 MB / 0.9121 GB, free: 51.67 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002461/0.4684, allocations: 268.4 kB / 0.9123 GB, free: 51.31 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.603/3.072, allocations: 2.391 kB / 0.9123 GB, free: 51.31 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)