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.001652/0.001652, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001767/0.001767, allocations: 223.1 kB / 23 MB, free: 4.914 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.468/1.468, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.76/2.76, allocations: 476 MB / 0.7707 GB, free: 4.766 MB / 0.6231 GB " [Timeout remaining time 177] 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.002129/0.002129, allocations: 65.95 kB / 1.118 GB, free: 40.99 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3412/0.3434, allocations: 170 MB / 1.284 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.PumpMultipleRecord): time 0.00607/0.3494, allocations: 3.491 MB / 1.287 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01001/0.3594, allocations: 5.896 MB / 1.293 GB, free: 2.574 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000716/0.3602, allocations: 27.88 kB / 1.293 GB, free: 2.547 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.006339/0.3665, allocations: 1.879 MB / 1.295 GB, free: 0.6641 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001756/0.3683, allocations: 0.5715 MB / 1.295 GB, free: 92 kB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001425/0.3684, allocations: 8 kB / 1.295 GB, free: 84 kB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.03682/0.4052, allocations: 23.65 MB / 1.318 GB, free: 8.402 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002429/0.4055, allocations: 42.56 kB / 1.318 GB, free: 8.348 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001162/0.4066, allocations: 0.5875 MB / 1.319 GB, free: 7.758 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009903/0.4076, allocations: 0.657 MB / 1.32 GB, free: 7.098 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001194/0.4077, allocations: 32 kB / 1.32 GB, free: 7.066 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000223/0.408, allocations: 28 kB / 1.32 GB, free: 7.039 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0006801/0.4086, allocations: 0.7514 MB / 1.32 GB, free: 6.285 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0006412/0.4093, allocations: 0.6056 MB / 1.321 GB, free: 5.676 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002186/0.4115, allocations: 2.128 MB / 1.323 GB, free: 3.539 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.4115, allocations: 4 kB / 1.323 GB, free: 3.535 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.644e-06/0.4115, allocations: 0 / 1.323 GB, free: 3.535 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.388e-05/0.4115, allocations: 0 / 1.323 GB, free: 3.535 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.00378/0.4153, allocations: 2.186 MB / 1.325 GB, free: 1.305 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.4153, allocations: 8.031 kB / 1.325 GB, free: 1.297 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003023/0.4156, allocations: 293.8 kB / 1.326 GB, free: 1.008 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004263/0.4199, allocations: 2.399 MB / 1.328 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.621e-05/0.42, allocations: 154.6 kB / 1.328 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.453e-05/0.42, allocations: 150.6 kB / 1.328 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.05e-05/0.4201, allocations: 105 kB / 1.328 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.775e-05/0.4202, allocations: 79.22 kB / 1.328 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.296e-05/0.4203, allocations: 154.6 kB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.087e-05/0.4203, allocations: 158.5 kB / 1.329 GB, free: 13.74 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001198/0.4205, allocations: 150.6 kB / 1.329 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001575/0.422, allocations: 1.053 MB / 1.33 GB, free: 12.51 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/0.4222, allocations: 169.2 kB / 1.33 GB, free: 12.33 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.707e-05/0.4222, allocations: 84.08 kB / 1.33 GB, free: 12.25 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001099/0.4223, allocations: 79.28 kB / 1.33 GB, free: 12.17 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.231e-05/0.4224, allocations: 105.8 kB / 1.33 GB, free: 12.05 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.322e-06/0.4224, allocations: 4 kB / 1.33 GB, free: 12.05 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 0.0003393/0.4227, allocations: 240.2 kB / 1.331 GB, free: 11.81 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.245e-05/0.4228, allocations: 130.7 kB / 1.331 GB, free: 11.67 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004257/0.4271, allocations: 2.855 MB / 1.333 GB, free: 8.801 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.4271, allocations: 25.7 kB / 1.333 GB, free: 8.77 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001019/0.4281, allocations: 0.9028 MB / 1.334 GB, free: 7.863 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.586e-06/0.4281, allocations: 0 / 1.334 GB, free: 7.863 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.973e-05/0.4281, allocations: 9.719 kB / 1.334 GB, free: 7.848 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.4283, allocations: 317.9 kB / 1.335 GB, free: 7.531 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.256e-06/0.4283, allocations: 7.938 kB / 1.335 GB, free: 7.523 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.775e-06/0.4283, allocations: 3.938 kB / 1.335 GB, free: 7.52 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.75e-05/0.4283, allocations: 75.28 kB / 1.335 GB, free: 7.445 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.926e-05/0.4284, allocations: 79.28 kB / 1.335 GB, free: 7.367 MB / 1.029 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0003618/0.4287, allocations: 240.2 kB / 1.335 GB, free: 7.125 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.068e-05/0.4288, allocations: 83.28 kB / 1.335 GB, free: 7.043 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.37e-05/0.4288, allocations: 75.28 kB / 1.335 GB, free: 6.969 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001009/0.4289, allocations: 154.5 kB / 1.335 GB, free: 6.816 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.486e-05/0.429, allocations: 83.28 kB / 1.335 GB, free: 6.734 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.746e-05/0.4291, allocations: 162.4 kB / 1.336 GB, free: 6.574 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006995/0.4298, allocations: 91.27 kB / 1.336 GB, free: 6.484 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.632e-05/0.4298, allocations: 75.28 kB / 1.336 GB, free: 6.41 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.001152/0.431, allocations: 0.9489 MB / 1.337 GB, free: 5.449 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002899/0.4313, allocations: 319.5 kB / 1.337 GB, free: 5.129 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003784/0.4317, allocations: 337.2 kB / 1.337 GB, free: 4.785 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.893e-05/0.4318, allocations: 188.2 kB / 1.337 GB, free: 4.594 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001079/0.4319, allocations: 184.2 kB / 1.338 GB, free: 4.406 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.77e-05/0.432, allocations: 184.2 kB / 1.338 GB, free: 4.219 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00124/0.4332, allocations: 0.9975 MB / 1.339 GB, free: 3.184 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.075e-05/0.4333, allocations: 105 kB / 1.339 GB, free: 3.074 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.181e-05/0.4333, allocations: 104.9 kB / 1.339 GB, free: 2.965 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.527e-05/0.4334, allocations: 180.3 kB / 1.339 GB, free: 2.781 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000106/0.4335, allocations: 184.2 kB / 1.339 GB, free: 2.594 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.514e-05/0.4336, allocations: 180.2 kB / 1.34 GB, free: 2.41 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.396e-05/0.4337, allocations: 176.3 kB / 1.34 GB, free: 2.23 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004129/0.4341, allocations: 0.5184 MB / 1.34 GB, free: 1.688 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004965/0.4346, allocations: 303.4 kB / 1.34 GB, free: 1.383 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000264/0.4349, allocations: 180.3 kB / 1.341 GB, free: 1.199 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005669/0.4354, allocations: 121.4 kB / 1.341 GB, free: 1.074 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.4355, allocations: 180.2 kB / 1.341 GB, free: 0.8906 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.584e-05/0.4356, allocations: 104.9 kB / 1.341 GB, free: 0.7812 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.00353/0.4391, allocations: 2.095 MB / 1.343 GB, free: 14.68 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4391, allocations: 0 / 1.343 GB, free: 14.68 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0006771/0.4398, allocations: 176 kB / 1.343 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.0003102/0.4401, allocations: 174.5 kB / 1.343 GB, free: 14.32 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 8.8e-05/0.4402, 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.436e-06/0.4402, allocations: 0 / 1.343 GB, free: 14.32 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 4.198e-06/0.4402, allocations: 7.938 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.006663/0.4469, allocations: 2.351 MB / 1.346 GB, free: 12.01 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006261/0.4531, allocations: 3.702 MB / 1.349 GB, free: 8.262 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001518/0.4546, allocations: 1.123 MB / 1.35 GB, free: 7.105 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002908/0.4549, allocations: 111.4 kB / 1.351 GB, free: 6.996 MB / 1.045 GB Notification: Performance of SimCode: time 1.462e-06/0.4549, allocations: 0 / 1.351 GB, free: 6.996 MB / 1.045 GB Notification: Performance of Templates: time 0.06803/0.523, allocations: 41.09 MB / 1.391 GB, free: 14.46 MB / 1.092 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/jenkins1/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: 23.34800773439929]