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.001948/0.001948, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002089/0.002089, allocations: 212.4 kB / 22.99 MB, free: 4.984 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.508/1.508, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.39/3.39, allocations: 0.49 GB / 0.7959 GB, free: 35.45 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: translateModel(Buildings.Templates.Components.Validation.PumpMultipleRecord,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|V_flow_nominal.1.|V_flow_nominal.2.|datDef.per.1..pressure.V_flow.2.|datDef.per.2..pressure.V_flow.2.|datRed.per.1..pressure.V_flow.2.|datRed.per.2..pressure.V_flow.2.|datAss.per.1..pressure.V_flow.2.|datAss.per.2..pressure.V_flow.2.|datPre.per.1..pressure.V_flow.2.|datPre.per.2..pressure.V_flow.2.",fileNamePrefix="Buildings_12_Buildings.Templates.Components.Validation.PumpMultipleRecord") translateModel(Buildings.Templates.Components.Validation.PumpMultipleRecord,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|V_flow_nominal.1.|V_flow_nominal.2.|datDef.per.1..pressure.V_flow.2.|datDef.per.2..pressure.V_flow.2.|datRed.per.1..pressure.V_flow.2.|datRed.per.2..pressure.V_flow.2.|datAss.per.1..pressure.V_flow.2.|datAss.per.2..pressure.V_flow.2.|datPre.per.1..pressure.V_flow.2.|datPre.per.2..pressure.V_flow.2.",fileNamePrefix="Buildings_12_Buildings.Templates.Components.Validation.PumpMultipleRecord") [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.002076/0.002076, allocations: 64.94 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4715/0.4735, allocations: 176.1 MB / 1.327 GB, free: 1.012 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.PumpMultipleRecord): time 0.006965/0.4805, allocations: 3.511 MB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01088/0.4914, allocations: 5.943 MB / 1.336 GB, free: 7.508 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005308/0.4919, allocations: 27.88 kB / 1.336 GB, free: 7.48 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.006095/0.498, allocations: 1.931 MB / 1.338 GB, free: 5.547 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001651/0.4997, allocations: 0.6222 MB / 1.339 GB, free: 4.922 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 3.605e-05/0.4997, allocations: 4 kB / 1.339 GB, free: 4.918 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.03575/0.5355, allocations: 22.5 MB / 1.361 GB, free: 14.39 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002779/0.5357, allocations: 50.61 kB / 1.361 GB, free: 14.33 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001338/0.5371, allocations: 0.5679 MB / 1.361 GB, free: 13.76 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009263/0.538, allocations: 0.6532 MB / 1.362 GB, free: 13.1 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001331/0.5381, allocations: 32 kB / 1.362 GB, free: 13.07 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002179/0.5384, allocations: 28 kB / 1.362 GB, free: 13.04 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.000794/0.5391, allocations: 0.7553 MB / 1.363 GB, free: 12.29 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0007289/0.5399, allocations: 0.6133 MB / 1.363 GB, free: 11.67 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002442/0.5423, allocations: 2.139 MB / 1.366 GB, free: 9.52 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.5423, allocations: 0 / 1.366 GB, free: 9.52 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.455e-06/0.5423, allocations: 0 / 1.366 GB, free: 9.52 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.715e-05/0.5424, allocations: 0 / 1.366 GB, free: 9.52 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.004051/0.5464, allocations: 2.196 MB / 1.368 GB, free: 7.281 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.329e-05/0.5465, allocations: 8.031 kB / 1.368 GB, free: 7.273 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003316/0.5468, allocations: 293.8 kB / 1.368 GB, free: 6.984 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004415/0.5512, allocations: 2.415 MB / 1.37 GB, free: 4.492 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.945e-05/0.5513, allocations: 154.6 kB / 1.37 GB, free: 4.34 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.978e-05/0.5514, allocations: 158.6 kB / 1.371 GB, free: 4.184 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.64e-05/0.5515, allocations: 101 kB / 1.371 GB, free: 4.078 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.505e-05/0.5515, allocations: 75.28 kB / 1.371 GB, free: 4.004 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.444e-05/0.5516, allocations: 150.6 kB / 1.371 GB, free: 3.855 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.743e-05/0.5517, allocations: 158.5 kB / 1.371 GB, free: 3.699 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.989e-05/0.5517, allocations: 154.5 kB / 1.371 GB, free: 3.547 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001487/0.5532, allocations: 1.053 MB / 1.372 GB, free: 2.465 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001351/0.5534, allocations: 165.1 kB / 1.372 GB, free: 2.293 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.334e-05/0.5534, allocations: 80.14 kB / 1.372 GB, free: 2.211 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.577e-05/0.5535, allocations: 87.27 kB / 1.373 GB, free: 2.125 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.153e-05/0.5535, allocations: 105.8 kB / 1.373 GB, free: 2.012 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 2.214e-06/0.5535, allocations: 0 / 1.373 GB, free: 2.012 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 0.0003488/0.5539, allocations: 248.2 kB / 1.373 GB, free: 1.762 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.185e-05/0.554, allocations: 130.6 kB / 1.373 GB, free: 1.621 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004408/0.5584, allocations: 2.852 MB / 1.376 GB, free: 14.75 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.5584, allocations: 25.7 kB / 1.376 GB, free: 14.72 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001058/0.5595, allocations: 0.9028 MB / 1.377 GB, free: 13.82 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.306e-06/0.5595, allocations: 7.875 kB / 1.377 GB, free: 13.81 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.649e-05/0.5595, allocations: 17.72 kB / 1.377 GB, free: 13.79 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.5597, allocations: 306 kB / 1.377 GB, free: 13.48 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.757e-06/0.5597, allocations: 0 / 1.377 GB, free: 13.48 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.923e-06/0.5597, allocations: 0 / 1.377 GB, free: 13.48 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.458e-05/0.5597, allocations: 75.28 kB / 1.377 GB, free: 13.41 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.893e-05/0.5598, allocations: 79.28 kB / 1.377 GB, free: 13.33 MB / 1.076 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0003494/0.5601, allocations: 248.2 kB / 1.377 GB, free: 13.08 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 7.108e-05/0.5602, allocations: 84.98 kB / 1.377 GB, free: 13 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.46e-05/0.5602, allocations: 75.28 kB / 1.378 GB, free: 12.92 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001075/0.5603, allocations: 154.6 kB / 1.378 GB, free: 12.77 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.872e-05/0.5604, allocations: 87.22 kB / 1.378 GB, free: 12.68 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-05/0.5605, allocations: 154.5 kB / 1.378 GB, free: 12.53 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007333/0.5612, allocations: 95.19 kB / 1.378 GB, free: 12.44 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.991e-05/0.5613, allocations: 75.28 kB / 1.378 GB, free: 12.36 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.001145/0.5624, allocations: 0.9456 MB / 1.379 GB, free: 11.41 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003214/0.5627, allocations: 327.5 kB / 1.379 GB, free: 11.08 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003787/0.5631, allocations: 345.2 kB / 1.38 GB, free: 10.73 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.746e-05/0.5632, allocations: 176.3 kB / 1.38 GB, free: 10.55 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.7e-05/0.5633, allocations: 188.1 kB / 1.38 GB, free: 10.36 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.271e-05/0.5634, allocations: 180.3 kB / 1.38 GB, free: 10.17 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001375/0.5648, allocations: 1.001 MB / 1.381 GB, free: 9.133 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.357e-05/0.5648, allocations: 105 kB / 1.381 GB, free: 9.023 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.438e-05/0.5649, allocations: 101 kB / 1.381 GB, free: 8.918 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001116/0.565, allocations: 180.2 kB / 1.382 GB, free: 8.734 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001033/0.5651, allocations: 180.3 kB / 1.382 GB, free: 8.551 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.224e-05/0.5652, allocations: 180.2 kB / 1.382 GB, free: 8.367 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001156/0.5653, allocations: 180.3 kB / 1.382 GB, free: 8.184 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004451/0.5657, allocations: 0.5187 MB / 1.383 GB, free: 7.641 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004965/0.5662, allocations: 299.5 kB / 1.383 GB, free: 7.34 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002574/0.5665, allocations: 188.2 kB / 1.383 GB, free: 7.148 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005385/0.567, allocations: 117 kB / 1.383 GB, free: 7.027 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001279/0.5672, allocations: 192.2 kB / 1.383 GB, free: 6.832 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.677e-05/0.5672, allocations: 108.9 kB / 1.383 GB, free: 6.719 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.003226/0.5704, allocations: 2.091 MB / 1.385 GB, free: 4.621 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5704, allocations: 0 / 1.385 GB, free: 4.621 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000521/0.571, allocations: 179.9 kB / 1.386 GB, free: 4.445 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.000173/0.5711, allocations: 174.5 kB / 1.386 GB, free: 4.266 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 5.766e-05/0.5712, allocations: 0 / 1.386 GB, free: 4.266 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.5712, allocations: 4 kB / 1.386 GB, free: 4.262 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 3.045e-06/0.5712, allocations: 0 / 1.386 GB, free: 4.262 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006235/0.5774, allocations: 2.349 MB / 1.388 GB, free: 1.961 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005478/0.5829, allocations: 3.522 MB / 1.392 GB, free: 14.4 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001427/0.5843, allocations: 1.132 MB / 1.393 GB, free: 13.23 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001861/0.5862, allocations: 431.5 kB / 1.393 GB, free: 12.8 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001858/0.5864, allocations: 111.4 kB / 1.393 GB, free: 12.7 MB / 1.092 GB Notification: Performance of SimCode: time 1.633e-06/0.5864, allocations: 4 kB / 1.393 GB, free: 12.69 MB / 1.092 GB Notification: Performance of Templates: time 0.09447/0.6809, allocations: 57.93 MB / 1.45 GB, free: 4.164 MB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Templates.Components.Validation.PumpMultipleRecord.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Templates.Components.Validation.PumpMultipleRecord -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe 2>&1) [Timeout 400] 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: 11.14549459295813]