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.001014/0.001014, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.001603/0.001603, allocations: 165 kB / 23.82 MB, free: 0.7422 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.9806/0.9806, allocations: 177.1 MB / 204.2 MB, free: 5.258 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.86/1.86, allocations: 377.8 MB / 0.6236 GB, free: 8.527 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.[0-9,]+.|datDef.per.[0-9,]+..pressure.V_flow.[0-9,]+.|datRed.per.[0-9,]+..pressure.V_flow.[0-9,]+.|datAss.per.[0-9,]+..pressure.V_flow.[0-9,]+.|datPre.per.[0-9,]+..pressure.V_flow.[0-9,]+.",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.[0-9,]+.|datDef.per.[0-9,]+..pressure.V_flow.[0-9,]+.|datRed.per.[0-9,]+..pressure.V_flow.[0-9,]+.|datAss.per.[0-9,]+..pressure.V_flow.[0-9,]+.|datPre.per.[0-9,]+..pressure.V_flow.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Templates.Components.Validation.PumpMultipleRecord") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.093e-06/2.093e-06, allocations: 0 / 0.8115 GB, free: 1.742 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.584e-05/2.793e-05, allocations: 5.891 kB / 0.8115 GB, free: 1.738 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.PumpMultipleRecord): time 0.004004/0.004032, allocations: 3.829 MB / 0.8152 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.006464/0.0105, allocations: 6.385 MB / 0.8215 GB, free: 7.531 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003078/0.0108, allocations: 35.81 kB / 0.8215 GB, free: 7.496 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.003436/0.01424, allocations: 1.952 MB / 0.8234 GB, free: 5.551 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0006762/0.01492, allocations: 0.6311 MB / 0.824 GB, free: 4.922 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 1.686e-05/0.01493, allocations: 4 kB / 0.824 GB, free: 4.918 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.01947/0.0344, allocations: 22.73 MB / 0.8462 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001649/0.03456, allocations: 42.62 kB / 0.8463 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008392/0.0354, allocations: 0.7049 MB / 0.847 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005653/0.03597, allocations: 0.5917 MB / 0.8475 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 6.729e-05/0.03604, allocations: 32 kB / 0.8476 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001475/0.03618, allocations: 28 kB / 0.8476 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0005478/0.03673, allocations: 0.8259 MB / 0.8484 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0003747/0.03711, allocations: 474.6 kB / 0.8489 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0008879/0.03799, allocations: 1.237 MB / 0.8501 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 5.381e-06/0.038, allocations: 4 kB / 0.8501 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.422e-06/0.038, allocations: 0 / 0.8501 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.265e-05/0.03802, allocations: 0 / 0.8501 GB, free: 10.21 MB / 0.8073 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.002204/0.04023, allocations: 2.549 MB / 0.8526 GB, free: 7.609 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.04027, allocations: 12.03 kB / 0.8526 GB, free: 7.598 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002078/0.04047, allocations: 337.6 kB / 0.8529 GB, free: 7.266 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002004/0.04248, allocations: 2.122 MB / 0.855 GB, free: 5.07 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.836e-05/0.04253, allocations: 242.4 kB / 0.8552 GB, free: 4.832 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.941e-05/0.04258, allocations: 238.4 kB / 0.8554 GB, free: 4.598 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.635e-05/0.04264, allocations: 152.9 kB / 0.8556 GB, free: 4.441 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.874e-05/0.04267, allocations: 123.2 kB / 0.8557 GB, free: 4.32 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.332e-05/0.04272, allocations: 238.4 kB / 0.8559 GB, free: 4.086 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.625e-05/0.04278, allocations: 238.4 kB / 0.8561 GB, free: 3.852 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.482e-05/0.04284, allocations: 246.3 kB / 0.8564 GB, free: 3.609 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001241/0.04408, allocations: 1.805 MB / 0.8581 GB, free: 1.773 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 8.393e-05/0.04416, allocations: 265.4 kB / 0.8584 GB, free: 1.5 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.515e-05/0.0442, allocations: 126.9 kB / 0.8585 GB, free: 1.371 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.677e-05/0.04422, allocations: 119.2 kB / 0.8586 GB, free: 1.254 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.16e-05/0.04426, allocations: 156.6 kB / 0.8588 GB, free: 1.09 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.04427, allocations: 3.938 kB / 0.8588 GB, free: 1.086 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 0.0001785/0.04444, allocations: 244.2 kB / 0.859 GB, free: 0.8398 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.333e-05/0.0445, allocations: 174.6 kB / 0.8592 GB, free: 0.6562 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002332/0.04683, allocations: 2.804 MB / 0.8619 GB, free: 13.84 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 8.246e-06/0.04684, allocations: 25.7 kB / 0.8619 GB, free: 13.81 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009167/0.04775, allocations: 1.266 MB / 0.8632 GB, free: 12.54 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.194e-06/0.04776, allocations: 0 / 0.8632 GB, free: 12.54 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.964e-05/0.04778, allocations: 15.38 kB / 0.8632 GB, free: 12.52 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.0479, allocations: 492.4 kB / 0.8637 GB, free: 12.03 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.322e-06/0.0479, allocations: 0 / 0.8637 GB, free: 12.03 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.487e-06/0.04791, allocations: 0 / 0.8637 GB, free: 12.03 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.858e-05/0.04794, allocations: 123.2 kB / 0.8638 GB, free: 11.91 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-05/0.04796, allocations: 123.2 kB / 0.8639 GB, free: 11.79 MB / 0.823 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0001554/0.04812, allocations: 248.2 kB / 0.8641 GB, free: 11.54 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.739e-05/0.04816, allocations: 127.2 kB / 0.8643 GB, free: 11.41 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.793e-05/0.04818, allocations: 119.2 kB / 0.8644 GB, free: 11.29 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.822e-05/0.04824, allocations: 242.3 kB / 0.8646 GB, free: 11.05 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.716e-05/0.04827, allocations: 127.1 kB / 0.8647 GB, free: 10.93 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.825e-05/0.04832, allocations: 242.4 kB / 0.865 GB, free: 10.69 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002413/0.04856, allocations: 135.2 kB / 0.8651 GB, free: 10.56 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.474e-05/0.04858, allocations: 127.1 kB / 0.8652 GB, free: 10.43 MB / 0.823 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.0002001/0.04878, allocations: 399 kB / 0.8656 GB, free: 10.03 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001606/0.04895, allocations: 363.4 kB / 0.8659 GB, free: 9.668 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001875/0.04913, allocations: 317.1 kB / 0.8662 GB, free: 9.344 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.007e-05/0.04919, allocations: 268.2 kB / 0.8665 GB, free: 9.074 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.764e-05/0.04925, allocations: 276.1 kB / 0.8668 GB, free: 8.797 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.314e-05/0.04931, allocations: 264.1 kB / 0.867 GB, free: 8.531 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001296/0.05061, allocations: 1.744 MB / 0.8687 GB, free: 6.746 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.52e-05/0.05064, allocations: 144.9 kB / 0.8688 GB, free: 6.598 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.728e-05/0.05068, allocations: 152.8 kB / 0.869 GB, free: 6.441 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.858e-05/0.05075, allocations: 268.1 kB / 0.8692 GB, free: 6.172 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002377/0.05099, allocations: 268.1 kB / 0.8695 GB, free: 5.902 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.426e-05/0.05106, allocations: 272 kB / 0.8698 GB, free: 5.629 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.828e-05/0.05113, allocations: 268.1 kB / 0.87 GB, free: 5.359 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003074/0.05144, allocations: 0.664 MB / 0.8707 GB, free: 4.668 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002832/0.05172, allocations: 335.4 kB / 0.871 GB, free: 4.332 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002011/0.05192, allocations: 276 kB / 0.8713 GB, free: 4.055 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003475/0.05227, allocations: 152.9 kB / 0.8714 GB, free: 3.898 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.933e-05/0.05234, allocations: 272 kB / 0.8717 GB, free: 3.625 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.524e-05/0.05237, allocations: 144.9 kB / 0.8718 GB, free: 3.477 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001726/0.0541, allocations: 1.455 MB / 0.8732 GB, free: 2.016 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.9e-07/0.0541, allocations: 4 kB / 0.8732 GB, free: 2.012 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0004542/0.05455, allocations: 176 kB / 0.8734 GB, free: 1.84 MB / 0.823 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.0001189/0.05467, allocations: 218.4 kB / 0.8736 GB, free: 1.613 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 4.907e-05/0.05472, allocations: 11.86 kB / 0.8736 GB, free: 1.602 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.05472, allocations: 0 / 0.8736 GB, free: 1.602 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 1.282e-06/0.05473, allocations: 0 / 0.8736 GB, free: 1.602 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004229/0.05895, allocations: 2.605 MB / 0.8762 GB, free: 15.04 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003124/0.06208, allocations: 2.75 MB / 0.8788 GB, free: 12.23 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004557/0.06253, allocations: 0.4959 MB / 0.8793 GB, free: 11.71 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0008495/0.06338, allocations: 315.5 kB / 0.8796 GB, free: 11.4 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001321/0.06352, allocations: 112.5 kB / 0.8797 GB, free: 11.29 MB / 0.8386 GB Notification: Performance of SimCode: time 9.52e-07/0.06352, allocations: 0 / 0.8797 GB, free: 11.29 MB / 0.8386 GB Notification: Performance of Templates: time 0.06057/0.1241, allocations: 53.55 MB / 0.932 GB, free: 7.23 MB / 0.8855 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Templates.Components.Validation.PumpMultipleRecord_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Components_Validation_PumpMultipleRecord.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.865653076209128]