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.001814/0.001814, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002099/0.002099, allocations: 190.8 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.587/2.587, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.9/4.9, allocations: 461.9 MB / 0.7344 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 64.39 kB / 0.8987 GB, free: 37.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2858/0.287, allocations: 157.4 MB / 1.052 GB, free: 8.68 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.002369/0.2894, allocations: 1.392 MB / 1.054 GB, free: 7.273 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0006644/0.2901, allocations: 359 kB / 1.054 GB, free: 6.922 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.389e-05/0.2901, allocations: 0 / 1.054 GB, free: 6.922 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 7.751e-05/0.2902, allocations: 7.938 kB / 1.054 GB, free: 6.914 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.335e-05/0.2902, allocations: 4 kB / 1.054 GB, free: 6.91 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003758/0.2906, allocations: 79.86 kB / 1.054 GB, free: 6.832 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.187e-05/0.2907, allocations: 55.84 kB / 1.054 GB, free: 6.777 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.697e-05/0.2908, allocations: 11.98 kB / 1.054 GB, free: 6.766 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.705e-05/0.2908, allocations: 15.94 kB / 1.054 GB, free: 6.75 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.39e-05/0.2908, allocations: 23.91 kB / 1.054 GB, free: 6.727 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.093e-05/0.2909, allocations: 4 kB / 1.054 GB, free: 6.723 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001442/0.291, allocations: 75.92 kB / 1.054 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.905e-05/0.2911, allocations: 27.92 kB / 1.054 GB, free: 6.621 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.949e-05/0.2911, allocations: 51.72 kB / 1.054 GB, free: 6.57 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.00018/0.2913, allocations: 159.4 kB / 1.055 GB, free: 6.414 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2913, allocations: 0 / 1.055 GB, free: 6.414 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.212e-06/0.2913, allocations: 0 / 1.055 GB, free: 6.414 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.2914, allocations: 4 kB / 1.055 GB, free: 6.41 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.0004425/0.2918, allocations: 0.5179 MB / 1.055 GB, free: 5.836 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.436e-05/0.2918, allocations: 8.625 kB / 1.055 GB, free: 5.828 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.085e-05/0.2919, allocations: 50.73 kB / 1.055 GB, free: 5.77 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.891e-05/0.292, allocations: 16.83 kB / 1.055 GB, free: 5.754 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.2921, allocations: 168.3 kB / 1.055 GB, free: 5.551 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.2921, allocations: 4.375 kB / 1.055 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.2921, allocations: 4.375 kB / 1.055 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002343/0.2924, allocations: 242.2 kB / 1.056 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.2924, allocations: 7.938 kB / 1.056 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.2924, allocations: 0 / 1.056 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.266e-06/0.2924, allocations: 0 / 1.056 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000134/0.2925, allocations: 144 kB / 1.056 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001559/0.2927, allocations: 197.3 kB / 1.056 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004067/0.2931, allocations: 0.5302 MB / 1.056 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003394/0.2935, allocations: 0.5206 MB / 1.057 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 6.472e-06/0.2935, allocations: 0 / 1.057 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000351/0.2938, allocations: 407.6 kB / 1.057 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=39): time 1.062e-06/0.2938, allocations: 0 / 1.057 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of matching and sorting (n=39): time 0.000681/0.2945, allocations: 0.6967 MB / 1.058 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.371e-05/0.2946, allocations: 109.1 kB / 1.058 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.271e-05/0.2947, allocations: 93.86 kB / 1.058 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.136e-05/0.2947, allocations: 29.64 kB / 1.058 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.767e-05/0.2947, allocations: 84.8 kB / 1.058 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.464e-05/0.2948, allocations: 79.03 kB / 1.058 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.605e-05/0.2948, allocations: 37.69 kB / 1.058 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.2949, allocations: 326.8 kB / 1.059 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.448e-05/0.295, allocations: 75.98 kB / 1.059 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.69e-05/0.2951, allocations: 87.91 kB / 1.059 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002634/0.2954, allocations: 353.3 kB / 1.059 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.2954, allocations: 0 / 1.059 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003146/0.2957, allocations: 340 kB / 1.06 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 6.445e-05/0.2958, allocations: 87.05 kB / 1.06 GB, free: 0.9688 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.2958, allocations: 0 / 1.06 GB, free: 0.9688 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.2958, allocations: 0 / 1.06 GB, free: 0.9688 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.369e-05/0.2959, allocations: 4 kB / 1.06 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.2959, allocations: 0 / 1.06 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.686e-05/0.2959, allocations: 19.84 kB / 1.06 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.73e-05/0.296, allocations: 8 kB / 1.06 GB, free: 0.9375 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.0002175/0.2962, allocations: 271.2 kB / 1.06 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.941e-05/0.2962, allocations: 23.75 kB / 1.06 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.027e-05/0.2963, allocations: 5.219 kB / 1.06 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.2963, allocations: 8 kB / 1.06 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.2963, allocations: 3.938 kB / 1.06 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.523e-06/0.2963, allocations: 0 / 1.06 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001671/0.2964, allocations: 249.3 kB / 1.06 GB, free: 336 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.2965, allocations: 0 / 1.06 GB, free: 336 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.2965, allocations: 0 / 1.06 GB, free: 336 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.2965, allocations: 3.938 kB / 1.06 GB, free: 332 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.413e-05/0.2965, allocations: 15.98 kB / 1.06 GB, free: 316 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.2965, allocations: 0 / 1.06 GB, free: 316 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.2965, allocations: 3.938 kB / 1.06 GB, free: 312 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001165/0.2977, allocations: 1.291 MB / 1.061 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.991e-05/0.2977, allocations: 96.8 kB / 1.062 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.638e-05/0.2978, allocations: 67.95 kB / 1.062 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.705e-05/0.2979, allocations: 8 kB / 1.062 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.164e-05/0.2979, allocations: 11.98 kB / 1.062 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.237e-05/0.298, allocations: 12 kB / 1.062 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.282e-05/0.298, allocations: 83.27 kB / 1.062 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.298, allocations: 0 / 1.062 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002589/0.2983, allocations: 68.03 kB / 1.062 GB, free: 14.63 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.00162/0.2999, allocations: 1.962 MB / 1.064 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001467/0.3014, allocations: 1.967 MB / 1.066 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3014, allocations: 8.031 kB / 1.066 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001325/0.3027, allocations: 2.018 MB / 1.068 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001989/0.3029, allocations: 19.98 kB / 1.068 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006477/0.3036, allocations: 413.1 kB / 1.068 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002458/0.3039, allocations: 0.7166 MB / 1.069 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.146e-05/0.3039, allocations: 0 / 1.069 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.039e-05/0.3039, allocations: 31.42 kB / 1.069 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.3039, allocations: 0 / 1.069 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03363/0.3376, allocations: 4.014 MB / 1.073 GB, free: 3.547 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003559/0.338, allocations: 264 kB / 1.073 GB, free: 3.191 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.599/3.937, allocations: 0 / 1.073 GB, free: 3.191 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)