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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 106.8 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.274/1.274, allocations: 225.6 MB / 249.3 MB, free: 3.195 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.283/2.283, allocations: 443.5 MB / 0.7304 GB, free: 13.98 MB / 0.5763 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001761/0.001761, allocations: 59.91 kB / 1.059 GB, free: 1.008 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2422/0.2439, allocations: 160.8 MB / 1.216 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002006/0.2459, allocations: 1.235 MB / 1.217 GB, free: 14.72 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001787/0.2477, allocations: 1.332 MB / 1.218 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.947e-05/0.2477, allocations: 0 / 1.218 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.281e-05/0.2477, allocations: 0 / 1.218 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0005828/0.2483, allocations: 215.3 kB / 1.218 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 9.195e-05/0.2484, allocations: 31.83 kB / 1.218 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 4.785e-05/0.2485, allocations: 19.91 kB / 1.218 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.099e-05/0.2485, allocations: 0 / 1.218 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.938e-05/0.2485, allocations: 8 kB / 1.218 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2347/0.4833, allocations: 31 MB / 1.249 GB, free: 1.125 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.592e-05/0.4833, allocations: 0 / 1.249 GB, free: 1.125 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.368e-06/0.4833, allocations: 0 / 1.249 GB, free: 1.125 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.213e-05/0.4833, allocations: 8 kB / 1.249 GB, free: 1.117 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.459e-05/0.4833, allocations: 3.938 kB / 1.249 GB, free: 1.113 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 9.146e-05/0.4834, allocations: 12 kB / 1.249 GB, free: 1.102 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.4834, allocations: 3.984 kB / 1.249 GB, free: 1.098 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.443e-06/0.4834, allocations: 0 / 1.249 GB, free: 1.098 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.4834, allocations: 3.938 kB / 1.249 GB, free: 1.094 MB / 0.9825 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.000294/0.4837, allocations: 319.5 kB / 1.249 GB, free: 0.7344 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.4838, allocations: 8.031 kB / 1.249 GB, free: 0.7266 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.139e-05/0.4838, allocations: 110 kB / 1.249 GB, free: 0.6094 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.791e-05/0.4839, allocations: 88.2 kB / 1.249 GB, free: 0.5234 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.484, allocations: 239.7 kB / 1.249 GB, free: 256 kB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.564e-05/0.4841, allocations: 150.9 kB / 1.249 GB, free: 104 kB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.522e-05/0.4841, allocations: 150.9 kB / 1.25 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.129e-05/0.4842, allocations: 104.9 kB / 1.25 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.26e-05/0.4842, allocations: 75.28 kB / 1.25 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.864e-05/0.4843, allocations: 158.6 kB / 1.25 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.468e-05/0.4843, allocations: 154.5 kB / 1.25 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.211e-05/0.4844, allocations: 154.5 kB / 1.25 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002682/0.4847, allocations: 445.9 kB / 1.251 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.278e-05/0.4848, allocations: 173.1 kB / 1.251 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.07e-05/0.4848, allocations: 88.12 kB / 1.251 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.181e-05/0.4848, allocations: 79.22 kB / 1.251 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.281e-05/0.4849, allocations: 109.8 kB / 1.251 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.4849, allocations: 0 / 1.251 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 6.707e-05/0.485, allocations: 33.66 kB / 1.251 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/0.4851, allocations: 211.8 kB / 1.251 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.157e-05/0.4851, allocations: 97.86 kB / 1.251 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.4852, allocations: 25.7 kB / 1.251 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.32e-05/0.4852, allocations: 80.14 kB / 1.252 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.243e-06/0.4852, allocations: 0 / 1.252 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.787e-05/0.4852, allocations: 17.7 kB / 1.252 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.4854, allocations: 318.8 kB / 1.252 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.917e-06/0.4854, allocations: 0 / 1.252 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.33e-05/0.4854, allocations: 22.52 kB / 1.252 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.395e-05/0.4854, allocations: 83.28 kB / 1.252 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.649e-05/0.4855, allocations: 75.28 kB / 1.252 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.621e-05/0.4855, allocations: 33.64 kB / 1.252 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.556e-05/0.4855, allocations: 83.22 kB / 1.252 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.189e-05/0.4856, allocations: 79.27 kB / 1.252 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.339e-05/0.4856, allocations: 158.5 kB / 1.252 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.171e-05/0.4857, allocations: 83.28 kB / 1.252 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.638e-05/0.4857, allocations: 158.5 kB / 1.253 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001441/0.4859, allocations: 75.28 kB / 1.253 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.64e-05/0.4859, allocations: 79.28 kB / 1.253 GB, free: 12.59 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.0001228/0.486, allocations: 268.3 kB / 1.253 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.647e-05/0.4861, allocations: 108.9 kB / 1.253 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.643e-05/0.4861, allocations: 108.1 kB / 1.253 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.521e-05/0.4862, allocations: 180.2 kB / 1.253 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-05/0.4863, allocations: 180.3 kB / 1.254 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.861e-05/0.4863, allocations: 184.2 kB / 1.254 GB, free: 11.53 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002306/0.4866, allocations: 405.2 kB / 1.254 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.141e-05/0.4866, allocations: 108.9 kB / 1.254 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.888e-05/0.4866, allocations: 104.9 kB / 1.254 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.9e-05/0.4867, allocations: 180.2 kB / 1.254 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.966e-05/0.4868, allocations: 184.2 kB / 1.255 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.088e-05/0.4868, allocations: 176.3 kB / 1.255 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.524e-05/0.4869, allocations: 184.3 kB / 1.255 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001391/0.487, allocations: 307.8 kB / 1.255 GB, free: 9.793 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.739e-05/0.4871, allocations: 186 kB / 1.255 GB, free: 9.586 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.824e-05/0.4872, allocations: 188.2 kB / 1.256 GB, free: 9.395 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/0.4873, allocations: 109 kB / 1.256 GB, free: 9.281 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.709e-05/0.4874, allocations: 180.6 kB / 1.256 GB, free: 9.098 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.926e-05/0.4874, allocations: 101 kB / 1.256 GB, free: 8.992 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.945e-05/0.4875, allocations: 83.27 kB / 1.256 GB, free: 8.91 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.4875, allocations: 0 / 1.256 GB, free: 8.91 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002347/0.4877, allocations: 8 kB / 1.256 GB, free: 8.902 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.0003917/0.4881, allocations: 0.8048 MB / 1.257 GB, free: 8.066 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 5.054e-05/0.4882, allocations: 16.03 kB / 1.257 GB, free: 8.051 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.4882, allocations: 0 / 1.257 GB, free: 8.051 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.92e-07/0.4882, allocations: 0 / 1.257 GB, free: 8.051 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003436/0.4885, allocations: 459.7 kB / 1.257 GB, free: 7.598 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000376/0.4889, allocations: 198.3 kB / 1.258 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002559/0.4891, allocations: 0.6729 MB / 1.258 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.553e-05/0.4892, allocations: 4 kB / 1.258 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.733e-05/0.4892, allocations: 7.812 kB / 1.258 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of SimCode: time 3.9e-07/0.4892, allocations: 4 kB / 1.258 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02273/0.5119, allocations: 1.243 MB / 1.259 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.903/7.415, allocations: 12.83 kB / 1.259 GB, free: 5.434 MB / 0.9981 GB " [Timeout remaining time 293] (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 400 --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) [Timeout 420.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.862501489995338]