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.0007989/0.0007989, allocations: 76.52 kB / 19.93 MB, free: 4.605 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.0008106/0.0008106, allocations: 181.9 kB / 23.22 MB, free: 1.316 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 0.8591/0.8591, allocations: 177.2 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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 1.63/1.63, allocations: 359 MB / 0.6044 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] 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 1.442e-06/1.442e-06, allocations: 0 / 0.9517 GB, free: 3.02 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.114e-05/2.258e-05, allocations: 5.516 kB / 0.9517 GB, free: 3.016 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.PumpMultipleRecord): time 0.003165/0.003188, allocations: 3.492 MB / 0.9551 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.005149/0.008336, allocations: 5.876 MB / 0.9609 GB, free: 9.594 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002037/0.00854, allocations: 27.88 kB / 0.9609 GB, free: 9.566 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.002648/0.01119, allocations: 1.903 MB / 0.9627 GB, free: 7.656 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.000498/0.01169, allocations: 0.5827 MB / 0.9633 GB, free: 7.07 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 1.7e-05/0.0117, allocations: 4 kB / 0.9633 GB, free: 7.066 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.01813/0.02984, allocations: 23.91 MB / 0.9867 GB, free: 15.12 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.02996, allocations: 42.62 kB / 0.9867 GB, free: 15.07 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000712/0.03068, allocations: 0.7283 MB / 0.9874 GB, free: 14.34 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004472/0.03112, allocations: 0.5917 MB / 0.988 GB, free: 13.75 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 5.031e-05/0.03117, allocations: 32 kB / 0.988 GB, free: 13.72 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001128/0.03129, allocations: 28 kB / 0.988 GB, free: 13.69 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0004133/0.0317, allocations: 0.8064 MB / 0.9888 GB, free: 12.88 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003161/0.03202, allocations: 462.6 kB / 0.9893 GB, free: 12.43 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.001255/0.03327, allocations: 1.982 MB / 0.9912 GB, free: 10.44 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.03328, allocations: 0 / 0.9912 GB, free: 10.44 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.703e-06/0.03328, allocations: 0 / 0.9912 GB, free: 10.44 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.295e-05/0.03329, allocations: 3.938 kB / 0.9912 GB, free: 10.44 MB / 0.948 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.00172/0.03501, allocations: 2.163 MB / 0.9933 GB, free: 8.23 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.03505, allocations: 12.03 kB / 0.9933 GB, free: 8.219 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001625/0.03521, allocations: 289.8 kB / 0.9936 GB, free: 7.934 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002105/0.03732, allocations: 2.403 MB / 0.996 GB, free: 5.453 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.867e-05/0.03735, allocations: 150.6 kB / 0.9961 GB, free: 5.305 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.394e-05/0.03739, allocations: 150.6 kB / 0.9962 GB, free: 5.156 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.566e-05/0.03744, allocations: 105 kB / 0.9963 GB, free: 5.047 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.135e-05/0.03746, allocations: 79.28 kB / 0.9964 GB, free: 4.969 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.645e-05/0.0375, allocations: 154.5 kB / 0.9966 GB, free: 4.816 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.201e-05/0.03753, allocations: 150.6 kB / 0.9967 GB, free: 4.668 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.654e-05/0.03757, allocations: 154.5 kB / 0.9969 GB, free: 4.516 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007515/0.03832, allocations: 1.057 MB / 0.9979 GB, free: 3.43 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.063e-05/0.03838, allocations: 169.1 kB / 0.9981 GB, free: 3.254 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.453e-05/0.03841, allocations: 80.14 kB / 0.9981 GB, free: 3.172 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.03843, allocations: 75.28 kB / 0.9982 GB, free: 3.098 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/0.03846, allocations: 117.8 kB / 0.9983 GB, free: 2.973 MB / 0.948 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.03846, allocations: 0 / 0.9983 GB, free: 2.973 MB / 0.948 GB Notification: Performance of matching and sorting (n=0): time 0.0001598/0.03862, allocations: 252.2 kB / 0.9986 GB, free: 2.719 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/0.03866, allocations: 126.7 kB / 0.9987 GB, free: 2.582 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002169/0.04083, allocations: 2.852 MB / 1.001 GB, free: 15.72 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.335e-06/0.04084, allocations: 25.7 kB / 1.001 GB, free: 15.69 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005432/0.04138, allocations: 0.8989 MB / 1.002 GB, free: 14.79 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.773e-06/0.04138, allocations: 0 / 1.002 GB, free: 14.79 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.662e-05/0.0414, allocations: 13.7 kB / 1.002 GB, free: 14.77 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.635e-05/0.04146, allocations: 309.9 kB / 1.003 GB, free: 14.46 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.187e-06/0.04147, allocations: 0 / 1.003 GB, free: 14.46 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.797e-06/0.04147, allocations: 8 kB / 1.003 GB, free: 14.45 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.79e-05/0.04149, allocations: 75.28 kB / 1.003 GB, free: 14.38 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.595e-05/0.04151, allocations: 79.22 kB / 1.003 GB, free: 14.3 MB / 0.9636 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0001356/0.04164, allocations: 244.2 kB / 1.003 GB, free: 14.05 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/0.04167, allocations: 79.28 kB / 1.003 GB, free: 13.97 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.76e-05/0.04168, allocations: 79.28 kB / 1.003 GB, free: 13.89 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.907e-05/0.04172, allocations: 154.5 kB / 1.003 GB, free: 13.74 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.606e-05/0.04174, allocations: 75.28 kB / 1.003 GB, free: 13.67 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.283e-05/0.04177, allocations: 166.5 kB / 1.004 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002587/0.04203, allocations: 91.27 kB / 1.004 GB, free: 13.41 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.178e-05/0.04205, allocations: 79.27 kB / 1.004 GB, free: 13.34 MB / 0.9636 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.0006242/0.04268, allocations: 0.9527 MB / 1.005 GB, free: 12.37 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001406/0.04282, allocations: 323.5 kB / 1.005 GB, free: 12.05 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002011/0.04302, allocations: 333.2 kB / 1.005 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.426e-05/0.04306, allocations: 184.2 kB / 1.005 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.206e-05/0.04311, allocations: 184.2 kB / 1.006 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.786e-05/0.04314, allocations: 176.3 kB / 1.006 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006193/0.04376, allocations: 1.005 MB / 1.007 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.419e-05/0.04379, allocations: 101.3 kB / 1.007 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.556e-05/0.04381, allocations: 108.9 kB / 1.007 GB, free: 9.895 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.806e-05/0.04385, allocations: 180.3 kB / 1.007 GB, free: 9.711 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.523e-05/0.0439, allocations: 188.3 kB / 1.007 GB, free: 9.52 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.896e-05/0.04393, allocations: 184.2 kB / 1.008 GB, free: 9.332 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.952e-05/0.04397, allocations: 176.3 kB / 1.008 GB, free: 9.152 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002018/0.04418, allocations: 0.5223 MB / 1.008 GB, free: 8.605 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001968/0.04437, allocations: 299.5 kB / 1.008 GB, free: 8.305 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001241/0.0445, allocations: 180.2 kB / 1.009 GB, free: 8.121 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002579/0.04475, allocations: 124.9 kB / 1.009 GB, free: 7.992 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.441e-05/0.0448, allocations: 184.2 kB / 1.009 GB, free: 7.805 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.185e-05/0.04482, allocations: 101 kB / 1.009 GB, free: 7.699 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001644/0.04646, allocations: 2.091 MB / 1.011 GB, free: 5.602 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7.1e-08/0.04646, allocations: 0 / 1.011 GB, free: 5.602 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002958/0.04676, allocations: 180 kB / 1.011 GB, free: 5.426 MB / 0.9636 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.0001024/0.04686, allocations: 173.5 kB / 1.011 GB, free: 5.25 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 3.912e-05/0.0469, allocations: 7.938 kB / 1.011 GB, free: 5.242 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.0469, allocations: 4 kB / 1.011 GB, free: 5.238 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 8.156e-05/0.04699, allocations: 3.984 kB / 1.011 GB, free: 5.234 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00285/0.04984, allocations: 2.35 MB / 1.014 GB, free: 2.934 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002679/0.05251, allocations: 3.69 MB / 1.017 GB, free: 15.2 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007528/0.05327, allocations: 1.119 MB / 1.018 GB, free: 14.04 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.054e-05/0.05336, allocations: 112.5 kB / 1.019 GB, free: 13.93 MB / 0.9792 GB Notification: Performance of SimCode: time 8.12e-07/0.05336, allocations: 0 / 1.019 GB, free: 13.93 MB / 0.9792 GB Notification: Performance of Templates: time 0.4472/0.5005, allocations: 41.04 MB / 1.059 GB, free: 116.7 MB / 0.9948 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: 18.981672514230013]