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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.000922/0.0009221, allocations: 98.19 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.007193/0.007193, allocations: 169.6 kB / 16.27 MB, free: 6.652 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.272/1.272, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.495/2.495, allocations: 462.6 MB / 0.7364 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003116/0.0003116, allocations: 17.12 kB / 0.9029 GB, free: 36.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.247/0.2473, allocations: 159.6 MB / 1.059 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.001224/0.2486, allocations: 1.057 MB / 1.06 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0006292/0.2492, allocations: 367.1 kB / 1.06 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.875e-05/0.2493, allocations: 0 / 1.06 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 6.066e-05/0.2493, allocations: 0 / 1.06 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.301e-05/0.2494, allocations: 3.938 kB / 1.06 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003064/0.2497, allocations: 79.84 kB / 1.06 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.789e-05/0.2497, allocations: 35.91 kB / 1.06 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.645e-05/0.2498, allocations: 4 kB / 1.06 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.104e-05/0.2498, allocations: 23.92 kB / 1.06 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.2e-05/0.2499, allocations: 19.91 kB / 1.06 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.151e-05/0.2499, allocations: 4 kB / 1.06 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001446/0.25, allocations: 79.86 kB / 1.06 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.592e-05/0.2501, allocations: 27.91 kB / 1.06 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.759e-05/0.2502, allocations: 69.45 kB / 1.06 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001816/0.2503, allocations: 151.5 kB / 1.061 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.2504, allocations: 0 / 1.061 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2504, allocations: 0 / 1.061 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.316e-06/0.2504, allocations: 3.938 kB / 1.061 GB, free: 2.957 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.0003956/0.2508, allocations: 0.5009 MB / 1.061 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.2508, allocations: 15.97 kB / 1.061 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.725e-05/0.2508, allocations: 42.73 kB / 1.061 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.482e-05/0.2509, allocations: 20.75 kB / 1.061 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.438e-05/0.251, allocations: 176.2 kB / 1.061 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.2511, allocations: 12.3 kB / 1.061 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.245e-05/0.2511, allocations: 384 / 1.061 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002426/0.2513, allocations: 242.2 kB / 1.062 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.2513, allocations: 3.938 kB / 1.062 GB, free: 1.844 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.2514, allocations: 8 kB / 1.062 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.276e-06/0.2514, allocations: 0 / 1.062 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000131/0.2515, allocations: 144 kB / 1.062 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001467/0.2517, allocations: 197.4 kB / 1.062 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003752/0.252, allocations: 0.5379 MB / 1.062 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003389/0.2524, allocations: 0.5207 MB / 1.063 GB, free: 392 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 6.061e-06/0.2524, allocations: 0 / 1.063 GB, free: 392 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003631/0.2528, allocations: 403.6 kB / 1.063 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=39): time 1.202e-06/0.2528, allocations: 0 / 1.063 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of matching and sorting (n=39): time 0.0006752/0.2535, allocations: 0.6893 MB / 1.064 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.42e-05/0.2535, allocations: 109 kB / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.056e-05/0.2536, allocations: 93.86 kB / 1.064 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.2536, allocations: 29.7 kB / 1.064 GB, free: 15 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.657e-05/0.2536, allocations: 88.73 kB / 1.064 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.689e-05/0.2537, allocations: 75.03 kB / 1.064 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.39e-05/0.2537, allocations: 29.7 kB / 1.064 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.192e-05/0.2538, allocations: 322.8 kB / 1.065 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.976e-05/0.2539, allocations: 87.97 kB / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.595e-05/0.254, allocations: 83.97 kB / 1.065 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002652/0.2543, allocations: 353.3 kB / 1.065 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2543, allocations: 0 / 1.065 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003124/0.2546, allocations: 336.1 kB / 1.066 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.729e-05/0.2547, allocations: 91.08 kB / 1.066 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-06/0.2547, allocations: 64 / 1.066 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.406e-06/0.2547, allocations: 4 kB / 1.066 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.706e-05/0.2548, allocations: 0 / 1.066 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.2548, allocations: 0 / 1.066 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.008e-05/0.2549, allocations: 19.84 kB / 1.066 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.768e-05/0.2549, allocations: 8 kB / 1.066 GB, free: 13.48 MB / 0.8262 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.2551, allocations: 257.7 kB / 1.066 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.393e-05/0.2551, allocations: 27.75 kB / 1.066 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.237e-05/0.2552, allocations: 13.2 kB / 1.066 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-06/0.2552, allocations: 3.938 kB / 1.066 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.2552, allocations: 4 kB / 1.066 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.593e-06/0.2552, allocations: 0 / 1.066 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001561/0.2553, allocations: 249.4 kB / 1.066 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.2553, allocations: 0 / 1.066 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.2554, allocations: 0 / 1.066 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.2554, allocations: 7.938 kB / 1.066 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.049e-05/0.2554, allocations: 11.98 kB / 1.066 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.2554, allocations: 0 / 1.066 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.2554, allocations: 0 / 1.066 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/0.2565, allocations: 1.283 MB / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.077e-05/0.2565, allocations: 104.8 kB / 1.068 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.219e-05/0.2566, allocations: 71.95 kB / 1.068 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.498e-05/0.2567, allocations: 8 kB / 1.068 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.584e-05/0.2568, allocations: 11.98 kB / 1.068 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.89e-05/0.2568, allocations: 8 kB / 1.068 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.308e-05/0.2568, allocations: 91.45 kB / 1.068 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2568, allocations: 0 / 1.068 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002662/0.2571, allocations: 67.98 kB / 1.068 GB, free: 11.18 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.001565/0.2587, allocations: 1.97 MB / 1.07 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001417/0.2601, allocations: 1.967 MB / 1.072 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.2601, allocations: 0 / 1.072 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001333/0.2615, allocations: 2.015 MB / 1.074 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001991/0.2617, allocations: 23.98 kB / 1.074 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005873/0.2623, allocations: 408.2 kB / 1.074 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002246/0.2625, allocations: 0.7169 MB / 1.075 GB, free: 3.965 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.17e-05/0.2625, allocations: 0 / 1.075 GB, free: 3.965 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.417e-05/0.2625, allocations: 31.42 kB / 1.075 GB, free: 3.934 MB / 0.8262 GB Notification: Performance of SimCode: time 3.41e-07/0.2626, allocations: 4 kB / 1.075 GB, free: 3.93 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01748/0.28, allocations: 3.715 MB / 1.078 GB, free: 404 kB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001949/0.2802, allocations: 266.6 kB / 1.079 GB, free: 40 kB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.532/1.812, allocations: 0 / 1.079 GB, free: 40 kB / 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)