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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001327/0.001327, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001575/0.001575, allocations: 193.7 kB / 16.14 MB, free: 6.699 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 / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.423/2.423, allocations: 437 MB / 0.7099 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 63.89 kB / 0.8687 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4679/0.4693, allocations: 151.6 MB / 1.017 GB, free: 2.832 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.002221/0.4715, allocations: 1.394 MB / 1.018 GB, free: 1.43 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0006585/0.4722, allocations: 374.9 kB / 1.018 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.22e-05/0.4723, allocations: 0 / 1.018 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 6.849e-05/0.4723, allocations: 3.938 kB / 1.018 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 1.987e-05/0.4724, allocations: 0 / 1.018 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003076/0.4727, allocations: 83.84 kB / 1.019 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.932e-05/0.4727, allocations: 43.84 kB / 1.019 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.125e-05/0.4728, allocations: 4 kB / 1.019 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.645e-05/0.4728, allocations: 19.92 kB / 1.019 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.424e-05/0.4729, allocations: 19.97 kB / 1.019 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.01e-05/0.4729, allocations: 3.938 kB / 1.019 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001383/0.473, allocations: 75.91 kB / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.238e-05/0.4731, allocations: 27.92 kB / 1.019 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.86e-05/0.4731, allocations: 39.75 kB / 1.019 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001803/0.4733, allocations: 159.4 kB / 1.019 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.4733, allocations: 0 / 1.019 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.294e-06/0.4733, allocations: 3.984 kB / 1.019 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.497e-06/0.4733, allocations: 0 / 1.019 GB, free: 0.5859 MB / 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.0004095/0.4737, allocations: 0.5145 MB / 1.019 GB, free: 16 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.1e-05/0.4738, allocations: 8.031 kB / 1.019 GB, free: 8 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.098e-05/0.4738, allocations: 50.73 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.849e-05/0.4739, allocations: 12.84 kB / 1.019 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.698e-05/0.474, allocations: 180.2 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.474, allocations: 384 / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.513e-05/0.4741, allocations: 8.359 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002375/0.4743, allocations: 242.2 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.4743, allocations: 7.938 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.4743, allocations: 4 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.125e-06/0.4743, allocations: 0 / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001308/0.4745, allocations: 144 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001448/0.4746, allocations: 197.4 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003463/0.475, allocations: 0.534 MB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003286/0.4753, allocations: 0.5207 MB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 5.36e-06/0.4753, allocations: 0 / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003354/0.4757, allocations: 407.6 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=39): time 1.162e-06/0.4757, allocations: 0 / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of matching and sorting (n=39): time 0.0006533/0.4763, allocations: 0.6782 MB / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.313e-05/0.4764, allocations: 113 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.904e-05/0.4765, allocations: 101.8 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.4765, allocations: 25.7 kB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.436e-05/0.4765, allocations: 84.8 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.494e-05/0.4766, allocations: 75.03 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.341e-05/0.4766, allocations: 33.7 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.727e-05/0.4767, allocations: 326.8 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.336e-05/0.4768, allocations: 83.97 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.147e-05/0.4769, allocations: 87.92 kB / 1.023 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000269/0.4772, allocations: 348.4 kB / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4772, allocations: 0 / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003057/0.4775, allocations: 343.9 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.318e-05/0.4776, allocations: 79.78 kB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.4776, allocations: 8.062 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.076e-06/0.4776, allocations: 3.938 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.155e-05/0.4776, allocations: 3.984 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.4776, allocations: 3.984 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.422e-05/0.4777, allocations: 19.84 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.588e-05/0.4777, allocations: 8 kB / 1.024 GB, free: 11.11 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.0002047/0.478, allocations: 266.2 kB / 1.024 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.983e-05/0.478, allocations: 27.75 kB / 1.024 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.037e-06/0.478, allocations: 5.219 kB / 1.024 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.478, allocations: 4 kB / 1.024 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.478, allocations: 0 / 1.024 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.452e-06/0.478, allocations: 0 / 1.024 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001547/0.4782, allocations: 249.3 kB / 1.024 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.4782, allocations: 0 / 1.024 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.753e-06/0.4782, allocations: 3.984 kB / 1.024 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.4782, allocations: 3.938 kB / 1.025 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.201e-05/0.4782, allocations: 12 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.4782, allocations: 0 / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.4783, allocations: 4 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001075/0.4793, allocations: 1.283 MB / 1.026 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.315e-05/0.4794, allocations: 100.7 kB / 1.026 GB, free: 9.051 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.797e-05/0.4795, allocations: 71.95 kB / 1.026 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.343e-05/0.4796, allocations: 11.98 kB / 1.026 GB, free: 8.969 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.205e-05/0.4796, allocations: 4 kB / 1.026 GB, free: 8.965 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.135e-05/0.4796, allocations: 19.98 kB / 1.026 GB, free: 8.945 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.961e-05/0.4797, allocations: 79.45 kB / 1.026 GB, free: 8.867 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4797, allocations: 0 / 1.026 GB, free: 8.867 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002642/0.4799, allocations: 72.03 kB / 1.026 GB, free: 8.797 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.001551/0.4815, allocations: 1.966 MB / 1.028 GB, free: 6.809 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001355/0.4829, allocations: 1.964 MB / 1.03 GB, free: 4.832 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.4829, allocations: 4.094 kB / 1.03 GB, free: 4.828 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.001255/0.4841, allocations: 2.011 MB / 1.032 GB, free: 2.805 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001982/0.4843, allocations: 20.14 kB / 1.032 GB, free: 2.789 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005857/0.4849, allocations: 410.8 kB / 1.032 GB, free: 2.344 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002192/0.4852, allocations: 0.713 MB / 1.033 GB, free: 1.605 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.306e-05/0.4852, allocations: 3.938 kB / 1.033 GB, free: 1.602 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.29e-05/0.4852, allocations: 31.42 kB / 1.033 GB, free: 1.57 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.4852, allocations: 0 / 1.033 GB, free: 1.57 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.075/1.561, allocations: 3.798 MB / 1.037 GB, free: 13.91 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002053/1.561, allocations: 264.8 kB / 1.037 GB, free: 13.61 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.701/3.262, allocations: 4 kB / 1.037 GB, free: 13.6 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)