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.002017/0.002017, allocations: 101.9 kB / 19.73 MB, free: 1.992 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.002368/0.002368, allocations: 213.8 kB / 23.03 MB, free: 4.426 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.581/1.581, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.357/3.357, allocations: 0.49 GB / 0.7959 GB, free: 35.34 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.002047/0.002047, allocations: 67.41 kB / 1.155 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4813/0.4834, allocations: 176.1 MB / 1.327 GB, free: 1.512 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.PumpMultipleRecord): time 0.005577/0.4889, allocations: 3.495 MB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01091/0.4998, allocations: 5.931 MB / 1.336 GB, free: 8.035 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004234/0.5003, allocations: 31.81 kB / 1.336 GB, free: 8.004 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0055/0.5058, allocations: 1.941 MB / 1.338 GB, free: 6.059 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001459/0.5072, allocations: 0.6105 MB / 1.338 GB, free: 5.445 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 3.563e-05/0.5073, allocations: 4 kB / 1.338 GB, free: 5.441 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.03553/0.5428, allocations: 22.51 MB / 1.36 GB, free: 14.9 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002585/0.5431, allocations: 46.59 kB / 1.36 GB, free: 14.85 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001266/0.5443, allocations: 0.5603 MB / 1.361 GB, free: 14.29 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009098/0.5452, allocations: 0.6531 MB / 1.362 GB, free: 13.63 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001302/0.5454, allocations: 36 kB / 1.362 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002192/0.5456, allocations: 32 kB / 1.362 GB, free: 13.56 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0007059/0.5463, allocations: 0.7553 MB / 1.362 GB, free: 12.8 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0007422/0.547, allocations: 0.6017 MB / 1.363 GB, free: 12.2 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002345/0.5494, allocations: 2.151 MB / 1.365 GB, free: 10.04 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.5494, allocations: 4 kB / 1.365 GB, free: 10.04 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.745e-06/0.5494, allocations: 0 / 1.365 GB, free: 10.04 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.11e-05/0.5494, allocations: 0 / 1.365 GB, free: 10.04 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.003845/0.5533, allocations: 2.194 MB / 1.367 GB, free: 7.797 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 7.279e-05/0.5533, allocations: 8.031 kB / 1.367 GB, free: 7.789 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.123e-05/0.5534, allocations: 83.22 kB / 1.367 GB, free: 7.707 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.064e-05/0.5535, allocations: 113.8 kB / 1.367 GB, free: 7.586 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003418/0.5538, allocations: 289.8 kB / 1.368 GB, free: 7.301 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004185/0.558, allocations: 2.411 MB / 1.37 GB, free: 4.812 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001121/0.5581, allocations: 150.6 kB / 1.37 GB, free: 4.664 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.648e-05/0.5582, allocations: 154.6 kB / 1.37 GB, free: 4.512 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/0.5583, allocations: 104.9 kB / 1.37 GB, free: 4.402 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.755e-05/0.5584, allocations: 79.28 kB / 1.37 GB, free: 4.324 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001048/0.5585, allocations: 154.5 kB / 1.371 GB, free: 4.172 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.993e-05/0.5586, allocations: 150.6 kB / 1.371 GB, free: 4.023 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.813e-05/0.5586, allocations: 154.6 kB / 1.371 GB, free: 3.871 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001508/0.5602, allocations: 1.08 MB / 1.372 GB, free: 2.75 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001408/0.5603, allocations: 169.1 kB / 1.372 GB, free: 2.574 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.229e-05/0.5604, allocations: 88.12 kB / 1.372 GB, free: 2.484 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 6.445e-05/0.5604, allocations: 75.28 kB / 1.372 GB, free: 2.41 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.948e-05/0.5605, allocations: 113.8 kB / 1.372 GB, free: 2.289 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 2.084e-06/0.5605, allocations: 0 / 1.372 GB, free: 2.289 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 0.0003547/0.5609, allocations: 244.2 kB / 1.373 GB, free: 2.043 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.561, allocations: 130.7 kB / 1.373 GB, free: 1.902 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004541/0.5655, allocations: 2.852 MB / 1.376 GB, free: 15.04 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.5655, allocations: 25.7 kB / 1.376 GB, free: 15.01 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001075/0.5666, allocations: 0.9028 MB / 1.376 GB, free: 14.1 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.707e-06/0.5666, allocations: 4 kB / 1.376 GB, free: 14.1 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.034e-05/0.5667, allocations: 13.72 kB / 1.376 GB, free: 14.08 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.5668, allocations: 309.9 kB / 1.377 GB, free: 13.77 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.432e-06/0.5668, allocations: 0 / 1.377 GB, free: 13.77 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.574e-06/0.5668, allocations: 0 / 1.377 GB, free: 13.77 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.304e-05/0.5669, allocations: 75.28 kB / 1.377 GB, free: 13.7 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.149e-05/0.5669, allocations: 75.28 kB / 1.377 GB, free: 13.62 MB / 1.076 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0003106/0.5672, allocations: 248.2 kB / 1.377 GB, free: 13.37 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 6.706e-05/0.5673, allocations: 85.16 kB / 1.377 GB, free: 13.29 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.696e-05/0.5673, allocations: 87.14 kB / 1.377 GB, free: 13.2 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.7e-05/0.5674, allocations: 154.6 kB / 1.377 GB, free: 13.05 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.478e-05/0.5675, allocations: 79.28 kB / 1.378 GB, free: 12.97 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.748e-05/0.5676, allocations: 154.5 kB / 1.378 GB, free: 12.82 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006361/0.5682, allocations: 91.25 kB / 1.378 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.895e-05/0.5683, allocations: 79.22 kB / 1.378 GB, free: 12.65 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.00112/0.5694, allocations: 0.9456 MB / 1.379 GB, free: 11.7 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003721/0.5698, allocations: 319.6 kB / 1.379 GB, free: 11.38 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003878/0.5701, allocations: 345.1 kB / 1.379 GB, free: 11.02 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001189/0.5703, allocations: 184.2 kB / 1.38 GB, free: 10.84 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001139/0.5704, allocations: 180.3 kB / 1.38 GB, free: 10.65 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001095/0.5705, allocations: 184.1 kB / 1.38 GB, free: 10.46 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001327/0.5718, allocations: 1.029 MB / 1.381 GB, free: 9.387 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.056e-05/0.5719, allocations: 109 kB / 1.381 GB, free: 9.273 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.458e-05/0.5719, allocations: 104.9 kB / 1.381 GB, free: 9.164 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000101/0.572, allocations: 176.3 kB / 1.381 GB, free: 8.984 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001128/0.5722, allocations: 188.1 kB / 1.381 GB, free: 8.793 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001053/0.5723, allocations: 176.3 kB / 1.382 GB, free: 8.613 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.394e-05/0.5723, allocations: 180.2 kB / 1.382 GB, free: 8.43 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004145/0.5728, allocations: 0.5149 MB / 1.382 GB, free: 7.891 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000418/0.5732, allocations: 307.5 kB / 1.383 GB, free: 7.582 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002688/0.5734, allocations: 184.2 kB / 1.383 GB, free: 7.395 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005178/0.574, allocations: 121 kB / 1.383 GB, free: 7.27 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001143/0.5741, allocations: 188.2 kB / 1.383 GB, free: 7.078 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.604e-05/0.5741, allocations: 105 kB / 1.383 GB, free: 6.969 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.003037/0.5772, allocations: 2.091 MB / 1.385 GB, free: 4.871 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.5772, allocations: 0 / 1.385 GB, free: 4.871 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005064/0.5777, allocations: 180 kB / 1.385 GB, free: 4.695 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.0007567/0.5784, allocations: 1.038 MB / 1.386 GB, free: 3.629 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 5.193e-05/0.5785, allocations: 4 kB / 1.386 GB, free: 3.625 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.5785, allocations: 0 / 1.386 GB, free: 3.625 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.833e-06/0.5785, allocations: 0 / 1.386 GB, free: 3.625 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006058/0.5845, allocations: 2.346 MB / 1.389 GB, free: 1.328 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02252/0.6071, allocations: 15.03 MB / 1.403 GB, free: 2.129 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001436/0.6085, allocations: 1.136 MB / 1.404 GB, free: 0.957 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001902/0.6104, allocations: 443.4 kB / 1.405 GB, free: 0.5195 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008869/0.6113, allocations: 0.6556 MB / 1.406 GB, free: 15.86 MB / 1.107 GB Notification: Performance of SimCode: time 1.723e-06/0.6113, allocations: 0 / 1.406 GB, free: 15.86 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1478/0.7591, allocations: 78.41 MB / 1.482 GB, free: 2.992 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.9/18.66, allocations: 4 kB / 1.482 GB, free: 2.988 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.550086915958673]