Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001517/0.001517, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00173/0.00173, allocations: 215.6 kB / 22.25 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.357/1.357, allocations: 230.6 MB / 256 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.944/2.944, allocations: 0.49 GB / 0.7951 GB, free: 33.33 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_12_Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_12_Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002784/0.002784, allocations: 72.05 kB / 1.154 GB, free: 25.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3596/0.3624, allocations: 176.1 MB / 1.326 GB, free: 1.938 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002256/0.3646, allocations: 1.266 MB / 1.327 GB, free: 0.6641 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002072/0.3667, allocations: 1.346 MB / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.039e-05/0.3667, allocations: 0 / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.909e-05/0.3667, allocations: 0 / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0006805/0.3674, allocations: 211.3 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001059/0.3675, allocations: 43.88 kB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 5.395e-05/0.3676, allocations: 11.94 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.103e-05/0.3676, allocations: 0 / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 2.418e-05/0.3677, allocations: 11.94 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2429/0.6105, allocations: 31.07 MB / 1.359 GB, free: 2.473 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.12e-05/0.6105, allocations: 0 / 1.359 GB, free: 2.473 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 9.708e-06/0.6105, allocations: 0 / 1.359 GB, free: 2.473 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.052e-05/0.6106, allocations: 3.984 kB / 1.359 GB, free: 2.469 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.396e-05/0.6106, allocations: 4 kB / 1.359 GB, free: 2.465 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001256/0.6107, allocations: 19.86 kB / 1.359 GB, free: 2.445 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.6107, allocations: 0 / 1.359 GB, free: 2.445 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.725e-06/0.6107, allocations: 3.938 kB / 1.359 GB, free: 2.441 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.316e-05/0.6108, allocations: 0 / 1.359 GB, free: 2.441 MB / 1.045 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.0003276/0.6111, allocations: 246.4 kB / 1.359 GB, free: 2.172 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.6111, allocations: 12.03 kB / 1.359 GB, free: 2.16 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.414e-05/0.6112, allocations: 106 kB / 1.359 GB, free: 2.047 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.661e-05/0.6113, allocations: 76.22 kB / 1.359 GB, free: 1.973 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.6114, allocations: 193.8 kB / 1.36 GB, free: 1.758 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.311e-05/0.6115, allocations: 150.9 kB / 1.36 GB, free: 1.609 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.611e-05/0.6115, allocations: 150.9 kB / 1.36 GB, free: 1.461 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.683e-05/0.6116, allocations: 108.9 kB / 1.36 GB, free: 1.348 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.523e-05/0.6116, allocations: 75.28 kB / 1.36 GB, free: 1.273 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.892e-05/0.6117, allocations: 150.6 kB / 1.36 GB, free: 1.125 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-05/0.6118, allocations: 158.5 kB / 1.36 GB, free: 0.9688 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.618e-05/0.6118, allocations: 154.6 kB / 1.361 GB, free: 0.8164 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002955/0.6121, allocations: 421 kB / 1.361 GB, free: 372 kB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/0.6123, allocations: 169.1 kB / 1.361 GB, free: 192 kB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.47e-05/0.6123, allocations: 88.14 kB / 1.361 GB, free: 100 kB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.502e-05/0.6123, allocations: 83.16 kB / 1.361 GB, free: 16 kB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.079e-05/0.6124, allocations: 105.8 kB / 1.361 GB, free: 15.9 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.6124, allocations: 0 / 1.361 GB, free: 15.9 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 8.374e-05/0.6125, allocations: 33.7 kB / 1.361 GB, free: 15.86 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/0.6126, allocations: 203.8 kB / 1.362 GB, free: 15.63 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.6127, allocations: 105.8 kB / 1.362 GB, free: 15.52 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.6127, allocations: 25.7 kB / 1.362 GB, free: 15.49 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.542e-05/0.6128, allocations: 80.14 kB / 1.362 GB, free: 15.41 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.994e-06/0.6128, allocations: 0 / 1.362 GB, free: 15.41 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-05/0.6128, allocations: 13.72 kB / 1.362 GB, free: 15.39 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.613, allocations: 318.8 kB / 1.362 GB, free: 15.07 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.37e-06/0.613, allocations: 0 / 1.362 GB, free: 15.07 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.131e-05/0.613, allocations: 30.5 kB / 1.362 GB, free: 15.03 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.733e-05/0.6131, allocations: 79.28 kB / 1.362 GB, free: 14.95 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.238e-05/0.6131, allocations: 75.28 kB / 1.362 GB, free: 14.88 MB / 1.061 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.631e-05/0.6131, allocations: 29.64 kB / 1.362 GB, free: 14.84 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.693e-05/0.6132, allocations: 87.22 kB / 1.362 GB, free: 14.75 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.358e-05/0.6132, allocations: 75.28 kB / 1.363 GB, free: 14.68 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.195e-05/0.6133, allocations: 154.5 kB / 1.363 GB, free: 14.53 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.681e-05/0.6133, allocations: 83.28 kB / 1.363 GB, free: 14.45 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-05/0.6134, allocations: 162.5 kB / 1.363 GB, free: 14.29 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000158/0.6136, allocations: 75.28 kB / 1.363 GB, free: 14.21 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.083e-05/0.6136, allocations: 79.28 kB / 1.363 GB, free: 14.13 MB / 1.061 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.000133/0.6137, allocations: 262.1 kB / 1.363 GB, free: 13.87 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.191e-05/0.6138, allocations: 116.9 kB / 1.363 GB, free: 13.75 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.916e-05/0.6139, allocations: 112.1 kB / 1.364 GB, free: 13.62 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.001e-05/0.6139, allocations: 184.2 kB / 1.364 GB, free: 13.43 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.348e-05/0.614, allocations: 180.3 kB / 1.364 GB, free: 13.25 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-05/0.6141, allocations: 180.2 kB / 1.364 GB, free: 13.07 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002336/0.6143, allocations: 380.3 kB / 1.364 GB, free: 12.64 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.503e-05/0.6144, allocations: 104.9 kB / 1.365 GB, free: 12.54 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.049e-05/0.6144, allocations: 104.9 kB / 1.365 GB, free: 12.43 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.118e-05/0.6145, allocations: 184.2 kB / 1.365 GB, free: 12.24 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.475e-05/0.6146, allocations: 184.2 kB / 1.365 GB, free: 12.05 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006436/0.6152, allocations: 180.3 kB / 1.365 GB, free: 11.87 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.984e-05/0.6153, allocations: 180.3 kB / 1.365 GB, free: 11.68 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001654/0.6154, allocations: 303.8 kB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.672e-05/0.6155, allocations: 116.9 kB / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.333e-05/0.6156, allocations: 176.3 kB / 1.366 GB, free: 11.06 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.6157, allocations: 109 kB / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.325e-05/0.6158, allocations: 184.2 kB / 1.366 GB, free: 10.76 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.594e-05/0.6158, allocations: 105 kB / 1.366 GB, free: 10.65 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.579e-05/0.6159, allocations: 83.28 kB / 1.366 GB, free: 10.57 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.6159, allocations: 0 / 1.366 GB, free: 10.57 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002563/0.6161, allocations: 4 kB / 1.366 GB, free: 10.57 MB / 1.061 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.000451/0.6166, allocations: 0.8125 MB / 1.367 GB, free: 9.723 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 5.268e-05/0.6166, allocations: 7.938 kB / 1.367 GB, free: 9.715 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.6166, allocations: 0 / 1.367 GB, free: 9.715 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.012e-06/0.6166, allocations: 0 / 1.367 GB, free: 9.715 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003854/0.617, allocations: 459.7 kB / 1.368 GB, free: 9.262 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004335/0.6175, allocations: 199.1 kB / 1.368 GB, free: 9.027 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002975/0.6178, allocations: 0.6728 MB / 1.368 GB, free: 8.328 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.041e-05/0.6178, allocations: 4.375 kB / 1.368 GB, free: 8.324 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.16e-05/0.6178, allocations: 7.438 kB / 1.368 GB, free: 8.316 MB / 1.061 GB Notification: Performance of SimCode: time 2.6e-07/0.6178, allocations: 0 / 1.368 GB, free: 8.316 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02874/0.6465, allocations: 1.364 MB / 1.37 GB, free: 7.023 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.779/10.43, allocations: 16 kB / 1.37 GB, free: 7.012 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.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_12_Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad.fmu > Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.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: 16.79766129899872]