Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001229/0.001229, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001392/0.001392, allocations: 214.5 kB / 23.03 MB, free: 4.922 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.448/1.448, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.188/3.188, allocations: 0.5003 GB / 0.8062 GB, free: 28.3 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Templates_Components_Validation_PumpMultipleRecord",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Components.Validation.PumpMultipleRecord,fileNamePrefix="Buildings_latest_Buildings_Templates_Components_Validation_PumpMultipleRecord",fmuType="cs",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.001959/0.001959, allocations: 65.38 kB / 1.17 GB, free: 19.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3902/0.3922, allocations: 179 MB / 1.345 GB, free: 15.83 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.PumpMultipleRecord): time 0.005325/0.3975, allocations: 3.499 MB / 1.349 GB, free: 12.3 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01044/0.4079, allocations: 5.924 MB / 1.354 GB, free: 6.355 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004309/0.4084, allocations: 31.81 kB / 1.354 GB, free: 6.324 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.005917/0.4143, allocations: 1.942 MB / 1.356 GB, free: 4.379 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001351/0.4156, allocations: 0.6222 MB / 1.357 GB, free: 3.754 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 2.636e-05/0.4157, allocations: 4 kB / 1.357 GB, free: 3.75 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.03254/0.4482, allocations: 22.49 MB / 1.379 GB, free: 13.23 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002725/0.4485, allocations: 50.59 kB / 1.379 GB, free: 13.17 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001245/0.4497, allocations: 0.5679 MB / 1.38 GB, free: 12.6 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001341/0.4511, allocations: 0.6454 MB / 1.38 GB, free: 11.95 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.000268/0.4513, allocations: 32 kB / 1.38 GB, free: 11.92 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000498/0.4518, allocations: 31.94 kB / 1.38 GB, free: 11.89 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0009766/0.4528, allocations: 0.7592 MB / 1.381 GB, free: 11.12 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001099/0.4539, allocations: 0.6095 MB / 1.382 GB, free: 10.51 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002326/0.4562, allocations: 2.147 MB / 1.384 GB, free: 8.355 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.4562, allocations: 0 / 1.384 GB, free: 8.355 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.343e-06/0.4562, allocations: 3.938 kB / 1.384 GB, free: 8.352 MB / 1.076 GB Notification: Performance of Transformations before backend: time 3.314e-05/0.4563, allocations: 0 / 1.384 GB, free: 8.352 MB / 1.076 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.003387/0.4597, allocations: 2.19 MB / 1.386 GB, free: 6.117 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.4597, allocations: 8.031 kB / 1.386 GB, free: 6.109 MB / 1.076 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.369e-05/0.4597, allocations: 79.27 kB / 1.386 GB, free: 6.031 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.367e-05/0.4598, allocations: 109.8 kB / 1.386 GB, free: 5.914 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002742/0.4601, allocations: 293.8 kB / 1.386 GB, free: 5.625 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003572/0.4636, allocations: 2.411 MB / 1.389 GB, free: 3.141 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.695e-05/0.4637, allocations: 154.5 kB / 1.389 GB, free: 2.988 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.834e-05/0.4638, allocations: 150.6 kB / 1.389 GB, free: 2.84 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.061e-05/0.4638, allocations: 108.9 kB / 1.389 GB, free: 2.727 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.463e-05/0.4639, allocations: 83.28 kB / 1.389 GB, free: 2.645 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.962e-05/0.4639, allocations: 154.5 kB / 1.389 GB, free: 2.492 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.04e-05/0.464, allocations: 150.6 kB / 1.389 GB, free: 2.344 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.619e-05/0.4641, allocations: 150.6 kB / 1.39 GB, free: 2.195 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001146/0.4652, allocations: 1.084 MB / 1.391 GB, free: 1.07 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001006/0.4653, allocations: 173.1 kB / 1.391 GB, free: 0.8906 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.828e-05/0.4653, allocations: 80.14 kB / 1.391 GB, free: 0.8086 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.463e-05/0.4654, allocations: 75.28 kB / 1.391 GB, free: 0.7344 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.826e-05/0.4654, allocations: 109.8 kB / 1.391 GB, free: 0.6172 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 1.413e-06/0.4654, allocations: 0 / 1.391 GB, free: 0.6172 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 0.00026/0.4657, allocations: 252.1 kB / 1.391 GB, free: 372 kB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.075e-05/0.4658, allocations: 134.6 kB / 1.391 GB, free: 224 kB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003596/0.4693, allocations: 2.852 MB / 1.394 GB, free: 13.36 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.4694, allocations: 25.7 kB / 1.394 GB, free: 13.32 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009254/0.4703, allocations: 0.9067 MB / 1.395 GB, free: 12.41 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 2.314e-06/0.4703, allocations: 0 / 1.395 GB, free: 12.41 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.413e-05/0.4703, allocations: 9.719 kB / 1.395 GB, free: 12.4 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.4704, allocations: 306 kB / 1.395 GB, free: 12.09 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.58e-06/0.4705, allocations: 0 / 1.395 GB, free: 12.09 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.773e-06/0.4705, allocations: 8 kB / 1.395 GB, free: 12.09 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.152e-05/0.4705, allocations: 75.28 kB / 1.395 GB, free: 12.01 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-05/0.4705, allocations: 79.28 kB / 1.396 GB, free: 11.93 MB / 1.092 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0002557/0.4708, allocations: 244.2 kB / 1.396 GB, free: 11.69 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 4.632e-05/0.4708, allocations: 79.28 kB / 1.396 GB, free: 11.61 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.879e-05/0.4709, allocations: 87.2 kB / 1.396 GB, free: 11.52 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.158e-05/0.4709, allocations: 150.6 kB / 1.396 GB, free: 11.38 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.987e-05/0.471, allocations: 79.22 kB / 1.396 GB, free: 11.3 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.414e-05/0.471, allocations: 158.6 kB / 1.396 GB, free: 11.14 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005385/0.4716, allocations: 99.19 kB / 1.396 GB, free: 11.04 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.83e-05/0.4716, allocations: 75.28 kB / 1.396 GB, free: 10.97 MB / 1.092 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.0008938/0.4725, allocations: 0.9451 MB / 1.397 GB, free: 10.01 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002436/0.4727, allocations: 319.6 kB / 1.398 GB, free: 9.691 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003255/0.4731, allocations: 348.8 kB / 1.398 GB, free: 9.336 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.419e-05/0.4731, allocations: 180.3 kB / 1.398 GB, free: 9.152 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.559e-05/0.4732, allocations: 184.2 kB / 1.398 GB, free: 8.965 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.155e-05/0.4733, allocations: 176.3 kB / 1.399 GB, free: 8.785 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/0.4743, allocations: 1.021 MB / 1.4 GB, free: 7.715 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.535e-05/0.4744, allocations: 112.9 kB / 1.4 GB, free: 7.598 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.356e-05/0.4744, allocations: 105 kB / 1.4 GB, free: 7.488 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.48e-05/0.4745, allocations: 184.2 kB / 1.4 GB, free: 7.301 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.445e-05/0.4746, allocations: 180.2 kB / 1.4 GB, free: 7.117 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.105e-05/0.4746, allocations: 184.2 kB / 1.4 GB, free: 6.93 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.895e-05/0.4747, allocations: 180.6 kB / 1.4 GB, free: 6.746 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003401/0.475, allocations: 0.5184 MB / 1.401 GB, free: 6.203 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003492/0.4754, allocations: 299.5 kB / 1.401 GB, free: 5.902 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002455/0.4756, allocations: 188.2 kB / 1.401 GB, free: 5.711 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000505/0.4761, allocations: 128.9 kB / 1.402 GB, free: 5.578 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.865e-05/0.4762, allocations: 180.2 kB / 1.402 GB, free: 5.395 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-05/0.4763, allocations: 104.9 kB / 1.402 GB, free: 5.285 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.00277/0.479, allocations: 2.091 MB / 1.404 GB, free: 3.188 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.1e-07/0.479, allocations: 4 kB / 1.404 GB, free: 3.184 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0004959/0.4795, allocations: 176 kB / 1.404 GB, free: 3.012 MB / 1.092 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.0006349/0.4802, allocations: 1.034 MB / 1.405 GB, free: 1.949 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 4.663e-05/0.4802, allocations: 7.938 kB / 1.405 GB, free: 1.941 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4802, allocations: 0 / 1.405 GB, free: 1.941 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 1.323e-06/0.4802, allocations: 0 / 1.405 GB, free: 1.941 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005493/0.4857, allocations: 2.342 MB / 1.407 GB, free: 15.64 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02002/0.5057, allocations: 15.03 MB / 1.422 GB, free: 452 kB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001386/0.5071, allocations: 1.128 MB / 1.423 GB, free: 15.28 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001783/0.5089, allocations: 439.5 kB / 1.424 GB, free: 14.84 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008274/0.5097, allocations: 0.6555 MB / 1.424 GB, free: 14.19 MB / 1.123 GB Notification: Performance of SimCode: time 1.342e-06/0.5097, allocations: 0 / 1.424 GB, free: 14.19 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1327/0.6425, allocations: 78.36 MB / 1.501 GB, free: 1.141 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.41/17.05, allocations: 7.5 kB / 1.501 GB, free: 1.137 MB / 1.186 GB " [Timeout remaining time 283] (rm -f Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe ; mkfifo Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe >> ../files/Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord_res.mat --tempDir=temp_Buildings_latest_Buildings_Templates_Components_Validation_PumpMultipleRecord_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Templates_Components_Validation_PumpMultipleRecord.fmu > Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Components_Validation_PumpMultipleRecord.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 24.25180674204603]