Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Templates.Components.Validation.PumpMultipleRecord.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.001915/0.001915, allocations: 114.5 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.002329/0.002329, allocations: 217.2 kB / 22.25 MB, free: 5.082 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.551/1.551, allocations: 230.6 MB / 256 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.874/2.874, allocations: 476.7 MB / 0.7707 GB, free: 4.289 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Templates.Components.Validation.PumpMultipleRecord,fileNamePrefix="Buildings_11_Buildings_Templates_Components_Validation_PumpMultipleRecord",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Components.Validation.PumpMultipleRecord,fileNamePrefix="Buildings_11_Buildings_Templates_Components_Validation_PumpMultipleRecord",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.002048/0.002048, allocations: 69.48 kB / 1.117 GB, free: 39.85 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3981/0.4001, allocations: 170 MB / 1.283 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.PumpMultipleRecord): time 0.006248/0.4063, allocations: 3.858 MB / 1.287 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.009425/0.4158, allocations: 6.417 MB / 1.293 GB, free: 1.309 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003737/0.4161, allocations: 35.81 kB / 1.293 GB, free: 1.273 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.005224/0.4214, allocations: 2.01 MB / 1.295 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001208/0.4226, allocations: 0.5715 MB / 1.296 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 3.125e-05/0.4226, allocations: 8 kB / 1.296 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.03704/0.4597, allocations: 23.77 MB / 1.319 GB, free: 6.887 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000256/0.4599, allocations: 38.62 kB / 1.319 GB, free: 6.836 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001197/0.4611, allocations: 0.5875 MB / 1.32 GB, free: 6.246 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00126/0.4624, allocations: 0.6492 MB / 1.32 GB, free: 5.594 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002194/0.4626, allocations: 28 kB / 1.32 GB, free: 5.566 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003703/0.463, allocations: 28 kB / 1.32 GB, free: 5.539 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0008869/0.4638, allocations: 0.7553 MB / 1.321 GB, free: 4.781 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001312/0.4652, allocations: 0.8309 MB / 1.322 GB, free: 3.945 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002795/0.4679, allocations: 2.116 MB / 1.324 GB, free: 1.82 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 9.989e-06/0.468, allocations: 4 kB / 1.324 GB, free: 1.816 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.034e-06/0.468, allocations: 0 / 1.324 GB, free: 1.816 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.627e-05/0.468, allocations: 0 / 1.324 GB, free: 1.816 MB / 1.014 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.00473/0.4728, allocations: 2.175 MB / 1.326 GB, free: 15.59 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/0.4728, allocations: 12.03 kB / 1.326 GB, free: 15.58 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.176e-05/0.4729, allocations: 109.8 kB / 1.326 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004625/0.4734, allocations: 293.8 kB / 1.327 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00457/0.4779, allocations: 2.395 MB / 1.329 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.661e-05/0.478, allocations: 154.6 kB / 1.329 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.862e-05/0.4781, allocations: 154.6 kB / 1.329 GB, free: 12.4 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.459e-05/0.4782, allocations: 105 kB / 1.329 GB, free: 12.29 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.448e-05/0.4782, allocations: 75.28 kB / 1.329 GB, free: 12.22 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.245e-05/0.4783, allocations: 150.6 kB / 1.33 GB, free: 12.07 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.454e-05/0.4783, allocations: 158.4 kB / 1.33 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.788e-05/0.4784, allocations: 150.6 kB / 1.33 GB, free: 11.77 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001528/0.4799, allocations: 1.115 MB / 1.331 GB, free: 10.61 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001084/0.48, allocations: 169.2 kB / 1.331 GB, free: 10.43 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.819e-05/0.4801, allocations: 80.14 kB / 1.331 GB, free: 10.35 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.102e-05/0.4801, allocations: 79.22 kB / 1.331 GB, free: 10.27 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.688e-05/0.4802, allocations: 113.8 kB / 1.331 GB, free: 10.15 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.372e-06/0.4802, allocations: 4 kB / 1.331 GB, free: 10.15 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 0.0003023/0.4805, allocations: 244.2 kB / 1.332 GB, free: 9.902 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.923e-05/0.4806, allocations: 130.7 kB / 1.332 GB, free: 9.762 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004138/0.4847, allocations: 2.848 MB / 1.334 GB, free: 6.898 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.4847, allocations: 29.7 kB / 1.335 GB, free: 6.863 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009881/0.4857, allocations: 0.9067 MB / 1.335 GB, free: 5.953 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.875e-06/0.4857, allocations: 0 / 1.335 GB, free: 5.953 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.495e-05/0.4857, allocations: 13.72 kB / 1.335 GB, free: 5.934 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.4859, allocations: 306 kB / 1.336 GB, free: 5.629 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.881e-06/0.4859, allocations: 0 / 1.336 GB, free: 5.629 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.001e-06/0.4859, allocations: 0 / 1.336 GB, free: 5.629 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.974e-05/0.4859, allocations: 79.22 kB / 1.336 GB, free: 5.551 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.153e-05/0.486, allocations: 75.28 kB / 1.336 GB, free: 5.477 MB / 1.029 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0002992/0.4863, allocations: 252.2 kB / 1.336 GB, free: 5.223 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.996e-05/0.4863, allocations: 79.28 kB / 1.336 GB, free: 5.145 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.936e-05/0.4864, allocations: 75.28 kB / 1.336 GB, free: 5.07 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.071e-05/0.4864, allocations: 166.4 kB / 1.336 GB, free: 4.906 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.044e-05/0.4865, allocations: 79.28 kB / 1.336 GB, free: 4.828 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.918e-05/0.4866, allocations: 154.5 kB / 1.337 GB, free: 4.676 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006152/0.4872, allocations: 99.25 kB / 1.337 GB, free: 4.578 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.356e-05/0.4872, allocations: 75.28 kB / 1.337 GB, free: 4.504 MB / 1.029 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.001065/0.4883, allocations: 0.9474 MB / 1.338 GB, free: 3.547 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002721/0.4885, allocations: 315.5 kB / 1.338 GB, free: 3.23 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003583/0.4889, allocations: 345.2 kB / 1.338 GB, free: 2.879 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.468e-05/0.489, allocations: 188.1 kB / 1.339 GB, free: 2.688 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.908e-05/0.4891, allocations: 176.3 kB / 1.339 GB, free: 2.508 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.053e-05/0.4891, allocations: 184.3 kB / 1.339 GB, free: 2.32 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001226/0.4904, allocations: 1.056 MB / 1.34 GB, free: 1.215 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.816e-05/0.4904, allocations: 101 kB / 1.34 GB, free: 1.109 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.284e-05/0.4905, allocations: 116.9 kB / 1.34 GB, free: 0.9883 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.895e-05/0.4906, allocations: 176.3 kB / 1.34 GB, free: 0.8086 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.577e-05/0.4906, allocations: 180.3 kB / 1.34 GB, free: 0.625 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.924e-05/0.4907, allocations: 184.1 kB / 1.341 GB, free: 448 kB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.53e-05/0.4908, allocations: 180.3 kB / 1.341 GB, free: 260 kB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000432/0.4912, allocations: 0.5186 MB / 1.341 GB, free: 15.71 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004828/0.4917, allocations: 291.5 kB / 1.342 GB, free: 15.41 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002769/0.492, allocations: 192.6 kB / 1.342 GB, free: 15.22 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005155/0.4925, allocations: 116.7 kB / 1.342 GB, free: 15.1 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/0.4926, allocations: 188.2 kB / 1.342 GB, free: 14.91 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.053e-05/0.4927, allocations: 101 kB / 1.342 GB, free: 14.8 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.003614/0.4963, allocations: 2.094 MB / 1.344 GB, free: 12.7 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4963, allocations: 0 / 1.344 GB, free: 12.7 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0006087/0.4969, allocations: 180 kB / 1.344 GB, free: 12.53 MB / 1.045 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.0008473/0.4978, allocations: 1.042 MB / 1.345 GB, free: 11.46 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 7.268e-05/0.4978, allocations: 7.938 kB / 1.345 GB, free: 11.45 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.4978, allocations: 0 / 1.345 GB, free: 11.45 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.833e-06/0.4978, allocations: 0 / 1.345 GB, free: 11.45 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005988/0.5038, allocations: 2.349 MB / 1.348 GB, free: 9.152 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02163/0.5255, allocations: 15.06 MB / 1.362 GB, free: 9.926 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001591/0.5271, allocations: 1.716 MB / 1.364 GB, free: 8.176 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001559/0.5286, allocations: 443.5 kB / 1.364 GB, free: 7.738 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007839/0.5294, allocations: 0.6555 MB / 1.365 GB, free: 7.082 MB / 1.061 GB Notification: Performance of SimCode: time 1.193e-06/0.5294, allocations: 0 / 1.365 GB, free: 7.082 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1405/0.6699, allocations: 72.6 MB / 1.436 GB, free: 15.71 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.5/18.17, allocations: 4.062 kB / 1.436 GB, free: 15.7 MB / 1.139 GB " [Timeout remaining time 281] (rm -f Buildings_11_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe ; mkfifo Buildings_11_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe >> ../files/Buildings_11_Buildings.Templates.Components.Validation.PumpMultipleRecord.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Templates.Components.Validation.PumpMultipleRecord_res.mat --tempDir=temp_Buildings_11_Buildings_Templates_Components_Validation_PumpMultipleRecord_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Templates_Components_Validation_PumpMultipleRecord.fmu > Buildings_11_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Templates.Components.Validation.PumpMultipleRecord_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Components_Validation_PumpMultipleRecord.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Templates.Components.Validation.PumpMultipleRecord.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: 25.552073472877964]