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.001768/0.001768, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002091/0.002091, allocations: 217.8 kB / 23.04 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.556/1.556, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.307/3.307, allocations: 0.49 GB / 0.7959 GB, free: 33.42 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Components.Validation.PumpMultipleRecord,fileNamePrefix="Buildings_12_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.003116/0.003116, allocations: 65.38 kB / 1.155 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4677/0.4708, allocations: 176.1 MB / 1.327 GB, free: 1.965 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.PumpMultipleRecord): time 0.006009/0.4768, allocations: 3.867 MB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0106/0.4874, allocations: 6.476 MB / 1.337 GB, free: 7.57 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005323/0.4879, allocations: 35.75 kB / 1.337 GB, free: 7.535 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.005925/0.4939, allocations: 2.06 MB / 1.339 GB, free: 5.469 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001584/0.4954, allocations: 0.6066 MB / 1.339 GB, free: 4.859 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 3.322e-05/0.4955, allocations: 4 kB / 1.339 GB, free: 4.855 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.03461/0.5301, allocations: 22.51 MB / 1.361 GB, free: 14.32 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002545/0.5303, allocations: 46.61 kB / 1.361 GB, free: 14.27 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001263/0.5316, allocations: 0.5602 MB / 1.362 GB, free: 13.7 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000931/0.5325, allocations: 0.6609 MB / 1.363 GB, free: 13.04 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001117/0.5326, allocations: 28 kB / 1.363 GB, free: 13.01 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001925/0.5328, allocations: 32 kB / 1.363 GB, free: 12.98 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0007278/0.5336, allocations: 0.7631 MB / 1.363 GB, free: 12.21 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0008826/0.5344, allocations: 0.831 MB / 1.364 GB, free: 11.38 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002471/0.5369, allocations: 2.127 MB / 1.366 GB, free: 9.242 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.5369, allocations: 0 / 1.366 GB, free: 9.242 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.964e-06/0.5369, allocations: 0 / 1.366 GB, free: 9.242 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.546e-05/0.5369, allocations: 4 kB / 1.366 GB, free: 9.238 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.003892/0.5408, allocations: 2.186 MB / 1.368 GB, free: 7.008 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 6.322e-05/0.5409, allocations: 8.031 kB / 1.368 GB, free: 7 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.538e-05/0.541, allocations: 75.28 kB / 1.369 GB, free: 6.926 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.852e-05/0.5411, allocations: 113.8 kB / 1.369 GB, free: 6.805 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003836/0.5414, allocations: 297.8 kB / 1.369 GB, free: 6.512 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004301/0.5457, allocations: 2.407 MB / 1.371 GB, free: 4.027 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.816e-05/0.5458, allocations: 154.6 kB / 1.371 GB, free: 3.875 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.935e-05/0.5459, allocations: 150.6 kB / 1.372 GB, free: 3.727 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001274/0.546, allocations: 104.9 kB / 1.372 GB, free: 3.617 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.588e-05/0.5461, allocations: 75.28 kB / 1.372 GB, free: 3.543 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.226e-05/0.5462, allocations: 158.5 kB / 1.372 GB, free: 3.387 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.62e-05/0.5462, allocations: 150.6 kB / 1.372 GB, free: 3.238 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.404e-05/0.5463, allocations: 154.5 kB / 1.372 GB, free: 3.086 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001438/0.5477, allocations: 1.111 MB / 1.373 GB, free: 1.934 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001095/0.5478, allocations: 177.1 kB / 1.373 GB, free: 1.75 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.075e-05/0.5479, allocations: 80.14 kB / 1.373 GB, free: 1.668 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.052e-05/0.5479, allocations: 79.28 kB / 1.374 GB, free: 1.59 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.881e-05/0.548, allocations: 109.8 kB / 1.374 GB, free: 1.473 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 1.803e-06/0.548, allocations: 0 / 1.374 GB, free: 1.473 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 0.0003175/0.5483, allocations: 244.2 kB / 1.374 GB, free: 1.227 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.744e-05/0.5484, allocations: 130.7 kB / 1.374 GB, free: 1.086 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00408/0.5525, allocations: 2.852 MB / 1.377 GB, free: 14.22 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.5525, allocations: 25.7 kB / 1.377 GB, free: 14.19 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001023/0.5535, allocations: 0.9028 MB / 1.378 GB, free: 13.29 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.407e-06/0.5535, allocations: 0 / 1.378 GB, free: 13.29 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.383e-05/0.5536, allocations: 13.66 kB / 1.378 GB, free: 13.27 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.5537, allocations: 313.9 kB / 1.378 GB, free: 12.95 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.935e-06/0.5537, allocations: 4 kB / 1.378 GB, free: 12.95 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.229e-06/0.5537, allocations: 4 kB / 1.378 GB, free: 12.95 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.29e-05/0.5538, allocations: 75.28 kB / 1.378 GB, free: 12.87 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-05/0.5538, allocations: 75.28 kB / 1.378 GB, free: 12.8 MB / 1.076 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.000313/0.5541, allocations: 244.2 kB / 1.378 GB, free: 12.55 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 5.147e-05/0.5542, allocations: 79.28 kB / 1.378 GB, free: 12.47 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.801e-05/0.5542, allocations: 87.16 kB / 1.379 GB, free: 12.39 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.243e-05/0.5543, allocations: 154.6 kB / 1.379 GB, free: 12.23 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.94e-05/0.5543, allocations: 75.28 kB / 1.379 GB, free: 12.16 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.24e-05/0.5544, allocations: 154.5 kB / 1.379 GB, free: 12.01 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006553/0.5551, allocations: 91.25 kB / 1.379 GB, free: 11.92 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.966e-05/0.5551, allocations: 87.22 kB / 1.379 GB, free: 11.83 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.001013/0.5561, allocations: 0.9495 MB / 1.38 GB, free: 10.87 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002883/0.5564, allocations: 319.6 kB / 1.38 GB, free: 10.55 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003697/0.5568, allocations: 341.1 kB / 1.381 GB, free: 10.2 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.537e-05/0.5569, allocations: 180.2 kB / 1.381 GB, free: 10.02 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-05/0.5569, allocations: 180.3 kB / 1.381 GB, free: 9.836 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.074e-05/0.557, allocations: 188.2 kB / 1.381 GB, free: 9.645 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001202/0.5582, allocations: 1.056 MB / 1.382 GB, free: 8.539 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.362e-05/0.5583, allocations: 101 kB / 1.382 GB, free: 8.434 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.325e-05/0.5583, allocations: 104.9 kB / 1.382 GB, free: 8.324 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.143e-05/0.5584, allocations: 184.2 kB / 1.383 GB, free: 8.137 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001022/0.5585, allocations: 192.1 kB / 1.383 GB, free: 7.941 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.526e-05/0.5586, allocations: 176.3 kB / 1.383 GB, free: 7.762 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.137e-05/0.5587, allocations: 180.2 kB / 1.383 GB, free: 7.578 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003947/0.5591, allocations: 0.5149 MB / 1.384 GB, free: 7.039 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004364/0.5595, allocations: 303.4 kB / 1.384 GB, free: 6.734 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002603/0.5598, allocations: 184.2 kB / 1.384 GB, free: 6.547 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005453/0.5603, allocations: 124.9 kB / 1.384 GB, free: 6.418 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.352e-05/0.5604, allocations: 184.3 kB / 1.384 GB, free: 6.23 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-05/0.5605, allocations: 105 kB / 1.384 GB, free: 6.121 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.003068/0.5636, allocations: 2.095 MB / 1.387 GB, free: 4.02 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.5636, allocations: 0 / 1.387 GB, free: 4.02 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005275/0.5641, allocations: 176 kB / 1.387 GB, free: 3.848 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.0007666/0.5648, allocations: 1.042 MB / 1.388 GB, free: 2.777 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 4.816e-05/0.5649, allocations: 0 / 1.388 GB, free: 2.777 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.5649, allocations: 0 / 1.388 GB, free: 2.777 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.523e-06/0.5649, allocations: 4 kB / 1.388 GB, free: 2.773 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006145/0.571, allocations: 2.36 MB / 1.39 GB, free: 472 kB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0223/0.5933, allocations: 15.05 MB / 1.405 GB, free: 1.242 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001714/0.5951, allocations: 1.716 MB / 1.406 GB, free: 15.49 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.001873/0.5969, allocations: 431.5 kB / 1.407 GB, free: 15.07 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008387/0.5978, allocations: 0.6516 MB / 1.407 GB, free: 14.41 MB / 1.107 GB Notification: Performance of SimCode: time 1.343e-06/0.5978, allocations: 0 / 1.407 GB, free: 14.41 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1437/0.7415, allocations: 72.6 MB / 1.478 GB, free: 7.047 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.87/18.61, allocations: 10.72 kB / 1.478 GB, free: 7.043 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: 26.556762736989185]