Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001485/0.001484, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001904/0.001904, allocations: 196.6 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.442/2.442, allocations: 437 MB / 0.7104 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 67.89 kB / 0.8693 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5689/0.5703, allocations: 151.6 MB / 1.017 GB, free: 2.5 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.002647/0.573, allocations: 1.328 MB / 1.019 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007516/0.5738, allocations: 355 kB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.761e-05/0.5738, allocations: 0 / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 9.718e-05/0.5739, allocations: 3.938 kB / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.169e-05/0.574, allocations: 3.984 kB / 1.019 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005318/0.5745, allocations: 95.72 kB / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001344/0.5747, allocations: 59.84 kB / 1.019 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.9e-05/0.5747, allocations: 7.984 kB / 1.019 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.061e-05/0.5748, allocations: 15.94 kB / 1.019 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.574e-05/0.5748, allocations: 19.91 kB / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.5749, allocations: 4 kB / 1.019 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002023/0.5751, allocations: 83.86 kB / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.87e-05/0.5751, allocations: 27.92 kB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 7.538e-05/0.5752, allocations: 51.72 kB / 1.019 GB, free: 460 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002663/0.5755, allocations: 155.5 kB / 1.02 GB, free: 304 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.5755, allocations: 0 / 1.02 GB, free: 304 kB / 0.7637 GB Notification: Performance of FrontEnd: time 3.968e-06/0.5755, allocations: 4 kB / 1.02 GB, free: 300 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.339e-05/0.5755, allocations: 0 / 1.02 GB, free: 300 kB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0005796/0.5761, allocations: 0.5086 MB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.5762, allocations: 16.02 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.92e-05/0.5762, allocations: 42.75 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000132/0.5763, allocations: 20.73 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.5765, allocations: 176.2 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.419e-05/0.5765, allocations: 8.312 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.327e-05/0.5765, allocations: 4.375 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002902/0.5768, allocations: 242.2 kB / 1.021 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.5769, allocations: 3.938 kB / 1.021 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.5769, allocations: 4 kB / 1.021 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.5769, allocations: 0 / 1.021 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001521/0.577, allocations: 144 kB / 1.021 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001894/0.5772, allocations: 189.4 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004146/0.5777, allocations: 0.5457 MB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003579/0.578, allocations: 0.5207 MB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.477e-06/0.578, allocations: 0 / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004101/0.5785, allocations: 395.6 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=39): time 1.252e-06/0.5785, allocations: 0 / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of matching and sorting (n=39): time 0.0007691/0.5792, allocations: 0.6861 MB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.908e-05/0.5793, allocations: 109 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.256e-05/0.5794, allocations: 97.89 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.5794, allocations: 29.7 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.523e-05/0.5794, allocations: 88.78 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.774e-05/0.5795, allocations: 71.02 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-05/0.5796, allocations: 33.69 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.5797, allocations: 326.8 kB / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.531e-05/0.5798, allocations: 75.98 kB / 1.024 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.726e-05/0.5799, allocations: 91.91 kB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002921/0.5802, allocations: 352.1 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.5802, allocations: 0 / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003586/0.5806, allocations: 344.3 kB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.448e-05/0.5807, allocations: 89.45 kB / 1.025 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.5807, allocations: 0 / 1.025 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.5807, allocations: 0 / 1.025 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.777e-05/0.5808, allocations: 0 / 1.025 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.5808, allocations: 0 / 1.025 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001062/0.5809, allocations: 19.84 kB / 1.025 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/0.5809, allocations: 8.172 kB / 1.025 GB, free: 10.83 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 40 (occ.state[33],occ.state[32],occ.state[31],occ.state[30],occ.state[29],occ.state[28],occ.state[27],occ.state[26],occ.state[25],occ.state[24],occ.state[23],occ.state[22],occ.state[21],occ.state[20],occ.state[19],occ.state[18],occ.state[17],occ.state[16],occ.state[15],occ.state[14],occ.state[13],occ.state[12],occ.state[11],occ.state[10],occ.state[9],occ.state[8],occ.state[7],occ.state[6],occ.state[5],occ.state[4],occ.state[3],occ.state[2],occ.state[1],occ.r,occ.hold_time,occ.tNext,$PRE.occ.tNext,occ.mu,occ.occ,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * 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.0002306/0.5812, allocations: 277.7 kB / 1.025 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.224e-05/0.5812, allocations: 27.75 kB / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.571e-05/0.5812, allocations: 9.203 kB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.5812, allocations: 0 / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.5813, allocations: 0 / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.5813, allocations: 0 / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001644/0.5814, allocations: 245.4 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.5814, allocations: 4 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.5814, allocations: 0 / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.5814, allocations: 3.938 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.321e-05/0.5815, allocations: 19.98 kB / 1.025 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.5815, allocations: 4 kB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.5815, allocations: 0 / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/0.5826, allocations: 1.279 MB / 1.026 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.57e-05/0.5826, allocations: 100.7 kB / 1.027 GB, free: 8.762 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.11e-05/0.5827, allocations: 71.95 kB / 1.027 GB, free: 8.691 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.526e-05/0.5828, allocations: 8 kB / 1.027 GB, free: 8.684 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.854e-05/0.5829, allocations: 11.98 kB / 1.027 GB, free: 8.672 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.12e-05/0.5829, allocations: 16.02 kB / 1.027 GB, free: 8.656 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.661e-05/0.5829, allocations: 83.28 kB / 1.027 GB, free: 8.574 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.5829, allocations: 0 / 1.027 GB, free: 8.574 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002957/0.5832, allocations: 64 kB / 1.027 GB, free: 8.512 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 39 ($whenCondition1,occ.occ,occ.mu,occ.tNext,occ.hold_time,occ.r,occ.state[1],occ.state[2],occ.state[3],occ.state[4],occ.state[5],occ.state[6],occ.state[7],occ.state[8],occ.state[9],occ.state[10],occ.state[11],occ.state[12],occ.state[13],occ.state[14],occ.state[15],occ.state[16],occ.state[17],occ.state[18],occ.state[19],occ.state[20],occ.state[21],occ.state[22],occ.state[23],occ.state[24],occ.state[25],occ.state[26],occ.state[27],occ.state[28],occ.state[29],occ.state[30],occ.state[31],occ.state[32],occ.state[33]) * Number of discrete states: 39 (occ.tNext,occ.hold_time,occ.mu,occ.occ,occ.state[33],occ.state[32],occ.state[31],occ.state[30],occ.state[29],occ.state[28],occ.state[27],occ.state[26],occ.state[25],occ.state[24],occ.state[23],occ.state[22],occ.state[21],occ.state[20],occ.state[19],occ.state[18],occ.state[17],occ.state[16],occ.state[15],occ.state[14],occ.state[13],occ.state[12],occ.state[11],occ.state[10],occ.state[9],occ.state[8],occ.state[7],occ.state[6],occ.state[5],occ.state[4],occ.state[3],occ.state[2],occ.state[1],occ.r,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.001657/0.5849, allocations: 1.964 MB / 1.029 GB, free: 6.527 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001412/0.5863, allocations: 1.967 MB / 1.031 GB, free: 4.547 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.5863, allocations: 0 / 1.031 GB, free: 4.547 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.001303/0.5876, allocations: 2.015 MB / 1.033 GB, free: 2.52 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002218/0.5879, allocations: 16 kB / 1.033 GB, free: 2.504 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007124/0.5886, allocations: 393.1 kB / 1.033 GB, free: 2.078 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002665/0.5889, allocations: 0.7166 MB / 1.034 GB, free: 1.332 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.698e-05/0.5889, allocations: 4 kB / 1.034 GB, free: 1.328 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.14e-05/0.5889, allocations: 31.42 kB / 1.034 GB, free: 1.297 MB / 0.7794 GB Notification: Performance of SimCode: time 4.8e-07/0.5889, allocations: 0 / 1.034 GB, free: 1.297 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0194/0.6084, allocations: 4.112 MB / 1.038 GB, free: 13.3 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.828/7.436, allocations: 5.469 kB / 1.038 GB, free: 13.29 MB / 0.795 GB (rm -f Buildings_10_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy_fmu --startTime=0 --stopTime=36000 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy.fmu > Buildings_10_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1)