Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 2.21/2.21, allocations: 252 MB / 267.3 MB, free: 10.79 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002063/0.002063, allocations: 170.8 kB / 327 MB, free: 2.07 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.772/2.772, allocations: 205.4 MB / 0.578 GB, free: 20.11 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009803/0.00098, allocations: 92.23 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004937/0.0004938, allocations: 8.844 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3608/0.3613, allocations: 106.3 MB / 0.9009 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.002012/0.3634, allocations: 1.066 MB / 0.902 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009183/0.3644, allocations: 359.9 kB / 0.9023 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.741e-05/0.3645, allocations: 3.938 kB / 0.9023 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.927e-05/0.3646, allocations: 0 / 0.9023 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.527e-05/0.3646, allocations: 11.92 kB / 0.9023 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000515/0.3652, allocations: 71.86 kB / 0.9024 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.53e-05/0.3653, allocations: 43.91 kB / 0.9024 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.934e-05/0.3653, allocations: 0 / 0.9024 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.279e-05/0.3654, allocations: 19.91 kB / 0.9024 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.445e-05/0.3655, allocations: 19.92 kB / 0.9025 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.329e-05/0.3655, allocations: 4 kB / 0.9025 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002092/0.3657, allocations: 79.86 kB / 0.9025 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.136e-05/0.3658, allocations: 31.91 kB / 0.9026 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.135e-05/0.3659, allocations: 65.45 kB / 0.9026 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002908/0.3662, allocations: 155.5 kB / 0.9028 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.3662, allocations: 4 kB / 0.9028 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.916e-06/0.3662, allocations: 0 / 0.9028 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.3662, allocations: 0 / 0.9028 GB, free: 61.44 MB / 0.6042 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.0005211/0.3667, allocations: 0.497 MB / 0.9033 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.32e-05/0.3668, allocations: 12.03 kB / 0.9033 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.769e-05/0.3669, allocations: 54.67 kB / 0.9033 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001205/0.367, allocations: 16.75 kB / 0.9034 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.3671, allocations: 172.2 kB / 0.9035 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.3672, allocations: 4.375 kB / 0.9035 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.863e-05/0.3672, allocations: 4.375 kB / 0.9035 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000309/0.3675, allocations: 249.7 kB / 0.9038 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.3675, allocations: 11.88 kB / 0.9038 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.3676, allocations: 0 / 0.9038 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.3676, allocations: 0 / 0.9038 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001388/0.3677, allocations: 148 kB / 0.9039 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001832/0.3679, allocations: 193.4 kB / 0.9041 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003718/0.3683, allocations: 0.5298 MB / 0.9046 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002745/0.3686, allocations: 0.5204 MB / 0.9051 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.058e-05/0.3686, allocations: 0 / 0.9051 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003546/0.369, allocations: 407.5 kB / 0.9055 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=39): time 1.253e-06/0.369, allocations: 4 kB / 0.9055 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of matching and sorting (n=39): time 0.000648/0.3696, allocations: 0.686 MB / 0.9062 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.642e-05/0.3697, allocations: 109.1 kB / 0.9063 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.921e-05/0.3698, allocations: 97.86 kB / 0.9064 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.3698, allocations: 25.7 kB / 0.9064 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.089e-05/0.3698, allocations: 80.8 kB / 0.9065 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.923e-05/0.3699, allocations: 75 kB / 0.9066 GB, free: 57.33 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.479e-06/0.3699, allocations: 0 / 0.9066 GB, free: 57.33 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.346e-05/0.37, allocations: 326.9 kB / 0.9069 GB, free: 57 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.852e-05/0.37, allocations: 87.97 kB / 0.907 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.073e-05/0.3701, allocations: 83.91 kB / 0.907 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002351/0.3703, allocations: 353.4 kB / 0.9074 GB, free: 56.47 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.3703, allocations: 0 / 0.9074 GB, free: 56.47 MB / 0.6042 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002763/0.3706, allocations: 336.2 kB / 0.9077 GB, free: 56.13 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.613e-05/0.3707, allocations: 85.58 kB / 0.9078 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.3707, allocations: 3.938 kB / 0.9078 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.3708, allocations: 0 / 0.9078 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.839e-05/0.3708, allocations: 7.984 kB / 0.9078 GB, free: 56.03 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.978e-06/0.3709, allocations: 8.047 kB / 0.9078 GB, free: 56.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001382/0.371, allocations: 15.84 kB / 0.9078 GB, free: 56.01 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.185e-05/0.371, allocations: 8 kB / 0.9078 GB, free: 56 MB / 0.6042 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 ($whenCondition1,occ.occ,occ.mu,$PRE.occ.tNext,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: 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.0003031/0.3713, allocations: 265.7 kB / 0.9081 GB, free: 55.72 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.178e-05/0.3714, allocations: 27.69 kB / 0.9081 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.703e-05/0.3714, allocations: 9.203 kB / 0.9081 GB, free: 55.69 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.3714, allocations: 0 / 0.9081 GB, free: 55.69 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.3714, allocations: 4 kB / 0.9081 GB, free: 55.68 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.3714, allocations: 0 / 0.9081 GB, free: 55.68 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001548/0.3716, allocations: 257.2 kB / 0.9084 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3716, allocations: 4 kB / 0.9084 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.92e-07/0.3716, allocations: 0 / 0.9084 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.3716, allocations: 3.938 kB / 0.9084 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.6e-05/0.3717, allocations: 11.98 kB / 0.9084 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3717, allocations: 0 / 0.9084 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3717, allocations: 0 / 0.9084 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009802/0.3727, allocations: 1.275 MB / 0.9096 GB, free: 54.06 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.577e-05/0.3727, allocations: 100.8 kB / 0.9097 GB, free: 53.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.621e-05/0.3728, allocations: 79.97 kB / 0.9098 GB, free: 53.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.312e-05/0.3729, allocations: 8 kB / 0.9098 GB, free: 53.86 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.776e-05/0.373, allocations: 4 kB / 0.9098 GB, free: 53.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.241e-05/0.373, allocations: 15.98 kB / 0.9098 GB, free: 53.84 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.169e-05/0.373, allocations: 83.28 kB / 0.9099 GB, free: 53.76 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.373, allocations: 3.938 kB / 0.9099 GB, free: 53.75 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002886/0.3733, allocations: 71.98 kB / 0.91 GB, free: 53.68 MB / 0.6042 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.001656/0.375, allocations: 1.951 MB / 0.9119 GB, free: 51.71 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001276/0.3763, allocations: 1.964 MB / 0.9138 GB, free: 49.73 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3763, allocations: 0 / 0.9138 GB, free: 49.73 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001026/0.3773, allocations: 2.014 MB / 0.9158 GB, free: 47.7 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000238/0.3776, allocations: 28.08 kB / 0.9158 GB, free: 47.68 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006711/0.3783, allocations: 416.1 kB / 0.9162 GB, free: 47.23 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001824/0.3784, allocations: 0.7169 MB / 0.9169 GB, free: 46.49 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.546e-05/0.3785, allocations: 4 kB / 0.9169 GB, free: 46.48 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.651e-05/0.3785, allocations: 31.42 kB / 0.9169 GB, free: 46.45 MB / 0.6042 GB Notification: Performance of SimCode: time 3.1e-07/0.3785, allocations: 0 / 0.9169 GB, free: 46.45 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02072/0.3992, allocations: 3.724 MB / 0.9206 GB, free: 42.9 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002352/0.3995, allocations: 270 kB / 0.9208 GB, free: 42.54 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.623/3.023, allocations: 0 / 0.9208 GB, free: 42.54 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy_fmu --startTime=0 --stopTime=36000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1)