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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.008395/0.008395, allocations: 106 kB / 15.74 MB, free: 5.578 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.001389/0.001389, allocations: 189.9 kB / 16.67 MB, free: 5.516 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.362/1.362, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.215/2.215, allocations: 390.2 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 63.89 kB / 0.9504 GB, free: 8.172 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7904/0.7917, allocations: 140.4 MB / 1.087 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.002002/0.7937, allocations: 1.336 MB / 1.089 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.000622/0.7944, allocations: 352.8 kB / 1.089 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.584e-05/0.7944, allocations: 0 / 1.089 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 7.073e-05/0.7945, allocations: 5.594 kB / 1.089 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 2.369e-05/0.7945, allocations: 8.672 kB / 1.089 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003834/0.7949, allocations: 86.64 kB / 1.089 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.916e-05/0.795, allocations: 55.39 kB / 1.089 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.855e-05/0.7951, allocations: 10.94 kB / 1.089 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.232e-05/0.7951, allocations: 22.94 kB / 1.089 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.669e-05/0.7952, allocations: 20.27 kB / 1.089 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.248e-05/0.7952, allocations: 3.125 kB / 1.089 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001554/0.7953, allocations: 79.94 kB / 1.089 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.806e-05/0.7954, allocations: 25.03 kB / 1.089 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.139e-05/0.7954, allocations: 51.12 kB / 1.089 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002158/0.7957, allocations: 155.9 kB / 1.09 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.7957, allocations: 0 / 1.09 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.242e-06/0.7957, allocations: 0 / 1.09 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.598e-06/0.7957, allocations: 4 kB / 1.09 GB, free: 3.902 MB / 0.8575 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.0003897/0.7961, allocations: 0.5146 MB / 1.09 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.7961, allocations: 9.094 kB / 1.09 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.271e-05/0.7962, allocations: 49.2 kB / 1.09 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.635e-05/0.7963, allocations: 13.8 kB / 1.09 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.582e-05/0.7963, allocations: 176 kB / 1.09 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.7963, allocations: 6.5 kB / 1.09 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.44e-05/0.7964, allocations: 4.562 kB / 1.09 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002684/0.7966, allocations: 252.2 kB / 1.091 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.7967, allocations: 3.938 kB / 1.091 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.7967, allocations: 1.562 kB / 1.091 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.7967, allocations: 1.469 kB / 1.091 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001548/0.7968, allocations: 144.9 kB / 1.091 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001398/0.797, allocations: 190.8 kB / 1.091 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003262/0.7973, allocations: 0.5303 MB / 1.091 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003247/0.7977, allocations: 0.5276 MB / 1.092 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.866e-06/0.7977, allocations: 4.719 kB / 1.092 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004139/0.7981, allocations: 405.8 kB / 1.092 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=39): time 1.412e-06/0.7981, allocations: 0 / 1.092 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of matching and sorting (n=39): time 0.0008467/0.799, allocations: 0.6866 MB / 1.093 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.078e-05/0.799, allocations: 104.4 kB / 1.093 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.034e-05/0.7991, allocations: 99.56 kB / 1.093 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.7991, allocations: 27.11 kB / 1.093 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.638e-05/0.7991, allocations: 86.34 kB / 1.093 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.688e-05/0.7992, allocations: 74.09 kB / 1.093 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.51e-05/0.7992, allocations: 36.62 kB / 1.093 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.923e-05/0.7993, allocations: 323.7 kB / 1.094 GB, free: 0.8789 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.7994, allocations: 82.48 kB / 1.094 GB, free: 0.8477 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.89e-05/0.7995, allocations: 87.83 kB / 1.094 GB, free: 0.8125 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003411/0.7998, allocations: 356.6 kB / 1.094 GB, free: 0.6328 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.7999, allocations: 0 / 1.094 GB, free: 0.6328 MB / 0.8575 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004064/0.8003, allocations: 334.2 kB / 1.095 GB, free: 492 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 9.206e-05/0.8004, allocations: 88.81 kB / 1.095 GB, free: 440 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.8004, allocations: 0 / 1.095 GB, free: 440 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.8004, allocations: 0.5156 kB / 1.095 GB, free: 440 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.8e-05/0.8005, allocations: 2.219 kB / 1.095 GB, free: 440 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.8005, allocations: 0.6562 kB / 1.095 GB, free: 440 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/0.8006, allocations: 22.55 kB / 1.095 GB, free: 428 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.267e-05/0.8006, allocations: 6.438 kB / 1.095 GB, free: 428 kB / 0.8575 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.0002492/0.8009, allocations: 269.5 kB / 1.095 GB, free: 244 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.151e-05/0.8009, allocations: 22.16 kB / 1.095 GB, free: 236 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.235e-05/0.801, allocations: 11.03 kB / 1.095 GB, free: 228 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-06/0.801, allocations: 0.9844 kB / 1.095 GB, free: 228 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.801, allocations: 0 / 1.095 GB, free: 228 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.801, allocations: 4.797 kB / 1.095 GB, free: 224 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001791/0.8012, allocations: 248.1 kB / 1.095 GB, free: 16 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.8012, allocations: 0.9375 kB / 1.095 GB, free: 16 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.232e-06/0.8012, allocations: 0.75 kB / 1.095 GB, free: 16 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.8012, allocations: 5.062 kB / 1.095 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.742e-05/0.8012, allocations: 14.3 kB / 1.095 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.8012, allocations: 1.297 kB / 1.095 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.8012, allocations: 0.7188 kB / 1.095 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001364/0.8026, allocations: 1.279 MB / 1.096 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 4.437e-05/0.8027, allocations: 101 kB / 1.097 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/0.8028, allocations: 76.91 kB / 1.097 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.94e-05/0.8029, allocations: 8.062 kB / 1.097 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.788e-05/0.8029, allocations: 6.141 kB / 1.097 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-05/0.8029, allocations: 19.03 kB / 1.097 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 3.89e-05/0.803, allocations: 82.86 kB / 1.097 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.714e-06/0.803, allocations: 4.031 kB / 1.097 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003223/0.8033, allocations: 77.72 kB / 1.097 GB, free: 15.32 MB / 0.8731 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.002084/0.8054, allocations: 1.956 MB / 1.099 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001774/0.8072, allocations: 1.971 MB / 1.101 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.8072, allocations: 1.312 kB / 1.101 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001411/0.8086, allocations: 2.016 MB / 1.103 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002622/0.8089, allocations: 18.39 kB / 1.103 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007115/0.8096, allocations: 382.7 kB / 1.103 GB, free: 11.87 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002553/0.8099, allocations: 0.7187 MB / 1.104 GB, free: 11.17 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 1.368e-05/0.8099, allocations: 0 / 1.104 GB, free: 11.17 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.164e-05/0.81, allocations: 31.09 kB / 1.104 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of SimCode: time 3.51e-07/0.81, allocations: 0 / 1.104 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02136/0.8313, allocations: 4.147 MB / 1.108 GB, free: 10.51 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.238/8.07, allocations: 12.84 kB / 1.108 GB, free: 10.5 MB / 0.8731 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)