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.0008445/0.0008445, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0007775/0.0007775, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8952/0.8952, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.729/1.729, allocations: 377.8 MB / 0.6228 GB, free: 8.672 MB / 0.5886 GB " [Timeout remaining time 178] 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.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_12_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_12_Buildings.Templates.Components.Validation.PumpMultipleRecord") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.9822 GB, free: 2.141 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.203e-05/2.353e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.137 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.PumpMultipleRecord): time 0.00322/0.003244, allocations: 3.496 MB / 0.9856 GB, free: 14.62 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.005581/0.008825, allocations: 5.946 MB / 0.9914 GB, free: 8.652 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002595/0.009084, allocations: 27.88 kB / 0.9914 GB, free: 8.625 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.003199/0.01228, allocations: 1.946 MB / 0.9933 GB, free: 6.672 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0006345/0.01292, allocations: 0.6256 MB / 0.9939 GB, free: 6.043 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 1.762e-05/0.01294, allocations: 4 kB / 0.9939 GB, free: 6.039 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0174/0.03033, allocations: 22.66 MB / 1.016 GB, free: 15.35 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001786/0.03051, allocations: 42.61 kB / 1.016 GB, free: 15.3 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008923/0.0314, allocations: 0.705 MB / 1.017 GB, free: 14.59 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004752/0.03188, allocations: 0.5878 MB / 1.017 GB, free: 14 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 5.174e-05/0.03193, allocations: 32 kB / 1.017 GB, free: 13.97 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001238/0.03205, allocations: 28 kB / 1.017 GB, free: 13.94 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0004027/0.03246, allocations: 0.8182 MB / 1.018 GB, free: 13.12 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0003187/0.03278, allocations: 470.6 kB / 1.019 GB, free: 12.66 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.001273/0.03405, allocations: 1.993 MB / 1.021 GB, free: 10.66 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.03405, allocations: 0 / 1.021 GB, free: 10.66 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.184e-06/0.03406, allocations: 0 / 1.021 GB, free: 10.66 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 1.815e-05/0.03407, allocations: 0 / 1.021 GB, free: 10.66 MB / 0.9792 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.001941/0.03602, allocations: 2.171 MB / 1.023 GB, free: 8.445 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.03605, allocations: 12.03 kB / 1.023 GB, free: 8.434 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001627/0.03622, allocations: 289.8 kB / 1.023 GB, free: 8.148 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002241/0.03846, allocations: 2.411 MB / 1.025 GB, free: 5.664 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.703e-05/0.0385, allocations: 150.6 kB / 1.026 GB, free: 5.516 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.288e-05/0.03855, allocations: 154.5 kB / 1.026 GB, free: 5.363 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.911e-05/0.03862, allocations: 105 kB / 1.026 GB, free: 5.254 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.831e-05/0.03864, allocations: 79.28 kB / 1.026 GB, free: 5.176 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.993e-05/0.03869, allocations: 150.6 kB / 1.026 GB, free: 5.027 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.713e-05/0.03874, allocations: 150.6 kB / 1.026 GB, free: 4.879 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.162e-05/0.03883, allocations: 154.5 kB / 1.026 GB, free: 4.727 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009136/0.03975, allocations: 1.057 MB / 1.027 GB, free: 3.641 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 7.141e-05/0.03982, allocations: 173.1 kB / 1.027 GB, free: 3.461 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.751e-05/0.03985, allocations: 80.14 kB / 1.028 GB, free: 3.379 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/0.03987, allocations: 75.28 kB / 1.028 GB, free: 3.305 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.8e-05/0.03991, allocations: 117.8 kB / 1.028 GB, free: 3.18 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=0): time 1.553e-06/0.03991, allocations: 0 / 1.028 GB, free: 3.18 MB / 0.9792 GB Notification: Performance of matching and sorting (n=0): time 0.0002035/0.04011, allocations: 244.2 kB / 1.028 GB, free: 2.934 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.036e-05/0.04016, allocations: 130.7 kB / 1.028 GB, free: 2.793 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002408/0.04257, allocations: 2.852 MB / 1.031 GB, free: 15.93 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 8.937e-06/0.04258, allocations: 25.7 kB / 1.031 GB, free: 15.9 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005687/0.04315, allocations: 0.9028 MB / 1.032 GB, free: 14.99 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 2.885e-06/0.04315, allocations: 0 / 1.032 GB, free: 14.99 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.126e-05/0.04317, allocations: 9.719 kB / 1.032 GB, free: 14.98 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 7.927e-05/0.04325, allocations: 313.9 kB / 1.032 GB, free: 14.66 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.25e-06/0.04326, allocations: 0 / 1.032 GB, free: 14.66 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.699e-06/0.04326, allocations: 0 / 1.032 GB, free: 14.66 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.27e-05/0.04328, allocations: 79.28 kB / 1.032 GB, free: 14.59 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.932e-05/0.0433, allocations: 83.22 kB / 1.032 GB, free: 14.5 MB / 0.9948 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0001652/0.04347, allocations: 240.2 kB / 1.032 GB, free: 14.26 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 3.276e-05/0.0435, allocations: 86.41 kB / 1.033 GB, free: 14.18 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.108e-05/0.04352, allocations: 79.27 kB / 1.033 GB, free: 14.1 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.871e-05/0.04357, allocations: 154.5 kB / 1.033 GB, free: 13.95 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.611e-05/0.04359, allocations: 75.28 kB / 1.033 GB, free: 13.88 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.545e-05/0.04362, allocations: 162.5 kB / 1.033 GB, free: 13.71 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003356/0.04396, allocations: 95.25 kB / 1.033 GB, free: 13.62 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.015e-05/0.04398, allocations: 83.22 kB / 1.033 GB, free: 13.54 MB / 0.9948 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.0006052/0.04458, allocations: 0.9451 MB / 1.034 GB, free: 12.58 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001495/0.04473, allocations: 323.5 kB / 1.034 GB, free: 12.26 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002116/0.04495, allocations: 341.2 kB / 1.035 GB, free: 11.91 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.974e-05/0.04499, allocations: 184.2 kB / 1.035 GB, free: 11.72 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.347e-05/0.04503, allocations: 180.2 kB / 1.035 GB, free: 11.54 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.036e-05/0.04507, allocations: 176.3 kB / 1.035 GB, free: 11.36 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006916/0.04576, allocations: 1.005 MB / 1.036 GB, free: 10.32 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.727e-05/0.04579, allocations: 101.3 kB / 1.036 GB, free: 10.21 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.012e-05/0.04582, allocations: 116.9 kB / 1.036 GB, free: 10.09 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.299e-05/0.04586, allocations: 176.3 kB / 1.037 GB, free: 9.91 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.678e-05/0.04591, allocations: 180.3 kB / 1.037 GB, free: 9.727 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.62e-05/0.04595, allocations: 184.2 kB / 1.037 GB, free: 9.539 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.637e-05/0.046, allocations: 180.3 kB / 1.037 GB, free: 9.355 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002219/0.04622, allocations: 0.5222 MB / 1.038 GB, free: 8.809 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002283/0.04645, allocations: 295.5 kB / 1.038 GB, free: 8.512 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001383/0.04659, allocations: 188.2 kB / 1.038 GB, free: 8.32 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002778/0.04687, allocations: 113 kB / 1.038 GB, free: 8.203 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.618e-05/0.04691, allocations: 192.1 kB / 1.038 GB, free: 8.008 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.367e-05/0.04694, allocations: 105 kB / 1.038 GB, free: 7.898 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001802/0.04874, allocations: 2.095 MB / 1.041 GB, free: 5.797 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.04874, allocations: 0 / 1.041 GB, free: 5.797 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0003091/0.04905, allocations: 176 kB / 1.041 GB, free: 5.625 MB / 0.9948 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.0001235/0.04917, allocations: 170.5 kB / 1.041 GB, free: 5.445 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 4.894e-05/0.04922, allocations: 7.875 kB / 1.041 GB, free: 5.438 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.04922, allocations: 4 kB / 1.041 GB, free: 5.434 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 1.302e-06/0.04922, allocations: 0 / 1.041 GB, free: 5.434 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003065/0.05229, allocations: 2.344 MB / 1.043 GB, free: 3.133 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4089/0.4612, allocations: 3.678 MB / 1.047 GB, free: 102.4 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007004/0.4619, allocations: 1.115 MB / 1.048 GB, free: 102.3 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001878/0.4621, allocations: 112.9 kB / 1.048 GB, free: 102.3 MB / 0.9948 GB Notification: Performance of SimCode: time 2.194e-06/0.4621, allocations: 2.719 kB / 1.048 GB, free: 102.3 MB / 0.9948 GB Notification: Performance of Templates: time 0.05597/0.5181, allocations: 41.03 MB / 1.088 GB, free: 97.21 MB / 0.9948 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Templates.Components.Validation.PumpMultipleRecord_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Components_Validation_PumpMultipleRecord.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 19.760094542056322]