Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001302/0.001302, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001493/0.001493, allocations: 219.6 kB / 22.26 MB, free: 5.121 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.466/1.466, allocations: 230.6 MB / 256 MB, free: 7.965 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 3.176/3.176, allocations: 0.49 GB / 0.7951 GB, free: 33.53 MB / 0.6231 GB " [Timeout remaining time 176] 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.Templates.Components.Validation.PumpMultipleRecord,fileNamePrefix="Buildings_12_Buildings_Templates_Components_Validation_PumpMultipleRecord",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Components.Validation.PumpMultipleRecord,fileNamePrefix="Buildings_12_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.002398/0.002398, allocations: 67.28 kB / 1.154 GB, free: 25.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4013/0.4037, allocations: 176.1 MB / 1.326 GB, free: 1.98 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.PumpMultipleRecord): time 0.006058/0.4098, allocations: 3.851 MB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.009767/0.4195, allocations: 6.484 MB / 1.336 GB, free: 7.594 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004512/0.42, allocations: 31.88 kB / 1.336 GB, free: 7.562 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.005335/0.4253, allocations: 2.067 MB / 1.338 GB, free: 5.492 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001404/0.4267, allocations: 0.6066 MB / 1.339 GB, free: 4.883 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 4.47e-05/0.4268, allocations: 4 kB / 1.339 GB, free: 4.879 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.03473/0.4615, allocations: 22.51 MB / 1.361 GB, free: 14.34 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002323/0.4617, allocations: 42.61 kB / 1.361 GB, free: 14.29 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001216/0.4629, allocations: 0.568 MB / 1.361 GB, free: 13.72 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001368/0.4643, allocations: 0.6609 MB / 1.362 GB, free: 13.05 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0002483/0.4646, allocations: 28 kB / 1.362 GB, free: 13.03 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003299/0.4649, allocations: 32 kB / 1.362 GB, free: 13 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0007463/0.4656, allocations: 0.7514 MB / 1.363 GB, free: 12.24 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000905/0.4665, allocations: 0.8348 MB / 1.363 GB, free: 11.4 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002408/0.469, allocations: 2.131 MB / 1.366 GB, free: 9.262 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.469, allocations: 0 / 1.366 GB, free: 9.262 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.603e-06/0.469, allocations: 0 / 1.366 GB, free: 9.262 MB / 1.061 GB Notification: Performance of Transformations before backend: time 3.419e-05/0.469, allocations: 0 / 1.366 GB, free: 9.262 MB / 1.061 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.003737/0.4727, allocations: 2.19 MB / 1.368 GB, free: 7.027 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.4728, allocations: 8.031 kB / 1.368 GB, free: 7.02 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.338e-05/0.4729, allocations: 109.8 kB / 1.368 GB, free: 6.902 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002965/0.4732, allocations: 293.8 kB / 1.368 GB, free: 6.613 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004132/0.4773, allocations: 2.415 MB / 1.37 GB, free: 4.121 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.058e-05/0.4774, allocations: 154.6 kB / 1.371 GB, free: 3.969 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.301e-05/0.4774, allocations: 154.6 kB / 1.371 GB, free: 3.816 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.507e-05/0.4775, allocations: 105 kB / 1.371 GB, free: 3.707 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.712e-05/0.4775, allocations: 75.28 kB / 1.371 GB, free: 3.633 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.752e-05/0.4776, allocations: 154.5 kB / 1.371 GB, free: 3.48 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-05/0.4777, allocations: 150.6 kB / 1.371 GB, free: 3.332 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.406e-05/0.4778, allocations: 166.4 kB / 1.371 GB, free: 3.168 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001364/0.4791, allocations: 1.107 MB / 1.372 GB, free: 2.02 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001031/0.4792, allocations: 165.1 kB / 1.373 GB, free: 1.848 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.524e-05/0.4793, allocations: 80.14 kB / 1.373 GB, free: 1.766 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.896e-05/0.4793, allocations: 83.28 kB / 1.373 GB, free: 1.684 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.158e-05/0.4794, allocations: 113.8 kB / 1.373 GB, free: 1.562 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 1.834e-06/0.4794, allocations: 0 / 1.373 GB, free: 1.562 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 0.0003027/0.4797, allocations: 248.2 kB / 1.373 GB, free: 1.312 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.217e-05/0.4797, allocations: 126.7 kB / 1.373 GB, free: 1.176 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004101/0.4838, allocations: 2.852 MB / 1.376 GB, free: 14.31 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.4839, allocations: 29.7 kB / 1.376 GB, free: 14.28 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009874/0.4849, allocations: 0.9066 MB / 1.377 GB, free: 13.37 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.524e-06/0.4849, allocations: 0 / 1.377 GB, free: 13.37 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.856e-05/0.4849, allocations: 9.719 kB / 1.377 GB, free: 13.35 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.485, allocations: 310 kB / 1.377 GB, free: 13.04 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.621e-06/0.485, allocations: 0 / 1.377 GB, free: 13.04 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.22e-06/0.485, allocations: 0 / 1.377 GB, free: 13.04 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.318e-05/0.4851, allocations: 79.28 kB / 1.377 GB, free: 12.96 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.087e-05/0.4851, allocations: 79.28 kB / 1.377 GB, free: 12.89 MB / 1.076 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0003198/0.4854, allocations: 244.2 kB / 1.378 GB, free: 12.64 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.664e-05/0.4855, allocations: 79.28 kB / 1.378 GB, free: 12.56 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-05/0.4855, allocations: 75.28 kB / 1.378 GB, free: 12.49 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.4e-05/0.4856, allocations: 166.4 kB / 1.378 GB, free: 12.32 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.502e-05/0.4856, allocations: 75.28 kB / 1.378 GB, free: 12.25 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.6e-05/0.4857, allocations: 162.5 kB / 1.378 GB, free: 12.09 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005666/0.4863, allocations: 95.25 kB / 1.378 GB, free: 12 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.042e-05/0.4863, allocations: 75.28 kB / 1.378 GB, free: 11.92 MB / 1.076 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.0009906/0.4873, allocations: 0.9456 MB / 1.379 GB, free: 10.96 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002646/0.4875, allocations: 319.5 kB / 1.38 GB, free: 10.64 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003641/0.4879, allocations: 349.1 kB / 1.38 GB, free: 10.29 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.749e-05/0.488, allocations: 180.2 kB / 1.38 GB, free: 10.11 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-05/0.4881, allocations: 180.3 kB / 1.38 GB, free: 9.922 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.46e-05/0.4882, allocations: 180.3 kB / 1.38 GB, free: 9.738 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001143/0.4893, allocations: 1.06 MB / 1.381 GB, free: 8.629 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.69e-05/0.4894, allocations: 105 kB / 1.381 GB, free: 8.52 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.518e-05/0.4894, allocations: 104.9 kB / 1.382 GB, free: 8.41 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.812e-05/0.4895, allocations: 180.2 kB / 1.382 GB, free: 8.227 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.514e-05/0.4896, allocations: 184.2 kB / 1.382 GB, free: 8.039 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.447e-05/0.4896, allocations: 180.2 kB / 1.382 GB, free: 7.855 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.841e-05/0.4897, allocations: 184.2 kB / 1.382 GB, free: 7.668 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003601/0.4901, allocations: 0.5188 MB / 1.383 GB, free: 7.125 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004234/0.4905, allocations: 299.5 kB / 1.383 GB, free: 6.824 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002449/0.4907, allocations: 184.1 kB / 1.383 GB, free: 6.637 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005223/0.4913, allocations: 129 kB / 1.383 GB, free: 6.504 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.027e-05/0.4914, allocations: 188.3 kB / 1.384 GB, free: 6.312 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.541e-05/0.4914, allocations: 105 kB / 1.384 GB, free: 6.203 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.003035/0.4944, allocations: 2.091 MB / 1.386 GB, free: 4.105 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.4944, allocations: 0 / 1.386 GB, free: 4.105 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005325/0.495, allocations: 176 kB / 1.386 GB, free: 3.934 MB / 1.076 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.0007677/0.4957, allocations: 1.039 MB / 1.387 GB, free: 2.867 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 5.644e-05/0.4958, allocations: 3.938 kB / 1.387 GB, free: 2.863 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.4958, allocations: 3.938 kB / 1.387 GB, free: 2.859 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.983e-06/0.4958, allocations: 0 / 1.387 GB, free: 2.859 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005979/0.5018, allocations: 2.345 MB / 1.389 GB, free: 0.5586 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02239/0.5242, allocations: 15.04 MB / 1.404 GB, free: 1.348 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001672/0.5258, allocations: 1.712 MB / 1.406 GB, free: 15.6 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.001698/0.5275, allocations: 435.5 kB / 1.406 GB, free: 15.17 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008301/0.5284, allocations: 0.6555 MB / 1.407 GB, free: 14.52 MB / 1.107 GB Notification: Performance of SimCode: time 1.844e-06/0.5284, allocations: 0 / 1.407 GB, free: 14.52 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1389/0.6672, allocations: 72.58 MB / 1.477 GB, free: 7.164 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.05/18.71, allocations: 0 / 1.477 GB, free: 7.164 MB / 1.17 GB " [Timeout remaining time 281] (rm -f Buildings_12_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe ; mkfifo Buildings_12_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe >> ../files/Buildings_12_Buildings.Templates.Components.Validation.PumpMultipleRecord.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Templates.Components.Validation.PumpMultipleRecord_res.mat --tempDir=temp_Buildings_12_Buildings_Templates_Components_Validation_PumpMultipleRecord_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Templates_Components_Validation_PumpMultipleRecord.fmu > Buildings_12_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Templates.Components.Validation.PumpMultipleRecord_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Components_Validation_PumpMultipleRecord.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.839176431996748]