Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01174/0.01174, allocations: 107.5 kB / 15.06 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001259/0.001259, allocations: 177 kB / 15.95 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.183/2.183, allocations: 194.6 MB / 211.3 MB, free: 11.01 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.749/2.749, allocations: 236.2 MB / 492.6 MB, free: 11.3 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004822/0.0004825, allocations: 11.98 kB / 0.587 GB, free: 2.062 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.77/0.7705, allocations: 98.7 MB / 0.6834 GB, free: 16.84 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.001744/0.7723, allocations: 1.042 MB / 0.6844 GB, free: 16.07 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0008644/0.7732, allocations: 324.6 kB / 0.6848 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.656e-05/0.7733, allocations: 1.281 kB / 0.6848 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 8.619e-05/0.7734, allocations: 3.938 kB / 0.6848 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 3.126e-05/0.7735, allocations: 6.656 kB / 0.6848 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004464/0.7739, allocations: 61.31 kB / 0.6848 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 7.049e-05/0.774, allocations: 22.94 kB / 0.6848 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 5.098e-05/0.7741, allocations: 2.156 kB / 0.6848 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 3.179e-05/0.7741, allocations: 9.203 kB / 0.6849 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 5.207e-05/0.7742, allocations: 23.98 kB / 0.6849 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.523e-05/0.7742, allocations: 1.438 kB / 0.6849 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001859/0.7744, allocations: 53 kB / 0.6849 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 4.486e-05/0.7745, allocations: 21.55 kB / 0.685 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 4.11e-05/0.7745, allocations: 38.34 kB / 0.685 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002202/0.7747, allocations: 98.67 kB / 0.6851 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.7748, allocations: 0 / 0.6851 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.855e-06/0.7748, allocations: 3.938 kB / 0.6851 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.7748, allocations: 3.938 kB / 0.6851 GB, free: 15.7 MB / 0.5261 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.000581/0.7754, allocations: 418.8 kB / 0.6855 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/0.7754, allocations: 9.531 kB / 0.6855 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.387e-05/0.7755, allocations: 43.52 kB / 0.6855 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001084/0.7756, allocations: 22.48 kB / 0.6856 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.7757, allocations: 175.6 kB / 0.6857 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/0.7758, allocations: 2.625 kB / 0.6857 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.422e-05/0.7758, allocations: 4.109 kB / 0.6857 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003183/0.7761, allocations: 185.3 kB / 0.6859 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-06/0.7762, allocations: 1.281 kB / 0.6859 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.7762, allocations: 4.703 kB / 0.6859 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.7762, allocations: 1.344 kB / 0.6859 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001296/0.7763, allocations: 74.78 kB / 0.686 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001988/0.7766, allocations: 210.9 kB / 0.6862 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002315/0.7768, allocations: 142.8 kB / 0.6863 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.153e-05/0.7768, allocations: 1.344 kB / 0.6863 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003617/0.7772, allocations: 205.4 kB / 0.6865 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=39): time 2.544e-06/0.7772, allocations: 0 / 0.6865 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39): time 0.001168/0.7784, allocations: 0.654 MB / 0.6872 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.216e-05/0.7785, allocations: 90.34 kB / 0.6872 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.399e-05/0.7786, allocations: 121.6 kB / 0.6874 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.779e-05/0.7787, allocations: 54.08 kB / 0.6874 GB, free: 14 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.038e-05/0.7787, allocations: 90.95 kB / 0.6875 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001177/0.7789, allocations: 86.77 kB / 0.6876 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.916e-05/0.7789, allocations: 9.219 kB / 0.6876 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.703e-05/0.779, allocations: 343.2 kB / 0.6879 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000335/0.7793, allocations: 171.2 kB / 0.6881 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004104/0.7798, allocations: 235.7 kB / 0.6883 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004499/0.7802, allocations: 211.3 kB / 0.6885 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.7802, allocations: 5.562 kB / 0.6885 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001002/0.7812, allocations: 490.6 kB / 0.689 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/0.7813, allocations: 5.5 kB / 0.689 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/0.7813, allocations: 2.125 kB / 0.689 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.455e-05/0.7813, allocations: 3.25 kB / 0.689 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001912/0.7815, allocations: 18.58 kB / 0.689 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/0.7816, allocations: 3 kB / 0.689 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001739/0.7818, allocations: 47.75 kB / 0.6891 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.131e-05/0.7818, allocations: 11.92 kB / 0.6891 GB, free: 13.03 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 77 ($PRE.occ.hold_time,occ.hold_time,$PRE.occ.mu,occ.mu,$PRE.occ.occ,occ.occ,$PRE.occ.state[1],occ.state[1],$PRE.occ.state[2],occ.state[2],$PRE.occ.state[3],occ.state[3],$PRE.occ.state[4],occ.state[4],$PRE.occ.state[5],occ.state[5],$PRE.occ.state[6],occ.state[6],$PRE.occ.state[7],occ.state[7],$PRE.occ.state[8],occ.state[8],$PRE.occ.state[9],occ.state[9],$PRE.occ.state[10],occ.state[10],$PRE.occ.state[11],occ.state[11],$PRE.occ.state[12],occ.state[12],$PRE.occ.state[13],occ.state[13],$PRE.occ.state[14],occ.state[14],$PRE.occ.state[15],occ.state[15],$PRE.occ.state[16],occ.state[16],$PRE.occ.state[17],occ.state[17],$PRE.occ.state[18],occ.state[18],$PRE.occ.state[19],occ.state[19],$PRE.occ.state[20],occ.state[20],$PRE.occ.state[21],occ.state[21],$PRE.occ.state[22],occ.state[22],$PRE.occ.state[23],occ.state[23],$PRE.occ.state[24],occ.state[24],$PRE.occ.state[25],occ.state[25],$PRE.occ.state[26],occ.state[26],$PRE.occ.state[27],occ.state[27],$PRE.occ.state[28],occ.state[28],$PRE.occ.state[29],occ.state[29],$PRE.occ.state[30],occ.state[30],$PRE.occ.state[31],occ.state[31],$PRE.occ.state[32],occ.state[32],$PRE.occ.state[33],occ.state[33],$PRE.occ.r,occ.r,$whenCondition1,$PRE.occ.tNext,occ.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 44 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002916/0.7821, allocations: 205 kB / 0.6893 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.484e-05/0.7821, allocations: 11.27 kB / 0.6893 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.716e-05/0.7822, allocations: 11.16 kB / 0.6893 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.7822, allocations: 4.812 kB / 0.6893 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.7822, allocations: 0.6562 kB / 0.6893 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.7822, allocations: 1 kB / 0.6893 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001558/0.7824, allocations: 192.3 kB / 0.6895 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.7824, allocations: 0 / 0.6895 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.488e-06/0.7824, allocations: 10.34 kB / 0.6895 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.7824, allocations: 0 / 0.6895 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.7825, allocations: 2.234 kB / 0.6895 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.7825, allocations: 3.984 kB / 0.6895 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.7825, allocations: 1 kB / 0.6895 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008235/0.7833, allocations: 476.4 kB / 0.69 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.477e-05/0.7834, allocations: 98.14 kB / 0.69 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.245e-05/0.7834, allocations: 30.44 kB / 0.6901 GB, free: 12.33 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.547e-05/0.7835, allocations: 8.609 kB / 0.6901 GB, free: 12.33 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.713e-05/0.7836, allocations: 3.562 kB / 0.6901 GB, free: 12.33 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.7836, allocations: 1.906 kB / 0.6901 GB, free: 12.33 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.603e-05/0.7837, allocations: 82.81 kB / 0.6902 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.51e-07/0.7837, allocations: 1.094 kB / 0.6902 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004814/0.7842, allocations: 45.09 kB / 0.6902 GB, free: 12.24 MB / 0.5261 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: 35 (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],occ.occ,occ.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00161/0.7858, allocations: 1.13 MB / 0.6913 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008703/0.7867, allocations: 352.8 kB / 0.6917 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.7867, allocations: 1.438 kB / 0.6917 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002056/0.7869, allocations: 120.7 kB / 0.6918 GB, free: 11.31 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002525/0.7872, allocations: 9.781 kB / 0.6918 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001018/0.7882, allocations: 397.2 kB / 0.6922 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000236/0.7885, allocations: 0.7213 MB / 0.6929 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 6.925e-05/0.7886, allocations: 18.39 kB / 0.6929 GB, free: 10.33 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.005e-05/0.7887, allocations: 37.38 kB / 0.6929 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of SimCode: time 1.333e-06/0.7887, allocations: 0 / 0.6929 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02849/0.8172, allocations: 3.081 MB / 0.6959 GB, free: 9.988 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002948/0.8176, allocations: 245.8 kB / 0.6962 GB, free: 9.742 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.599/3.416, allocations: 0 / 0.6962 GB, free: 9.742 MB / 0.5261 GB