Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001447/0.001447, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001703/0.001703, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.529/1.529, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.871/2.871, allocations: 475.9 MB / 0.7699 GB, free: 4.77 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002149/0.002149, allocations: 68.17 kB / 1.117 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.422/0.4241, allocations: 170 MB / 1.283 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.PumpMultipleRecord): time 0.007419/0.4315, allocations: 3.495 MB / 1.286 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01318/0.4447, allocations: 5.892 MB / 1.292 GB, free: 2.574 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00047/0.4452, allocations: 27.88 kB / 1.292 GB, free: 2.547 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.006897/0.4521, allocations: 1.883 MB / 1.294 GB, free: 0.6602 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001365/0.4535, allocations: 0.5715 MB / 1.295 GB, free: 88 kB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 3.254e-05/0.4535, allocations: 4 kB / 1.295 GB, free: 84 kB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.03604/0.4895, allocations: 23.65 MB / 1.318 GB, free: 8.402 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002634/0.4898, allocations: 42.61 kB / 1.318 GB, free: 8.348 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001305/0.4911, allocations: 0.5875 MB / 1.318 GB, free: 7.758 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009317/0.492, allocations: 0.6648 MB / 1.319 GB, free: 7.09 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001156/0.4921, allocations: 28 kB / 1.319 GB, free: 7.062 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002133/0.4924, allocations: 28 kB / 1.319 GB, free: 7.035 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0007047/0.4931, allocations: 0.7475 MB / 1.32 GB, free: 6.285 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0006772/0.4937, allocations: 0.6017 MB / 1.32 GB, free: 5.68 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003079/0.4968, allocations: 2.128 MB / 1.322 GB, free: 3.543 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.4968, allocations: 0 / 1.322 GB, free: 3.543 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.904e-06/0.4968, allocations: 0 / 1.322 GB, free: 3.543 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.81e-05/0.4969, allocations: 3.984 kB / 1.322 GB, free: 3.539 MB / 1.014 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.005065/0.5019, allocations: 2.186 MB / 1.325 GB, free: 1.309 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.807e-05/0.502, allocations: 8.031 kB / 1.325 GB, free: 1.301 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004166/0.5024, allocations: 293.8 kB / 1.325 GB, free: 1.012 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005746/0.5082, allocations: 2.399 MB / 1.327 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-05/0.5082, allocations: 150.6 kB / 1.327 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.456e-05/0.5083, allocations: 154.5 kB / 1.327 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001006/0.5084, allocations: 101 kB / 1.328 GB, free: 14.13 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.563e-05/0.5085, allocations: 79.28 kB / 1.328 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.34e-05/0.5086, allocations: 158.5 kB / 1.328 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.636e-05/0.5086, allocations: 154.5 kB / 1.328 GB, free: 13.74 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.699e-05/0.5087, allocations: 158.5 kB / 1.328 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00167/0.5104, allocations: 1.049 MB / 1.329 GB, free: 12.51 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.5105, allocations: 177.2 kB / 1.329 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.682e-05/0.5106, allocations: 84.08 kB / 1.329 GB, free: 12.24 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.332e-05/0.5106, allocations: 75.28 kB / 1.329 GB, free: 12.16 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.567e-05/0.5107, allocations: 109.8 kB / 1.33 GB, free: 12.05 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 3.988e-06/0.5107, allocations: 3.984 kB / 1.33 GB, free: 12.04 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 0.0003925/0.5111, allocations: 244.2 kB / 1.33 GB, free: 11.8 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.976e-05/0.5112, allocations: 126.7 kB / 1.33 GB, free: 11.66 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005658/0.5168, allocations: 2.855 MB / 1.333 GB, free: 8.793 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/0.5169, allocations: 29.7 kB / 1.333 GB, free: 8.758 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.00138/0.5182, allocations: 0.8988 MB / 1.334 GB, free: 7.855 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.225e-06/0.5182, allocations: 3.984 kB / 1.334 GB, free: 7.852 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.512e-05/0.5183, allocations: 17.72 kB / 1.334 GB, free: 7.828 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000171/0.5185, allocations: 306 kB / 1.334 GB, free: 7.523 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.846e-06/0.5185, allocations: 0 / 1.334 GB, free: 7.523 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.805e-06/0.5185, allocations: 7.938 kB / 1.334 GB, free: 7.516 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.709e-05/0.5185, allocations: 75.28 kB / 1.334 GB, free: 7.441 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.399e-05/0.5186, allocations: 83.22 kB / 1.334 GB, free: 7.359 MB / 1.029 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.000387/0.519, allocations: 244.2 kB / 1.334 GB, free: 7.113 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.367e-05/0.519, allocations: 79.28 kB / 1.334 GB, free: 7.035 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.651e-05/0.5191, allocations: 75.28 kB / 1.334 GB, free: 6.961 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001252/0.5192, allocations: 158.5 kB / 1.335 GB, free: 6.805 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.909e-05/0.5192, allocations: 75.28 kB / 1.335 GB, free: 6.73 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.302e-05/0.5193, allocations: 162.4 kB / 1.335 GB, free: 6.57 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008936/0.5202, allocations: 95.25 kB / 1.335 GB, free: 6.477 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-05/0.5203, allocations: 79.28 kB / 1.335 GB, free: 6.398 MB / 1.029 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.00141/0.5217, allocations: 0.945 MB / 1.336 GB, free: 5.441 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003826/0.5221, allocations: 315.5 kB / 1.336 GB, free: 5.125 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004829/0.5226, allocations: 341.2 kB / 1.337 GB, free: 4.777 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.53e-05/0.5226, allocations: 180.2 kB / 1.337 GB, free: 4.594 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-05/0.5227, allocations: 184.2 kB / 1.337 GB, free: 4.406 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.957e-05/0.5228, allocations: 188.2 kB / 1.337 GB, free: 4.215 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001563/0.5244, allocations: 0.9936 MB / 1.338 GB, free: 3.184 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.45e-05/0.5245, allocations: 109 kB / 1.338 GB, free: 3.07 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.672e-05/0.5245, allocations: 104.9 kB / 1.338 GB, free: 2.961 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.442e-05/0.5246, allocations: 180.3 kB / 1.338 GB, free: 2.777 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.739e-05/0.5247, allocations: 184.2 kB / 1.339 GB, free: 2.59 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.675e-05/0.5248, allocations: 176.3 kB / 1.339 GB, free: 2.41 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.841e-05/0.5249, allocations: 180.3 kB / 1.339 GB, free: 2.227 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005237/0.5254, allocations: 0.5183 MB / 1.339 GB, free: 1.684 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005472/0.526, allocations: 299.5 kB / 1.34 GB, free: 1.383 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003431/0.5263, allocations: 188.2 kB / 1.34 GB, free: 1.191 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007946/0.5271, allocations: 121.4 kB / 1.34 GB, free: 1.066 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.5272, allocations: 180.2 kB / 1.34 GB, free: 0.8828 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.674e-05/0.5273, allocations: 108.9 kB / 1.34 GB, free: 0.7695 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.004123/0.5314, allocations: 2.091 MB / 1.342 GB, free: 14.67 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5314, allocations: 0 / 1.342 GB, free: 14.67 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0008697/0.5323, allocations: 176 kB / 1.342 GB, free: 14.5 MB / 1.045 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.0002112/0.5325, allocations: 170.5 kB / 1.343 GB, free: 14.32 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 7.401e-05/0.5326, allocations: 7.938 kB / 1.343 GB, free: 14.32 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.5326, allocations: 0 / 1.343 GB, free: 14.32 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 7.193e-06/0.5326, allocations: 8 kB / 1.343 GB, free: 14.31 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008432/0.541, allocations: 2.347 MB / 1.345 GB, free: 12.01 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006989/0.548, allocations: 3.534 MB / 1.348 GB, free: 8.434 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002031/0.5501, allocations: 1.132 MB / 1.35 GB, free: 7.266 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.002486/0.5525, allocations: 439.5 kB / 1.35 GB, free: 6.832 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002618/0.5528, allocations: 111.4 kB / 1.35 GB, free: 6.723 MB / 1.045 GB Notification: Performance of SimCode: time 1.683e-06/0.5528, allocations: 0 / 1.35 GB, free: 6.723 MB / 1.045 GB Notification: Performance of Templates: time 0.1096/0.6624, allocations: 57.93 MB / 1.407 GB, free: 14.21 MB / 1.107 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Templates.Components.Validation.PumpMultipleRecord.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe ; mkfifo Buildings_11_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe >> ../files/Buildings_11_Buildings.Templates.Components.Validation.PumpMultipleRecord.sim & ./Buildings_11_Buildings.Templates.Components.Validation.PumpMultipleRecord -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Templates.Components.Validation.PumpMultipleRecord_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Components_Validation_PumpMultipleRecord.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.1468492038548]