Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Experimental.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 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.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_10_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_10_Buildings_Experimental_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.007042/0.007042, allocations: 98.86 kB / 15.73 MB, free: 6.043 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.001684/0.001684, allocations: 196.7 kB / 16.67 MB, free: 5.969 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.899/1.899, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.691/2.691, allocations: 437 MB / 0.7105 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 75.86 kB / 1.018 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.3103, allocations: 151.6 MB / 1.166 GB, free: 7.332 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002798/0.3131, allocations: 1.239 MB / 1.167 GB, free: 6.078 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002314/0.3155, allocations: 1.257 MB / 1.169 GB, free: 4.812 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.473e-05/0.3155, allocations: 0 / 1.169 GB, free: 4.812 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.554e-05/0.3156, allocations: 0 / 1.169 GB, free: 4.812 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0009377/0.3166, allocations: 215.1 kB / 1.169 GB, free: 4.605 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001257/0.3167, allocations: 31.95 kB / 1.169 GB, free: 4.574 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 5.733e-05/0.3168, allocations: 15.92 kB / 1.169 GB, free: 4.559 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.964e-05/0.3169, allocations: 7.984 kB / 1.169 GB, free: 4.551 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.022e-05/0.3169, allocations: 8 kB / 1.169 GB, free: 4.543 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2465/0.5634, allocations: 30.9 MB / 1.199 GB, free: 8.773 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.583e-05/0.5634, allocations: 0 / 1.199 GB, free: 8.773 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.453e-05/0.5634, allocations: 0 / 1.199 GB, free: 8.773 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.305e-05/0.5635, allocations: 3.984 kB / 1.199 GB, free: 8.77 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.387e-05/0.5635, allocations: 7.938 kB / 1.199 GB, free: 8.762 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001459/0.5637, allocations: 7.984 kB / 1.199 GB, free: 8.754 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.5637, allocations: 8 kB / 1.199 GB, free: 8.746 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.615e-06/0.5637, allocations: 0 / 1.199 GB, free: 8.746 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.5637, allocations: 4 kB / 1.199 GB, free: 8.742 MB / 0.9512 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.0004178/0.5641, allocations: 319.5 kB / 1.199 GB, free: 8.383 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/0.5642, allocations: 15.97 kB / 1.199 GB, free: 8.367 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.008e-05/0.5643, allocations: 110 kB / 1.199 GB, free: 8.25 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.33e-05/0.5644, allocations: 80.22 kB / 1.2 GB, free: 8.172 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000172/0.5645, allocations: 239.7 kB / 1.2 GB, free: 7.898 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.855e-05/0.5646, allocations: 158.9 kB / 1.2 GB, free: 7.742 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.192e-05/0.5647, allocations: 154.9 kB / 1.2 GB, free: 7.59 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.423e-05/0.5648, allocations: 104.9 kB / 1.2 GB, free: 7.48 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.895e-05/0.5648, allocations: 75.28 kB / 1.2 GB, free: 7.406 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.128e-05/0.5649, allocations: 150.6 kB / 1.2 GB, free: 7.258 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.145e-05/0.565, allocations: 154.6 kB / 1.201 GB, free: 7.105 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.185e-05/0.5651, allocations: 158.5 kB / 1.201 GB, free: 6.949 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003503/0.5654, allocations: 445.9 kB / 1.201 GB, free: 6.465 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001067/0.5655, allocations: 169.1 kB / 1.201 GB, free: 6.289 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.664e-05/0.5656, allocations: 88.14 kB / 1.201 GB, free: 6.199 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.624e-05/0.5656, allocations: 87.22 kB / 1.201 GB, free: 6.113 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.797e-05/0.5657, allocations: 105.8 kB / 1.202 GB, free: 6 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.5657, allocations: 0 / 1.202 GB, free: 6 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 8.842e-05/0.5658, allocations: 33.59 kB / 1.202 GB, free: 5.961 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001141/0.5659, allocations: 207.8 kB / 1.202 GB, free: 5.727 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.5661, allocations: 101.8 kB / 1.202 GB, free: 5.617 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.5661, allocations: 29.7 kB / 1.202 GB, free: 5.582 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.715e-05/0.5661, allocations: 80.14 kB / 1.202 GB, free: 5.5 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.094e-06/0.5661, allocations: 0 / 1.202 GB, free: 5.5 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.909e-05/0.5662, allocations: 13.72 kB / 1.202 GB, free: 5.48 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.5663, allocations: 314.8 kB / 1.202 GB, free: 5.164 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.57e-06/0.5663, allocations: 0 / 1.202 GB, free: 5.164 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.406e-05/0.5664, allocations: 22.56 kB / 1.202 GB, free: 5.133 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.636e-05/0.5664, allocations: 79.28 kB / 1.202 GB, free: 5.055 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-05/0.5665, allocations: 75.28 kB / 1.202 GB, free: 4.98 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.825e-05/0.5665, allocations: 41.62 kB / 1.203 GB, free: 4.934 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 5.164e-05/0.5666, allocations: 83.28 kB / 1.203 GB, free: 4.852 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.215e-05/0.5666, allocations: 75.28 kB / 1.203 GB, free: 4.777 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.905e-05/0.5667, allocations: 150.6 kB / 1.203 GB, free: 4.629 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.414e-05/0.5668, allocations: 79.22 kB / 1.203 GB, free: 4.551 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.779e-05/0.5668, allocations: 158.6 kB / 1.203 GB, free: 4.395 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001848/0.567, allocations: 87.2 kB / 1.203 GB, free: 4.309 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.137e-05/0.5671, allocations: 75.28 kB / 1.203 GB, free: 4.234 MB / 0.9512 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.0001497/0.5672, allocations: 260.4 kB / 1.203 GB, free: 3.969 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.576e-05/0.5673, allocations: 112.9 kB / 1.204 GB, free: 3.852 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.359e-05/0.5674, allocations: 116.1 kB / 1.204 GB, free: 3.73 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.608e-05/0.5675, allocations: 176.3 kB / 1.204 GB, free: 3.551 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.872e-05/0.5675, allocations: 180.2 kB / 1.204 GB, free: 3.367 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.206e-05/0.5676, allocations: 184.2 kB / 1.204 GB, free: 3.18 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002663/0.5679, allocations: 405.2 kB / 1.205 GB, free: 2.727 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.958e-05/0.568, allocations: 104.9 kB / 1.205 GB, free: 2.617 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.842e-05/0.568, allocations: 109 kB / 1.205 GB, free: 2.504 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.817e-05/0.5681, allocations: 184.4 kB / 1.205 GB, free: 2.316 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.162e-05/0.5682, allocations: 180.2 kB / 1.205 GB, free: 2.133 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.855e-05/0.5683, allocations: 188.2 kB / 1.205 GB, free: 1.941 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.805e-05/0.5684, allocations: 184.3 kB / 1.205 GB, free: 1.754 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001874/0.5686, allocations: 311.7 kB / 1.206 GB, free: 1.426 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.779e-05/0.5687, allocations: 182 kB / 1.206 GB, free: 1.223 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.829e-05/0.5688, allocations: 188.2 kB / 1.206 GB, free: 1.031 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001466/0.5689, allocations: 101 kB / 1.206 GB, free: 0.9258 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.074e-05/0.569, allocations: 188.2 kB / 1.206 GB, free: 0.7344 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.373e-05/0.5691, allocations: 104.9 kB / 1.206 GB, free: 0.625 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.408e-05/0.5691, allocations: 75.28 kB / 1.207 GB, free: 0.5508 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5691, allocations: 0 / 1.207 GB, free: 0.5508 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002712/0.5694, allocations: 4 kB / 1.207 GB, free: 0.5469 MB / 0.9512 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.0005127/0.5699, allocations: 0.8126 MB / 1.207 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 6.944e-05/0.57, allocations: 8.422 kB / 1.207 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.57, allocations: 0 / 1.207 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.817e-06/0.57, allocations: 4 kB / 1.207 GB, free: 15.69 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003869/0.5704, allocations: 454.1 kB / 1.208 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004568/0.5709, allocations: 198.4 kB / 1.208 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002968/0.5712, allocations: 0.669 MB / 1.209 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.127e-05/0.5712, allocations: 4 kB / 1.209 GB, free: 14.31 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.181e-05/0.5712, allocations: 7.438 kB / 1.209 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of SimCode: time 3.81e-07/0.5713, allocations: 0 / 1.209 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0237/0.595, allocations: 1.287 MB / 1.21 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.94/12.54, allocations: 3.938 kB / 1.21 GB, free: 13.03 MB / 0.9669 GB (rm -f Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad.fmu > Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches