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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.004289/0.004289, allocations: 99.06 kB / 15.73 MB, free: 6.492 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.001291/0.001291, allocations: 198.8 kB / 16.68 MB, free: 6.375 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.242/1.242, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.396/2.396, allocations: 437.1 MB / 0.7106 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001796/0.001796, allocations: 67.89 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2671/0.2689, allocations: 151.6 MB / 1.166 GB, free: 7.312 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.002146/0.2711, allocations: 1.324 MB / 1.167 GB, free: 5.969 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.000659/0.2717, allocations: 355.3 kB / 1.168 GB, free: 5.621 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.6e-05/0.2718, allocations: 0 / 1.168 GB, free: 5.621 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 8.084e-05/0.2719, allocations: 7.938 kB / 1.168 GB, free: 5.613 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 2.235e-05/0.2719, allocations: 7.938 kB / 1.168 GB, free: 5.605 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003786/0.2723, allocations: 87.7 kB / 1.168 GB, free: 5.52 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001039/0.2724, allocations: 55.91 kB / 1.168 GB, free: 5.465 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.334e-05/0.2724, allocations: 12 kB / 1.168 GB, free: 5.453 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.918e-05/0.2725, allocations: 19.92 kB / 1.168 GB, free: 5.434 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.88e-05/0.2725, allocations: 23.91 kB / 1.168 GB, free: 5.41 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.227e-05/0.2725, allocations: 4 kB / 1.168 GB, free: 5.406 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001551/0.2727, allocations: 83.84 kB / 1.168 GB, free: 5.324 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.816e-05/0.2727, allocations: 27.92 kB / 1.168 GB, free: 5.297 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.656e-05/0.2728, allocations: 43.69 kB / 1.168 GB, free: 5.254 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002233/0.273, allocations: 167.6 kB / 1.168 GB, free: 5.09 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.273, allocations: 0 / 1.168 GB, free: 5.09 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.402e-06/0.273, allocations: 4 kB / 1.168 GB, free: 5.086 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.638e-06/0.2731, allocations: 0 / 1.168 GB, free: 5.086 MB / 0.92 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.0005118/0.2736, allocations: 0.5199 MB / 1.169 GB, free: 4.508 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.2736, allocations: 8.031 kB / 1.169 GB, free: 4.5 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.336e-05/0.2737, allocations: 46.73 kB / 1.169 GB, free: 4.445 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.521e-05/0.2737, allocations: 20.78 kB / 1.169 GB, free: 4.426 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.2739, allocations: 176.2 kB / 1.169 GB, free: 4.215 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.2739, allocations: 384 / 1.169 GB, free: 4.215 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.486e-05/0.2739, allocations: 4.375 kB / 1.169 GB, free: 4.211 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000271/0.2742, allocations: 246.2 kB / 1.169 GB, free: 3.965 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.2742, allocations: 3.938 kB / 1.169 GB, free: 3.961 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.2742, allocations: 4 kB / 1.169 GB, free: 3.957 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.2742, allocations: 0 / 1.169 GB, free: 3.957 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001455/0.2744, allocations: 144 kB / 1.169 GB, free: 3.816 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001709/0.2746, allocations: 193.5 kB / 1.17 GB, free: 3.578 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004121/0.275, allocations: 0.5376 MB / 1.17 GB, free: 3.031 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003814/0.2754, allocations: 0.5204 MB / 1.171 GB, free: 2.508 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 7.714e-06/0.2754, allocations: 4 kB / 1.171 GB, free: 2.504 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003854/0.2758, allocations: 403.5 kB / 1.171 GB, free: 2.082 MB / 0.92 GB Notification: Performance of pre-optimization done (n=39): time 1.132e-06/0.2758, allocations: 0 / 1.171 GB, free: 2.082 MB / 0.92 GB Notification: Performance of matching and sorting (n=39): time 0.000729/0.2765, allocations: 0.6749 MB / 1.172 GB, free: 1.398 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.608e-05/0.2766, allocations: 109 kB / 1.172 GB, free: 1.273 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.238e-05/0.2767, allocations: 105.8 kB / 1.172 GB, free: 1.16 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.2767, allocations: 25.7 kB / 1.172 GB, free: 1.129 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.214e-05/0.2767, allocations: 88.83 kB / 1.172 GB, free: 1.039 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 6.23e-05/0.2768, allocations: 75.38 kB / 1.172 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.79e-05/0.2768, allocations: 37.7 kB / 1.172 GB, free: 0.9219 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.277, allocations: 322.8 kB / 1.172 GB, free: 0.5977 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.522e-05/0.2771, allocations: 83.97 kB / 1.173 GB, free: 0.5156 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.033e-05/0.2772, allocations: 87.92 kB / 1.173 GB, free: 440 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002941/0.2775, allocations: 348.4 kB / 1.173 GB, free: 76 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2775, allocations: 0 / 1.173 GB, free: 76 kB / 0.92 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003523/0.2778, allocations: 344.1 kB / 1.173 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 7.305e-05/0.2779, allocations: 85.53 kB / 1.173 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.2779, allocations: 4 kB / 1.173 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.2779, allocations: 3.984 kB / 1.173 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.746e-05/0.278, allocations: 0 / 1.173 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.278, allocations: 0 / 1.173 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.2e-05/0.2781, allocations: 19.83 kB / 1.173 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.556e-05/0.2781, allocations: 8 kB / 1.173 GB, free: 15.6 MB / 0.9356 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.0002297/0.2783, allocations: 265.7 kB / 1.174 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.185e-05/0.2784, allocations: 27.84 kB / 1.174 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.214e-05/0.2784, allocations: 13.22 kB / 1.174 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.82e-07/0.2784, allocations: 0 / 1.174 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.2784, allocations: 0 / 1.174 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.2784, allocations: 3.984 kB / 1.174 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000187/0.2786, allocations: 253.4 kB / 1.174 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.2786, allocations: 0 / 1.174 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.2786, allocations: 0 / 1.174 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.2786, allocations: 3.938 kB / 1.174 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.017e-05/0.2787, allocations: 8 kB / 1.174 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.2787, allocations: 0 / 1.174 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.2787, allocations: 7.938 kB / 1.174 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001194/0.2799, allocations: 1.283 MB / 1.175 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.206e-05/0.2799, allocations: 96.95 kB / 1.175 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.417e-05/0.28, allocations: 79.88 kB / 1.175 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.472e-05/0.2801, allocations: 8 kB / 1.175 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.481e-05/0.2801, allocations: 8.188 kB / 1.175 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.212e-05/0.2802, allocations: 11.98 kB / 1.175 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.857e-05/0.2802, allocations: 83.27 kB / 1.175 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2802, allocations: 4.031 kB / 1.175 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002555/0.2805, allocations: 71.92 kB / 1.176 GB, free: 13.28 MB / 0.9356 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.001771/0.2822, allocations: 1.955 MB / 1.177 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001581/0.2838, allocations: 1.971 MB / 1.179 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2838, allocations: 0 / 1.179 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001475/0.2853, allocations: 2.011 MB / 1.181 GB, free: 7.297 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001896/0.2855, allocations: 16 kB / 1.181 GB, free: 7.281 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006035/0.2861, allocations: 392.7 kB / 1.182 GB, free: 6.859 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003023/0.2865, allocations: 0.7206 MB / 1.182 GB, free: 6.109 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.527e-05/0.2865, allocations: 3.984 kB / 1.182 GB, free: 6.105 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.514e-05/0.2865, allocations: 27.44 kB / 1.182 GB, free: 6.078 MB / 0.9356 GB Notification: Performance of SimCode: time 2.1e-07/0.2865, allocations: 0 / 1.182 GB, free: 6.078 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.244/1.53, allocations: 4.146 MB / 1.187 GB, free: 2.066 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.2/17.73, allocations: 7.938 kB / 1.187 GB, free: 2.059 MB / 0.9356 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=400 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy.fmu > Buildings_10_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches