Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,fileNamePrefix="Buildings_10_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.0008366/0.0008366, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.005533/0.005533, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.34/1.34, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.309/2.309, allocations: 437.8 MB / 0.7121 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003242/0.0003244, allocations: 11.94 kB / 0.8729 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5231/0.5234, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.00117/0.5246, allocations: 1.059 MB / 1.024 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0006297/0.5253, allocations: 355.1 kB / 1.024 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.114e-05/0.5253, allocations: 0 / 1.024 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 6.075e-05/0.5254, allocations: 3.938 kB / 1.025 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 2.383e-05/0.5254, allocations: 3.984 kB / 1.025 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003201/0.5258, allocations: 79.86 kB / 1.025 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.819e-05/0.5258, allocations: 43.86 kB / 1.025 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.654e-05/0.5259, allocations: 4 kB / 1.025 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.102e-05/0.5259, allocations: 23.91 kB / 1.025 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.099e-05/0.5259, allocations: 15.92 kB / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.588e-06/0.526, allocations: 0 / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001401/0.5261, allocations: 75.91 kB / 1.025 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.488e-05/0.5262, allocations: 31.86 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.084e-05/0.5262, allocations: 69.44 kB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001803/0.5264, allocations: 163.4 kB / 1.025 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.5264, allocations: 0 / 1.025 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.764e-06/0.5264, allocations: 0 / 1.025 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.357e-06/0.5264, allocations: 4 kB / 1.025 GB, free: 13.91 MB / 0.7794 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.0003813/0.5268, allocations: 0.4989 MB / 1.025 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.5269, allocations: 12.03 kB / 1.025 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.867e-05/0.5269, allocations: 42.73 kB / 1.026 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.799e-05/0.527, allocations: 20.75 kB / 1.026 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.493e-05/0.5271, allocations: 176.2 kB / 1.026 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.5271, allocations: 4.375 kB / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.407e-05/0.5271, allocations: 4.375 kB / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000233/0.5274, allocations: 238.2 kB / 1.026 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.5274, allocations: 11.94 kB / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.407e-06/0.5274, allocations: 0 / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-06/0.5274, allocations: 0 / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001311/0.5275, allocations: 147.9 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001397/0.5277, allocations: 197.4 kB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003367/0.528, allocations: 0.5301 MB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003125/0.5284, allocations: 0.5207 MB / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 6.813e-06/0.5284, allocations: 0 / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003257/0.5287, allocations: 403.6 kB / 1.028 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=39): time 1.433e-06/0.5287, allocations: 0 / 1.028 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of matching and sorting (n=39): time 0.0006373/0.5294, allocations: 0.6864 MB / 1.028 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.49e-05/0.5294, allocations: 105.1 kB / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.871e-05/0.5295, allocations: 109.7 kB / 1.029 GB, free: 9.996 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.5295, allocations: 25.7 kB / 1.029 GB, free: 9.965 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.425e-05/0.5295, allocations: 80.8 kB / 1.029 GB, free: 9.883 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.354e-05/0.5296, allocations: 79.03 kB / 1.029 GB, free: 9.805 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.169e-05/0.5296, allocations: 25.7 kB / 1.029 GB, free: 9.773 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.679e-05/0.5297, allocations: 330.8 kB / 1.029 GB, free: 9.441 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.078e-05/0.5298, allocations: 75.98 kB / 1.029 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.73e-05/0.5299, allocations: 87.91 kB / 1.029 GB, free: 9.281 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002612/0.5301, allocations: 352.4 kB / 1.03 GB, free: 8.922 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.5301, allocations: 0 / 1.03 GB, free: 8.922 MB / 0.7794 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003/0.5304, allocations: 344 kB / 1.03 GB, free: 8.574 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.42e-05/0.5305, allocations: 81.58 kB / 1.03 GB, free: 8.488 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.5305, allocations: 4.062 kB / 1.03 GB, free: 8.484 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.516e-06/0.5305, allocations: 0 / 1.03 GB, free: 8.484 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.123e-05/0.5306, allocations: 4 kB / 1.03 GB, free: 8.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.5306, allocations: 0 / 1.03 GB, free: 8.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.794e-05/0.5307, allocations: 19.78 kB / 1.03 GB, free: 8.461 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.824e-05/0.5307, allocations: 11.98 kB / 1.03 GB, free: 8.449 MB / 0.7794 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.0002147/0.5309, allocations: 271.5 kB / 1.03 GB, free: 8.172 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.034e-05/0.531, allocations: 23.75 kB / 1.03 GB, free: 8.148 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.046e-05/0.531, allocations: 5.219 kB / 1.03 GB, free: 8.141 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.531, allocations: 4 kB / 1.03 GB, free: 8.137 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.531, allocations: 4 kB / 1.03 GB, free: 8.133 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-06/0.531, allocations: 0 / 1.03 GB, free: 8.133 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001497/0.5312, allocations: 241.4 kB / 1.031 GB, free: 7.848 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.5312, allocations: 4 kB / 1.031 GB, free: 7.844 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.733e-06/0.5312, allocations: 0 / 1.031 GB, free: 7.844 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.5312, allocations: 7.875 kB / 1.031 GB, free: 7.836 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.068e-05/0.5312, allocations: 15.98 kB / 1.031 GB, free: 7.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.5312, allocations: 0 / 1.031 GB, free: 7.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.5312, allocations: 0 / 1.031 GB, free: 7.82 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.5322, allocations: 1.283 MB / 1.032 GB, free: 6.512 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.662e-05/0.5323, allocations: 104.7 kB / 1.032 GB, free: 6.391 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.725e-05/0.5324, allocations: 67.95 kB / 1.032 GB, free: 6.324 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.279e-05/0.5325, allocations: 8 kB / 1.032 GB, free: 6.316 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.323e-05/0.5325, allocations: 15.98 kB / 1.032 GB, free: 6.301 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-05/0.5325, allocations: 15.98 kB / 1.032 GB, free: 6.285 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.016e-05/0.5326, allocations: 79.28 kB / 1.032 GB, free: 6.207 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.81e-07/0.5326, allocations: 0 / 1.032 GB, free: 6.207 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002571/0.5328, allocations: 72.03 kB / 1.032 GB, free: 6.137 MB / 0.7794 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.001492/0.5343, allocations: 1.965 MB / 1.034 GB, free: 4.152 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001317/0.5357, allocations: 1.964 MB / 1.036 GB, free: 2.176 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.5357, allocations: 4.094 kB / 1.036 GB, free: 2.172 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.001191/0.5369, allocations: 2.015 MB / 1.038 GB, free: 148 kB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001927/0.5371, allocations: 16 kB / 1.038 GB, free: 132 kB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005783/0.5377, allocations: 416 kB / 1.038 GB, free: 15.68 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002096/0.5379, allocations: 0.7208 MB / 1.039 GB, free: 14.93 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 1.069e-05/0.5379, allocations: 0 / 1.039 GB, free: 14.93 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.524e-05/0.5379, allocations: 27.44 kB / 1.039 GB, free: 14.91 MB / 0.795 GB Notification: Performance of SimCode: time 3.51e-07/0.5379, allocations: 0 / 1.039 GB, free: 14.91 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.393/2.931, allocations: 3.714 MB / 1.043 GB, free: 11.35 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003603/2.931, allocations: 256.1 kB / 1.043 GB, free: 11.09 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.763/4.694, allocations: 1.688 kB / 1.043 GB, free: 11.09 MB / 0.795 GB (rm -f Buildings_10_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy_fmu --startTime=0 --stopTime=36000 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy.fmu > Buildings_10_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1)