Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,fileNamePrefix="Buildings_latest_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.00142/0.00142, allocations: 108 kB / 15.6 MB, free: 132 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.001527/0.001527, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.215/1.215, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.417/2.417, allocations: 461.9 MB / 0.7346 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 60.91 kB / 0.8992 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.2371, allocations: 157.4 MB / 1.053 GB, free: 8.293 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.002258/0.2394, allocations: 1.326 MB / 1.054 GB, free: 6.957 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000673/0.2401, allocations: 354.9 kB / 1.055 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.678e-05/0.2402, allocations: 3.938 kB / 1.055 GB, free: 6.605 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 6.958e-05/0.2402, allocations: 7.938 kB / 1.055 GB, free: 6.598 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.389e-05/0.2403, allocations: 7.938 kB / 1.055 GB, free: 6.59 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000386/0.2407, allocations: 87.77 kB / 1.055 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001012/0.2408, allocations: 55.84 kB / 1.055 GB, free: 6.449 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.824e-05/0.2408, allocations: 8 kB / 1.055 GB, free: 6.441 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.924e-05/0.2409, allocations: 23.91 kB / 1.055 GB, free: 6.418 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.673e-05/0.2409, allocations: 19.92 kB / 1.055 GB, free: 6.398 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.232e-05/0.2409, allocations: 4 kB / 1.055 GB, free: 6.395 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001609/0.2411, allocations: 79.91 kB / 1.055 GB, free: 6.316 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.818e-05/0.2411, allocations: 27.92 kB / 1.055 GB, free: 6.289 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.99e-05/0.2412, allocations: 39.75 kB / 1.055 GB, free: 6.25 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002124/0.2414, allocations: 167.5 kB / 1.055 GB, free: 6.086 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.2414, allocations: 3.938 kB / 1.055 GB, free: 6.082 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2414, allocations: 4 kB / 1.055 GB, free: 6.078 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.2414, allocations: 0 / 1.055 GB, free: 6.078 MB / 0.8106 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.0004661/0.2419, allocations: 0.5125 MB / 1.056 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.242, allocations: 8.625 kB / 1.056 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.909e-05/0.242, allocations: 42.73 kB / 1.056 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.715e-05/0.2421, allocations: 16.84 kB / 1.056 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.2422, allocations: 176.2 kB / 1.056 GB, free: 5.223 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.2422, allocations: 4.375 kB / 1.056 GB, free: 5.219 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/0.2423, allocations: 4.375 kB / 1.056 GB, free: 5.215 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002392/0.2425, allocations: 246.2 kB / 1.056 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.2425, allocations: 3.938 kB / 1.056 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.2425, allocations: 0 / 1.056 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.317e-06/0.2425, allocations: 0 / 1.056 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001299/0.2427, allocations: 144 kB / 1.056 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001537/0.2428, allocations: 193.4 kB / 1.056 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003553/0.2432, allocations: 0.5379 MB / 1.057 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003254/0.2435, allocations: 0.5207 MB / 1.057 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 6.101e-06/0.2435, allocations: 4 kB / 1.057 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003502/0.2439, allocations: 403.6 kB / 1.058 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=39): time 1.543e-06/0.2439, allocations: 0 / 1.058 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of matching and sorting (n=39): time 0.0006923/0.2446, allocations: 0.6889 MB / 1.058 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.736e-05/0.2447, allocations: 109.1 kB / 1.059 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.114e-05/0.2447, allocations: 97.84 kB / 1.059 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.2448, allocations: 25.7 kB / 1.059 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.592e-05/0.2448, allocations: 88.83 kB / 1.059 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.748e-05/0.2449, allocations: 74.94 kB / 1.059 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.578e-05/0.2449, allocations: 37.7 kB / 1.059 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.245, allocations: 326.8 kB / 1.059 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.331e-05/0.2451, allocations: 83.91 kB / 1.059 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.299e-05/0.2452, allocations: 83.97 kB / 1.059 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000277/0.2455, allocations: 349.4 kB / 1.06 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.2455, allocations: 0 / 1.06 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003105/0.2458, allocations: 352 kB / 1.06 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 7.108e-05/0.2459, allocations: 81.58 kB / 1.06 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.2459, allocations: 0 / 1.06 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.2459, allocations: 0 / 1.06 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.937e-05/0.2459, allocations: 4 kB / 1.06 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.2459, allocations: 0 / 1.06 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.402e-05/0.246, allocations: 15.84 kB / 1.06 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.632e-05/0.2461, allocations: 8 kB / 1.06 GB, free: 0.6094 MB / 0.8106 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.0002107/0.2463, allocations: 271.2 kB / 1.06 GB, free: 340 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.783e-05/0.2463, allocations: 23.75 kB / 1.06 GB, free: 316 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.528e-06/0.2463, allocations: 9.219 kB / 1.06 GB, free: 308 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.2463, allocations: 3.984 kB / 1.06 GB, free: 304 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.2464, allocations: 4 kB / 1.06 GB, free: 300 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.673e-06/0.2464, allocations: 0 / 1.06 GB, free: 300 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001549/0.2465, allocations: 245.3 kB / 1.061 GB, free: 4 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2465, allocations: 4 kB / 1.061 GB, free: 0 / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-07/0.2465, allocations: 0 / 1.061 GB, free: 0 / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.389e-05/0.2465, allocations: 4.141 kB / 1.061 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.088e-05/0.2466, allocations: 12 kB / 1.061 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.2466, allocations: 3.984 kB / 1.061 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.2466, allocations: 0 / 1.061 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001072/0.2477, allocations: 1.279 MB / 1.062 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.513e-05/0.2477, allocations: 92.86 kB / 1.062 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.142e-05/0.2478, allocations: 79.88 kB / 1.062 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.014e-05/0.2479, allocations: 8 kB / 1.062 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.139e-05/0.2479, allocations: 8 kB / 1.062 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.068e-05/0.248, allocations: 15.98 kB / 1.062 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.1e-05/0.248, allocations: 79.47 kB / 1.062 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.248, allocations: 4.031 kB / 1.062 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002615/0.2483, allocations: 71.98 kB / 1.062 GB, free: 14.3 MB / 0.8262 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.001568/0.2498, allocations: 1.971 MB / 1.064 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001389/0.2512, allocations: 1.967 MB / 1.066 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.2513, allocations: 4 kB / 1.066 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001277/0.2525, allocations: 2.007 MB / 1.068 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001988/0.2527, allocations: 23.98 kB / 1.068 GB, free: 8.281 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005876/0.2533, allocations: 385.2 kB / 1.068 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002536/0.2536, allocations: 0.7205 MB / 1.069 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.368e-05/0.2536, allocations: 3.938 kB / 1.069 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.431e-05/0.2537, allocations: 31.44 kB / 1.069 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of SimCode: time 3.31e-07/0.2537, allocations: 4 kB / 1.069 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.383/0.6367, allocations: 4.101 MB / 1.073 GB, free: 3.109 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.633/7.269, allocations: 3.938 kB / 1.073 GB, free: 3.105 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy_fmu --startTime=0 --stopTime=36000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy.fmu > Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1)