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.001659/0.001659, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002085/0.002085, allocations: 209.9 kB / 22.24 MB, free: 5.262 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.546/1.546, allocations: 230.6 MB / 256 MB, free: 7.781 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.459/3.459, allocations: 0.5107 GB / 0.8158 GB, free: 17.77 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Components.Validation.PumpMultipleRecord,fileNamePrefix="Buildings_latest_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.002102/0.002102, allocations: 62.55 kB / 1.186 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4181/0.4202, allocations: 181.9 MB / 1.363 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.PumpMultipleRecord): time 0.005319/0.4255, allocations: 3.506 MB / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00944/0.435, allocations: 6.09 MB / 1.373 GB, free: 4.422 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003919/0.4353, allocations: 35.81 kB / 1.373 GB, free: 4.387 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.005668/0.441, allocations: 1.922 MB / 1.375 GB, free: 2.461 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001561/0.4426, allocations: 0.6221 MB / 1.375 GB, free: 1.836 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 4.215e-05/0.4426, allocations: 8 kB / 1.375 GB, free: 1.828 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.03483/0.4775, allocations: 22.4 MB / 1.397 GB, free: 11.4 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002571/0.4777, allocations: 42.61 kB / 1.397 GB, free: 11.35 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001259/0.479, allocations: 0.5719 MB / 1.398 GB, free: 10.77 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000947/0.4799, allocations: 0.6493 MB / 1.398 GB, free: 10.12 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001795/0.4801, allocations: 36 kB / 1.398 GB, free: 10.09 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002118/0.4803, allocations: 32 kB / 1.398 GB, free: 10.05 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0006772/0.481, allocations: 0.7514 MB / 1.399 GB, free: 9.301 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0007076/0.4817, allocations: 0.6133 MB / 1.4 GB, free: 8.684 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002369/0.4841, allocations: 2.139 MB / 1.402 GB, free: 6.535 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.4841, allocations: 4 kB / 1.402 GB, free: 6.531 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.374e-06/0.4841, allocations: 0 / 1.402 GB, free: 6.531 MB / 1.092 GB Notification: Performance of Transformations before backend: time 2.372e-05/0.4841, allocations: 0 / 1.402 GB, free: 6.531 MB / 1.092 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.003878/0.488, allocations: 2.194 MB / 1.404 GB, free: 4.293 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/0.488, allocations: 8.031 kB / 1.404 GB, free: 4.285 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.164e-05/0.4881, allocations: 113.8 kB / 1.404 GB, free: 4.164 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003771/0.4885, allocations: 289.8 kB / 1.404 GB, free: 3.879 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004375/0.4929, allocations: 2.415 MB / 1.407 GB, free: 1.391 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.751e-05/0.4929, allocations: 154.6 kB / 1.407 GB, free: 1.238 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.041e-05/0.493, allocations: 150.6 kB / 1.407 GB, free: 1.09 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.064e-05/0.4931, allocations: 109 kB / 1.407 GB, free: 0.9766 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.441e-05/0.4931, allocations: 75.28 kB / 1.407 GB, free: 0.9023 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.265e-05/0.4932, allocations: 154.5 kB / 1.407 GB, free: 0.75 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.759e-05/0.4933, allocations: 150.6 kB / 1.408 GB, free: 0.6016 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.722e-05/0.4934, allocations: 154.5 kB / 1.408 GB, free: 460 kB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0017/0.4951, allocations: 1.08 MB / 1.409 GB, free: 15.33 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001317/0.4952, allocations: 173.1 kB / 1.409 GB, free: 15.15 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.155e-05/0.4953, allocations: 80.14 kB / 1.409 GB, free: 15.07 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 4.831e-05/0.4953, allocations: 75.28 kB / 1.409 GB, free: 14.99 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.778e-05/0.4954, allocations: 117.8 kB / 1.409 GB, free: 14.87 MB / 1.107 GB Notification: Performance of pre-optimization done (n=0): time 2.083e-06/0.4954, allocations: 0 / 1.409 GB, free: 14.87 MB / 1.107 GB Notification: Performance of matching and sorting (n=0): time 0.0004096/0.4958, allocations: 248.1 kB / 1.409 GB, free: 14.62 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.899e-05/0.4959, allocations: 130.6 kB / 1.41 GB, free: 14.48 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004553/0.5004, allocations: 2.852 MB / 1.412 GB, free: 11.61 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.5005, allocations: 25.7 kB / 1.412 GB, free: 11.58 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001041/0.5015, allocations: 0.9028 MB / 1.413 GB, free: 10.68 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 4.108e-06/0.5015, allocations: 3.938 kB / 1.413 GB, free: 10.67 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.816e-05/0.5015, allocations: 13.72 kB / 1.413 GB, free: 10.65 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.5017, allocations: 310 kB / 1.414 GB, free: 10.34 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.885e-06/0.5017, allocations: 4 kB / 1.414 GB, free: 10.34 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.771e-06/0.5017, allocations: 0 / 1.414 GB, free: 10.34 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.175e-05/0.5018, allocations: 75.28 kB / 1.414 GB, free: 10.27 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.165e-05/0.5018, allocations: 75.28 kB / 1.414 GB, free: 10.19 MB / 1.107 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0004315/0.5022, allocations: 248.2 kB / 1.414 GB, free: 9.941 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 5.445e-05/0.5023, allocations: 83.28 kB / 1.414 GB, free: 9.859 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.876e-05/0.5023, allocations: 75.28 kB / 1.414 GB, free: 9.785 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001197/0.5024, allocations: 154.5 kB / 1.414 GB, free: 9.633 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.003e-05/0.5025, allocations: 79.22 kB / 1.414 GB, free: 9.555 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.646e-05/0.5026, allocations: 158.6 kB / 1.414 GB, free: 9.398 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007452/0.5033, allocations: 99.19 kB / 1.415 GB, free: 9.301 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.589e-05/0.5033, allocations: 75.28 kB / 1.415 GB, free: 9.227 MB / 1.107 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.001221/0.5046, allocations: 0.9462 MB / 1.416 GB, free: 8.27 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003402/0.5049, allocations: 323.5 kB / 1.416 GB, free: 7.945 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004066/0.5053, allocations: 341.1 kB / 1.416 GB, free: 7.602 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.953e-05/0.5054, allocations: 176.3 kB / 1.416 GB, free: 7.422 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001046/0.5055, allocations: 184.2 kB / 1.416 GB, free: 7.234 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.262e-05/0.5056, allocations: 188.2 kB / 1.417 GB, free: 7.043 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00132/0.5069, allocations: 1.029 MB / 1.418 GB, free: 5.965 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.201e-05/0.507, allocations: 101 kB / 1.418 GB, free: 5.859 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.262e-05/0.507, allocations: 105 kB / 1.418 GB, free: 5.75 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000105/0.5071, allocations: 180.2 kB / 1.418 GB, free: 5.566 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001199/0.5072, allocations: 180.2 kB / 1.418 GB, free: 5.383 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000105/0.5074, allocations: 196.2 kB / 1.418 GB, free: 5.184 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001585/0.5075, allocations: 176.3 kB / 1.419 GB, free: 5.004 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005023/0.508, allocations: 0.5149 MB / 1.419 GB, free: 4.465 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004861/0.5085, allocations: 295.5 kB / 1.419 GB, free: 4.168 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003461/0.5088, allocations: 200.2 kB / 1.42 GB, free: 3.965 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005449/0.5094, allocations: 121 kB / 1.42 GB, free: 3.84 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.237e-05/0.5095, allocations: 176.3 kB / 1.42 GB, free: 3.66 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.027e-05/0.5095, allocations: 104.9 kB / 1.42 GB, free: 3.551 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.003301/0.5128, allocations: 2.095 MB / 1.422 GB, free: 1.449 MB / 1.107 GB Notification: Performance of sort global known variables: time 2.6e-07/0.5128, allocations: 0 / 1.422 GB, free: 1.449 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.000556/0.5134, allocations: 179.9 kB / 1.422 GB, free: 1.273 MB / 1.107 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.0007666/0.5141, allocations: 1.042 MB / 1.423 GB, free: 204 kB / 1.107 GB Notification: Performance of simCode: created initialization part: time 5.741e-05/0.5142, allocations: 7.875 kB / 1.423 GB, free: 196 kB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.5142, allocations: 0 / 1.423 GB, free: 196 kB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 1.553e-06/0.5142, allocations: 0 / 1.423 GB, free: 196 kB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005976/0.5202, allocations: 2.346 MB / 1.425 GB, free: 13.89 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02356/0.5437, allocations: 15.03 MB / 1.44 GB, free: 14.69 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001467/0.5452, allocations: 1.132 MB / 1.441 GB, free: 13.52 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001635/0.5468, allocations: 431.5 kB / 1.442 GB, free: 13.1 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008591/0.5477, allocations: 0.6516 MB / 1.442 GB, free: 12.45 MB / 1.139 GB Notification: Performance of SimCode: time 1.083e-06/0.5477, allocations: 0 / 1.442 GB, free: 12.45 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1917/0.7394, allocations: 79.36 MB / 1.52 GB, free: 14.39 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.17/14.91, allocations: 12 kB / 1.52 GB, free: 14.38 MB / 1.217 GB " [Timeout remaining time 285] (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: 22.54146459000185]