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.002449/0.002449, allocations: 79.7 kB / 20.23 MB, free: 4.191 MB / 18.57 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.002812/0.002812, allocations: 157.3 kB / 23.55 MB, free: 0.8789 MB / 18.57 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.583/1.583, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.896/2.896, allocations: 359 MB / 0.6048 GB, free: 10.92 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 2.083e-06/2.083e-06, allocations: 0.7656 kB / 0.7863 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.854e-05/3.063e-05, allocations: 3.219 kB / 0.7864 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.PumpMultipleRecord): time 0.006362/0.006393, allocations: 3.773 MB / 0.79 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0106/0.01699, allocations: 6.303 MB / 0.7962 GB, free: 2.754 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003618/0.01735, allocations: 31.88 kB / 0.7962 GB, free: 2.723 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.005622/0.02297, allocations: 1.895 MB / 0.7981 GB, free: 0.832 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001443/0.02442, allocations: 0.5837 MB / 0.7986 GB, free: 260 kB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 3.8e-05/0.02445, allocations: 4 kB / 0.7986 GB, free: 256 kB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.04521/0.06966, allocations: 23.99 MB / 0.8221 GB, free: 8.23 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002707/0.06994, allocations: 42.56 kB / 0.8221 GB, free: 8.172 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001539/0.07147, allocations: 0.7361 MB / 0.8228 GB, free: 7.434 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009534/0.07243, allocations: 0.5878 MB / 0.8234 GB, free: 6.844 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001134/0.07254, allocations: 28 kB / 0.8234 GB, free: 6.816 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002626/0.0728, allocations: 32 kB / 0.8235 GB, free: 6.785 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0008842/0.07369, allocations: 0.8143 MB / 0.8243 GB, free: 5.969 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0007284/0.07442, allocations: 462.6 kB / 0.8247 GB, free: 5.516 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.002396/0.07681, allocations: 1.981 MB / 0.8266 GB, free: 3.527 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.07682, allocations: 0 / 0.8266 GB, free: 3.527 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.753e-06/0.07682, allocations: 0 / 0.8266 GB, free: 3.527 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.746e-05/0.07684, allocations: 0 / 0.8266 GB, free: 3.527 MB / 0.7761 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.004353/0.08119, allocations: 2.541 MB / 0.8291 GB, free: 0.9375 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.08123, allocations: 8.031 kB / 0.8291 GB, free: 0.9297 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003561/0.08159, allocations: 341.7 kB / 0.8294 GB, free: 0.5938 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003657/0.08524, allocations: 2.156 MB / 0.8316 GB, free: 14.37 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001364/0.08538, allocations: 238.4 kB / 0.8318 GB, free: 14.13 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001447/0.08552, allocations: 238.4 kB / 0.832 GB, free: 13.9 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/0.08566, allocations: 148.9 kB / 0.8322 GB, free: 13.75 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.683e-05/0.08573, allocations: 123.1 kB / 0.8323 GB, free: 13.62 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001517/0.08588, allocations: 238.4 kB / 0.8325 GB, free: 13.39 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001575/0.08604, allocations: 242.4 kB / 0.8327 GB, free: 13.15 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001524/0.08619, allocations: 242.4 kB / 0.833 GB, free: 12.91 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002698/0.08889, allocations: 1.824 MB / 0.8347 GB, free: 11.06 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002318/0.08912, allocations: 261.4 kB / 0.835 GB, free: 10.79 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.891e-05/0.08922, allocations: 130.8 kB / 0.8351 GB, free: 10.66 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 7.46e-05/0.0893, allocations: 119.2 kB / 0.8352 GB, free: 10.54 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001141/0.08941, allocations: 156.6 kB / 0.8354 GB, free: 10.38 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=0): time 1.202e-06/0.08941, allocations: 0 / 0.8354 GB, free: 10.38 MB / 0.7917 GB Notification: Performance of matching and sorting (n=0): time 0.0004074/0.08982, allocations: 248.2 kB / 0.8356 GB, free: 10.12 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001408/0.08996, allocations: 174.5 kB / 0.8358 GB, free: 9.941 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005015/0.09498, allocations: 2.956 MB / 0.8387 GB, free: 6.973 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.09499, allocations: 25.7 kB / 0.8387 GB, free: 6.941 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.001631/0.09662, allocations: 1.262 MB / 0.8399 GB, free: 5.676 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 3.397e-06/0.09663, allocations: 0 / 0.8399 GB, free: 5.676 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.303e-05/0.09667, allocations: 19.38 kB / 0.8399 GB, free: 5.648 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.000278/0.09695, allocations: 496.3 kB / 0.8404 GB, free: 5.156 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.522e-06/0.09696, allocations: 0 / 0.8404 GB, free: 5.156 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.378e-06/0.09696, allocations: 0 / 0.8404 GB, free: 5.156 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.943e-05/0.09703, allocations: 119.2 kB / 0.8405 GB, free: 5.039 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.386e-05/0.09709, allocations: 119.2 kB / 0.8406 GB, free: 4.922 MB / 0.7917 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0003823/0.09748, allocations: 248.2 kB / 0.8409 GB, free: 4.672 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 8.732e-05/0.09756, allocations: 127.2 kB / 0.841 GB, free: 4.547 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.99e-05/0.09763, allocations: 123.1 kB / 0.8411 GB, free: 4.426 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001515/0.09778, allocations: 242.4 kB / 0.8414 GB, free: 4.188 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.057e-05/0.09786, allocations: 119.2 kB / 0.8415 GB, free: 4.07 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001478/0.098, allocations: 250.3 kB / 0.8417 GB, free: 3.824 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006096/0.09861, allocations: 123.2 kB / 0.8418 GB, free: 3.703 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.54e-05/0.09868, allocations: 127.1 kB / 0.8419 GB, free: 3.578 MB / 0.7917 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.0005394/0.09922, allocations: 0.5027 MB / 0.8424 GB, free: 3.062 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003384/0.09956, allocations: 363.4 kB / 0.8428 GB, free: 2.699 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000347/0.0999, allocations: 321.1 kB / 0.8431 GB, free: 2.375 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001523/0.1001, allocations: 272 kB / 0.8433 GB, free: 2.102 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003504/0.1004, allocations: 264.1 kB / 0.8436 GB, free: 1.836 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001656/0.1006, allocations: 272.2 kB / 0.8439 GB, free: 1.562 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002364/0.1029, allocations: 1.748 MB / 0.8456 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-05/0.103, allocations: 152.9 kB / 0.8457 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.968e-05/0.1031, allocations: 148.8 kB / 0.8459 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001408/0.1032, allocations: 264.1 kB / 0.8461 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001586/0.1034, allocations: 272 kB / 0.8464 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001498/0.1036, allocations: 264.1 kB / 0.8466 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001584/0.1037, allocations: 272 kB / 0.8469 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005587/0.1043, allocations: 0.6602 MB / 0.8475 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005668/0.1048, allocations: 343.4 kB / 0.8478 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003217/0.1052, allocations: 268.1 kB / 0.8481 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004772/0.1056, allocations: 152.8 kB / 0.8482 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001671/0.1058, allocations: 268 kB / 0.8485 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.039e-05/0.1059, allocations: 156.9 kB / 0.8487 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.003062/0.109, allocations: 1.607 MB / 0.8502 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.4e-07/0.109, allocations: 0 / 0.8502 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0006641/0.1096, allocations: 180 kB / 0.8504 GB, free: 10.71 MB / 0.8073 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.0006166/0.1102, allocations: 218.4 kB / 0.8506 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.747e-05/0.1103, allocations: 0 / 0.8506 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1103, allocations: 0 / 0.8506 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.883e-06/0.1103, allocations: 0 / 0.8506 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006601/0.1169, allocations: 2.612 MB / 0.8532 GB, free: 7.918 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004409/0.1213, allocations: 2.856 MB / 0.8559 GB, free: 5.012 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001351/0.1227, allocations: 0.9952 MB / 0.8569 GB, free: 3.98 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.00142/0.1241, allocations: 315.6 kB / 0.8572 GB, free: 3.668 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001757/0.1243, allocations: 108.5 kB / 0.8573 GB, free: 3.562 MB / 0.8073 GB Notification: Performance of SimCode: time 2.164e-06/0.1243, allocations: 0 / 0.8573 GB, free: 3.562 MB / 0.8073 GB Notification: Performance of Templates: time 0.09824/0.2225, allocations: 53.45 MB / 0.9095 GB, free: 15.54 MB / 0.8698 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe 2>&1) [Timeout 240] 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: 9.440888024982996]