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 2.298/2.298, allocations: 252 MB / 267.3 MB, free: 10.85 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.001663/0.001663, allocations: 175.7 kB / 327 MB, free: 2.109 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.471/3.471, allocations: 205.4 MB / 0.578 GB, free: 20.44 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.001012/0.001012, allocations: 94.27 kB / 0.6826 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006419/0.0006422, allocations: 8.781 kB / 0.7971 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4688/0.4695, allocations: 106.4 MB / 0.9009 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.00283/0.4724, allocations: 1.219 MB / 0.9021 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002379/0.4749, allocations: 0.7681 MB / 0.9029 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.803e-05/0.475, allocations: 0 / 0.9029 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.596e-05/0.4751, allocations: 3.984 kB / 0.9029 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001199/0.4752, allocations: 11.86 kB / 0.9029 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008878/0.4761, allocations: 107.8 kB / 0.903 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001637/0.4763, allocations: 67.78 kB / 0.903 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001623/0.4765, allocations: 15.98 kB / 0.9031 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001685/0.4767, allocations: 23.92 kB / 0.9031 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001121/0.4768, allocations: 35.83 kB / 0.9031 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.632e-05/0.4768, allocations: 4 kB / 0.9031 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000329/0.4772, allocations: 91.84 kB / 0.9032 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.133e-05/0.4772, allocations: 19.92 kB / 0.9032 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.878e-05/0.4774, allocations: 61.53 kB / 0.9033 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000362/0.4777, allocations: 123.7 kB / 0.9034 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.4778, allocations: 0 / 0.9034 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.286e-06/0.4778, allocations: 0 / 0.9034 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.233e-06/0.4778, allocations: 0 / 0.9034 GB, free: 61.15 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.0009741/0.4788, allocations: 409.3 kB / 0.9038 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 8.215e-05/0.4789, allocations: 12.03 kB / 0.9038 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.597e-05/0.479, allocations: 38.73 kB / 0.9038 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.547e-05/0.4791, allocations: 8.844 kB / 0.9039 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001723/0.4792, allocations: 176.2 kB / 0.904 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.132e-05/0.4793, allocations: 4.375 kB / 0.904 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.731e-05/0.4793, allocations: 12.31 kB / 0.904 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002604/0.4796, allocations: 69.78 kB / 0.9041 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.4796, allocations: 0 / 0.9041 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.654e-05/0.4797, allocations: 3.984 kB / 0.9041 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.4797, allocations: 4 kB / 0.9041 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002254/0.4799, allocations: 43.97 kB / 0.9042 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009018/0.4808, allocations: 332.6 kB / 0.9045 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000217/0.4811, allocations: 50.56 kB / 0.9045 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001468/0.4812, allocations: 36.97 kB / 0.9046 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.236e-05/0.4813, allocations: 3.938 kB / 0.9046 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003388/0.4816, allocations: 79.38 kB / 0.9046 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 3.196e-06/0.4817, allocations: 0 / 0.9046 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0006888/0.4824, allocations: 145.6 kB / 0.9048 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.247e-05/0.4825, allocations: 59.41 kB / 0.9048 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.4826, allocations: 121.7 kB / 0.9049 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.711e-05/0.4827, allocations: 29.7 kB / 0.905 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.91e-05/0.4828, allocations: 92.2 kB / 0.9051 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.543e-05/0.4828, allocations: 19.73 kB / 0.9051 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.121e-05/0.4828, allocations: 4 kB / 0.9051 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.4829, allocations: 322.8 kB / 0.9054 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/0.4831, allocations: 31.97 kB / 0.9054 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001326/0.4832, allocations: 46.56 kB / 0.9055 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00023/0.4835, allocations: 82.48 kB / 0.9055 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.4835, allocations: 0 / 0.9055 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003209/0.4838, allocations: 121.5 kB / 0.9057 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.486e-05/0.4838, allocations: 4 kB / 0.9057 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.076e-06/0.4839, allocations: 0 / 0.9057 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.746e-05/0.4839, allocations: 4 kB / 0.9057 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/0.484, allocations: 16 kB / 0.9057 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.651e-05/0.4841, allocations: 3.984 kB / 0.9057 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.97e-05/0.4842, allocations: 12 kB / 0.9057 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.989e-05/0.4842, allocations: 0 / 0.9057 GB, free: 58.55 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.0001465/0.4844, allocations: 121.8 kB / 0.9058 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.066e-05/0.4844, allocations: 3.906 kB / 0.9058 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.542e-05/0.4845, allocations: 16.36 kB / 0.9058 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.4845, allocations: 3.938 kB / 0.9058 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/0.4845, allocations: 4 kB / 0.9058 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.4845, allocations: 0 / 0.9058 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005828/0.4851, allocations: 386.4 kB / 0.9062 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.4851, allocations: 4 kB / 0.9062 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.918e-05/0.4852, allocations: 4 kB / 0.9062 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.4852, allocations: 4 kB / 0.9062 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.062e-05/0.4852, allocations: 11.92 kB / 0.9062 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.4852, allocations: 7.938 kB / 0.9062 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.4852, allocations: 480 / 0.9062 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003757/0.4856, allocations: 215.3 kB / 0.9064 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.117e-05/0.4857, allocations: 84.95 kB / 0.9065 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.973e-05/0.4857, allocations: 7.984 kB / 0.9065 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/0.4859, allocations: 11.94 kB / 0.9065 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.843e-05/0.486, allocations: 7.984 kB / 0.9066 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-05/0.486, allocations: 4 kB / 0.9066 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.897e-05/0.4861, allocations: 91.92 kB / 0.9066 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4861, allocations: 0 / 0.9066 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004971/0.4866, allocations: 36 kB / 0.9067 GB, free: 57.44 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.001118/0.4877, allocations: 0.806 MB / 0.9075 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003411/0.4881, allocations: 83.89 kB / 0.9075 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.4881, allocations: 0 / 0.9075 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001345/0.4883, allocations: 39.92 kB / 0.9076 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003917/0.4887, allocations: 15.88 kB / 0.9076 GB, free: 56.49 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002074/0.4908, allocations: 1.522 MB / 0.9091 GB, free: 54.88 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002133/0.491, allocations: 0.6926 MB / 0.9098 GB, free: 54.16 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.396e-05/0.4911, allocations: 7.938 kB / 0.9098 GB, free: 54.15 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.046e-05/0.4911, allocations: 19.42 kB / 0.9098 GB, free: 54.13 MB / 0.6042 GB Notification: Performance of SimCode: time 4.2e-07/0.4911, allocations: 0 / 0.9098 GB, free: 54.13 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01981/0.5109, allocations: 2.333 MB / 0.9121 GB, free: 51.97 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003505/0.5114, allocations: 275.3 kB / 0.9123 GB, free: 51.61 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.562/3.074, allocations: 0 / 0.9123 GB, free: 51.61 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)