Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,fileNamePrefix="Buildings_9_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.0009151/0.0009151, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.00703/0.00703, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.186/1.186, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.049/2.049, allocations: 390.9 MB / 0.6664 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002828/0.0002829, allocations: 8 kB / 0.8161 GB, free: 13.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5046/0.5049, allocations: 142.4 MB / 0.9552 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.001054/0.506, allocations: 1.055 MB / 0.9562 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005804/0.5066, allocations: 364.6 kB / 0.9565 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.879e-05/0.5067, allocations: 5.156 kB / 0.9566 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.846e-05/0.5067, allocations: 0 / 0.9566 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.108e-05/0.5067, allocations: 4.938 kB / 0.9566 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002733/0.507, allocations: 72.97 kB / 0.9566 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.199e-05/0.5071, allocations: 38.8 kB / 0.9567 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.153e-05/0.5071, allocations: 2.375 kB / 0.9567 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.491e-05/0.5072, allocations: 15.61 kB / 0.9567 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.736e-05/0.5072, allocations: 21.78 kB / 0.9567 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.368e-06/0.5072, allocations: 2.281 kB / 0.9567 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001257/0.5073, allocations: 86.47 kB / 0.9568 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.989e-05/0.5074, allocations: 23.95 kB / 0.9568 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.084e-05/0.5074, allocations: 74.69 kB / 0.9569 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001513/0.5076, allocations: 151.8 kB / 0.957 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.5076, allocations: 0 / 0.957 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.132e-06/0.5076, allocations: 1.156 kB / 0.957 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.537e-06/0.5076, allocations: 0 / 0.957 GB, free: 6.285 MB / 0.7169 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.0002934/0.5079, allocations: 0.5027 MB / 0.9575 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.94e-05/0.508, allocations: 13.09 kB / 0.9575 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.738e-05/0.508, allocations: 48.64 kB / 0.9576 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.291e-05/0.5081, allocations: 17.88 kB / 0.9576 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.931e-05/0.5081, allocations: 179 kB / 0.9578 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.5082, allocations: 2.188 kB / 0.9578 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.5082, allocations: 8.469 kB / 0.9578 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002001/0.5084, allocations: 241.7 kB / 0.958 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.731e-06/0.5084, allocations: 3.938 kB / 0.958 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.5084, allocations: 2.094 kB / 0.958 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.116e-06/0.5084, allocations: 0 / 0.958 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001141/0.5085, allocations: 148.5 kB / 0.9582 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001003/0.5086, allocations: 197.9 kB / 0.9583 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002689/0.5089, allocations: 0.5335 MB / 0.9589 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002448/0.5092, allocations: 0.5239 MB / 0.9594 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.801e-06/0.5092, allocations: 0 / 0.9594 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002888/0.5095, allocations: 395.1 kB / 0.9597 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=39): time 1.092e-06/0.5095, allocations: 4 kB / 0.9598 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of matching and sorting (n=39): time 0.0005964/0.5101, allocations: 0.6882 MB / 0.9604 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/0.5101, allocations: 104.9 kB / 0.9605 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.926e-05/0.5102, allocations: 105.2 kB / 0.9606 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.276e-06/0.5102, allocations: 26.83 kB / 0.9607 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.171e-05/0.5102, allocations: 81.89 kB / 0.9607 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.203e-05/0.5102, allocations: 78.12 kB / 0.9608 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.922e-05/0.5103, allocations: 28.05 kB / 0.9608 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.808e-05/0.5103, allocations: 330.5 kB / 0.9611 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.172e-05/0.5104, allocations: 81.42 kB / 0.9612 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.686e-05/0.5105, allocations: 81.31 kB / 0.9613 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002266/0.5107, allocations: 357.2 kB / 0.9616 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.5107, allocations: 0 / 0.9616 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002763/0.511, allocations: 332.2 kB / 0.962 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.496e-05/0.5111, allocations: 81.58 kB / 0.962 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-06/0.5111, allocations: 0 / 0.962 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.346e-06/0.5111, allocations: 0 / 0.962 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.414e-05/0.5111, allocations: 6.031 kB / 0.962 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.506e-06/0.5111, allocations: 4.062 kB / 0.962 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.741e-05/0.5112, allocations: 21.22 kB / 0.9621 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.677e-05/0.5112, allocations: 10.95 kB / 0.9621 GB, free: 2.52 MB / 0.7169 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.0001705/0.5114, allocations: 265.7 kB / 0.9623 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.077e-05/0.5114, allocations: 25.19 kB / 0.9624 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.494e-06/0.5115, allocations: 6.281 kB / 0.9624 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.5115, allocations: 0 / 0.9624 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.5115, allocations: 1.188 kB / 0.9624 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.492e-06/0.5115, allocations: 0 / 0.9624 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001067/0.5116, allocations: 248.5 kB / 0.9626 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.5116, allocations: 1 kB / 0.9626 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.62e-07/0.5116, allocations: 4 kB / 0.9626 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.5116, allocations: 3.938 kB / 0.9626 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.111e-05/0.5116, allocations: 20.55 kB / 0.9626 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.5116, allocations: 5.188 kB / 0.9626 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.5116, allocations: 0 / 0.9626 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00092/0.5126, allocations: 1.285 MB / 0.9639 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.107e-05/0.5126, allocations: 100.9 kB / 0.964 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.378e-05/0.5127, allocations: 74.83 kB / 0.9641 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.06e-05/0.5128, allocations: 7.812 kB / 0.9641 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.647e-05/0.5128, allocations: 12.02 kB / 0.9641 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.017e-05/0.5128, allocations: 16.42 kB / 0.9641 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.988e-05/0.5128, allocations: 77.94 kB / 0.9642 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5128, allocations: 0 / 0.9642 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002585/0.5131, allocations: 68.38 kB / 0.9642 GB, free: 1.184 MB / 0.7169 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.001364/0.5145, allocations: 1.958 MB / 0.9661 GB, free: 8 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001452/0.5159, allocations: 1.964 MB / 0.9681 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.516, allocations: 1.125 kB / 0.9681 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001335/0.5173, allocations: 2.014 MB / 0.97 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001947/0.5175, allocations: 22.38 kB / 0.97 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005879/0.5181, allocations: 409 kB / 0.9704 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002431/0.5183, allocations: 0.7278 MB / 0.9711 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.162e-05/0.5184, allocations: 5.156 kB / 0.9712 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.7e-05/0.5184, allocations: 27.44 kB / 0.9712 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.5184, allocations: 0 / 0.9712 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01484/0.5333, allocations: 3.7 MB / 0.9748 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002198/0.5335, allocations: 254 kB / 0.975 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.502/2.035, allocations: 0 / 0.975 GB, free: 10.44 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy_fmu --startTime=0 --stopTime=36000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy.fmu > Buildings_9_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1)