Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_latest_Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_latest_Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad",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.004802/0.004802, allocations: 102.4 kB / 15.73 MB, free: 6.438 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.00109/0.00109, allocations: 194.3 kB / 16.67 MB, free: 6.355 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.277/1.277, allocations: 222.9 MB / 240.4 MB, free: 4.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.523/2.523, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 67.89 kB / 1.054 GB, free: 7.66 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/0.296, allocations: 157.4 MB / 1.207 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002029/0.298, allocations: 1.229 MB / 1.208 GB, free: 8.906 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001774/0.2998, allocations: 1.261 MB / 1.21 GB, free: 7.637 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.057e-05/0.2999, allocations: 0 / 1.21 GB, free: 7.637 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.014e-05/0.2999, allocations: 3.938 kB / 1.21 GB, free: 7.633 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0006211/0.3005, allocations: 203.3 kB / 1.21 GB, free: 7.434 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001011/0.3006, allocations: 38.31 kB / 1.21 GB, free: 7.398 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.408e-05/0.3007, allocations: 15.92 kB / 1.21 GB, free: 7.383 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.051e-05/0.3008, allocations: 4 kB / 1.21 GB, free: 7.379 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.407e-05/0.3008, allocations: 12 kB / 1.21 GB, free: 7.367 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1733/0.4741, allocations: 30.91 MB / 1.24 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.032e-05/0.4742, allocations: 4 kB / 1.24 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.899e-06/0.4742, allocations: 0 / 1.24 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.607e-05/0.4742, allocations: 0 / 1.24 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.137e-05/0.4742, allocations: 4 kB / 1.24 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001213/0.4744, allocations: 15.97 kB / 1.24 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.4744, allocations: 0 / 1.24 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.607e-06/0.4744, allocations: 0 / 1.24 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.4744, allocations: 3.938 kB / 1.24 GB, free: 11.27 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003194/0.4747, allocations: 327.4 kB / 1.24 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.4748, allocations: 8.625 kB / 1.24 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.371e-05/0.4748, allocations: 110 kB / 1.241 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.016e-05/0.4749, allocations: 80.22 kB / 1.241 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.475, allocations: 239.6 kB / 1.241 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.583e-05/0.4751, allocations: 150.9 kB / 1.241 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.886e-05/0.4752, allocations: 154.9 kB / 1.241 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.276e-05/0.4752, allocations: 108.9 kB / 1.241 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.109e-05/0.4753, allocations: 79.28 kB / 1.241 GB, free: 9.93 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.224e-05/0.4753, allocations: 150.6 kB / 1.242 GB, free: 9.781 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.075e-05/0.4754, allocations: 150.6 kB / 1.242 GB, free: 9.633 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.549e-05/0.4754, allocations: 154.5 kB / 1.242 GB, free: 9.48 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000272/0.4757, allocations: 450 kB / 1.242 GB, free: 8.992 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.734e-05/0.4758, allocations: 169.2 kB / 1.242 GB, free: 8.816 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.776e-05/0.4758, allocations: 84.14 kB / 1.242 GB, free: 8.73 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.773e-05/0.4759, allocations: 83.2 kB / 1.243 GB, free: 8.648 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.205e-05/0.4759, allocations: 109.8 kB / 1.243 GB, free: 8.531 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.4759, allocations: 0 / 1.243 GB, free: 8.531 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 7.453e-05/0.476, allocations: 33.64 kB / 1.243 GB, free: 8.492 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.429e-05/0.4761, allocations: 207.7 kB / 1.243 GB, free: 8.258 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.774e-05/0.4762, allocations: 101.8 kB / 1.243 GB, free: 8.148 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.4763, allocations: 25.7 kB / 1.243 GB, free: 8.117 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.664e-05/0.4763, allocations: 88.12 kB / 1.243 GB, free: 8.027 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.064e-06/0.4763, allocations: 4 kB / 1.243 GB, free: 8.023 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.627e-05/0.4763, allocations: 9.719 kB / 1.243 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.4765, allocations: 318.8 kB / 1.243 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.2e-06/0.4765, allocations: 0 / 1.243 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.343e-05/0.4765, allocations: 18.58 kB / 1.243 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.575e-05/0.4765, allocations: 79.27 kB / 1.244 GB, free: 7.582 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.078e-05/0.4766, allocations: 75.28 kB / 1.244 GB, free: 7.508 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.773e-05/0.4766, allocations: 41.58 kB / 1.244 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.537e-05/0.4767, allocations: 79.28 kB / 1.244 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.803e-05/0.4767, allocations: 75.28 kB / 1.244 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.324e-05/0.4768, allocations: 154.5 kB / 1.244 GB, free: 7.156 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.177e-05/0.4768, allocations: 83.28 kB / 1.244 GB, free: 7.074 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.395e-05/0.4769, allocations: 154.5 kB / 1.244 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001578/0.477, allocations: 91.2 kB / 1.244 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.237e-05/0.4771, allocations: 75.28 kB / 1.244 GB, free: 6.758 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.0001149/0.4772, allocations: 260.9 kB / 1.245 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.275e-05/0.4772, allocations: 108.9 kB / 1.245 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.951e-05/0.4773, allocations: 112.1 kB / 1.245 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.713e-05/0.4774, allocations: 184.3 kB / 1.245 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-05/0.4774, allocations: 184.2 kB / 1.245 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.204e-05/0.4775, allocations: 176.3 kB / 1.245 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000214/0.4777, allocations: 413.2 kB / 1.246 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.773e-05/0.4777, allocations: 104.9 kB / 1.246 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.148e-05/0.4778, allocations: 101 kB / 1.246 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.852e-05/0.4778, allocations: 184.2 kB / 1.246 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.449e-05/0.4779, allocations: 184.2 kB / 1.246 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.297e-05/0.478, allocations: 180.2 kB / 1.246 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.735e-05/0.478, allocations: 180.3 kB / 1.247 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001277/0.4782, allocations: 303.8 kB / 1.247 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.187e-05/0.4782, allocations: 190 kB / 1.247 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.494e-05/0.4783, allocations: 184.2 kB / 1.247 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.4785, allocations: 105 kB / 1.247 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.197e-05/0.4785, allocations: 184.2 kB / 1.247 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-05/0.4786, allocations: 101.4 kB / 1.248 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.708e-05/0.4786, allocations: 83.28 kB / 1.248 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4786, allocations: 0 / 1.248 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002478/0.4789, allocations: 8 kB / 1.248 GB, free: 3.082 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.0003958/0.4793, allocations: 0.8124 MB / 1.248 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 4.839e-05/0.4793, allocations: 12.03 kB / 1.248 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.4793, allocations: 0 / 1.248 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.084e-06/0.4793, allocations: 4.031 kB / 1.248 GB, free: 2.223 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003378/0.4797, allocations: 451.7 kB / 1.249 GB, free: 1.777 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004072/0.4801, allocations: 206.4 kB / 1.249 GB, free: 1.531 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002331/0.4804, allocations: 0.6729 MB / 1.25 GB, free: 0.832 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.879e-05/0.4804, allocations: 4 kB / 1.25 GB, free: 0.8281 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.861e-05/0.4804, allocations: 7.438 kB / 1.25 GB, free: 0.8242 MB / 0.9981 GB Notification: Performance of SimCode: time 2.856e-06/0.4804, allocations: 3.938 kB / 1.25 GB, free: 0.8203 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.574/1.054, allocations: 1.259 MB / 1.251 GB, free: 42.84 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.279/8.334, allocations: 4.125 kB / 1.251 GB, free: 42.84 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat --tempDir=temp_Buildings_latest_Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad.fmu > Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches