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.00189/0.00189, allocations: 80.41 kB / 20.23 MB, free: 4.203 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.002424/0.002424, allocations: 161.7 kB / 23.54 MB, free: 0.8984 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.52/1.52, allocations: 177.1 MB / 203.9 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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 2.873/2.873, allocations: 377.8 MB / 0.6232 GB, free: 8.516 MB / 0.5886 GB " [Timeout remaining time 176] 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 2.495e-06/2.495e-06, allocations: 0 / 0.8108 GB, free: 2.109 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.536e-05/3.785e-05, allocations: 11.23 kB / 0.8108 GB, free: 2.098 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.PumpMultipleRecord): time 0.006766/0.006804, allocations: 3.494 MB / 0.8142 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.01113/0.01793, allocations: 5.952 MB / 0.82 GB, free: 8.66 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007676/0.0187, allocations: 31.81 kB / 0.82 GB, free: 8.629 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.00635/0.02505, allocations: 1.947 MB / 0.8219 GB, free: 6.688 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.001892/0.02694, allocations: 0.6222 MB / 0.8226 GB, free: 6.07 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001179/0.02706, allocations: 12.53 kB / 0.8226 GB, free: 6.059 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.03992/0.06698, allocations: 22.74 MB / 0.8448 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003145/0.0673, allocations: 38.62 kB / 0.8448 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002267/0.06957, allocations: 0.7088 MB / 0.8455 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001469/0.07104, allocations: 0.5917 MB / 0.8461 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0002644/0.0713, allocations: 28 kB / 0.8461 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004744/0.07177, allocations: 32 kB / 0.8461 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.00116/0.07293, allocations: 0.8143 MB / 0.8469 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.001167/0.0741, allocations: 466.6 kB / 0.8474 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.003135/0.07724, allocations: 1.997 MB / 0.8493 GB, free: 10.6 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.07724, allocations: 0 / 0.8493 GB, free: 10.6 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.092e-06/0.07724, allocations: 4 kB / 0.8493 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 8.394e-05/0.07733, allocations: 0 / 0.8493 GB, free: 10.59 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.005393/0.08272, allocations: 2.171 MB / 0.8514 GB, free: 8.379 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.08276, allocations: 8.031 kB / 0.8515 GB, free: 8.371 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000415/0.08318, allocations: 293.8 kB / 0.8517 GB, free: 8.082 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004528/0.08771, allocations: 2.454 MB / 0.8541 GB, free: 5.559 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001028/0.08781, allocations: 150.6 kB / 0.8543 GB, free: 5.41 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.048e-05/0.0879, allocations: 154.6 kB / 0.8544 GB, free: 5.258 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000107/0.08801, allocations: 108.9 kB / 0.8545 GB, free: 5.145 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.848e-05/0.08807, allocations: 79.22 kB / 0.8546 GB, free: 5.066 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.855e-05/0.08815, allocations: 150.6 kB / 0.8547 GB, free: 4.918 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.307e-05/0.08824, allocations: 154.6 kB / 0.8549 GB, free: 4.766 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.857e-05/0.08833, allocations: 150.6 kB / 0.855 GB, free: 4.617 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001546/0.08987, allocations: 1.061 MB / 0.8561 GB, free: 3.527 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/0.09, allocations: 169.1 kB / 0.8562 GB, free: 3.352 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.006e-05/0.09005, allocations: 80.14 kB / 0.8563 GB, free: 3.27 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 4.751e-05/0.0901, allocations: 79.28 kB / 0.8564 GB, free: 3.191 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.684e-05/0.09016, allocations: 105.8 kB / 0.8565 GB, free: 3.078 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 1.643e-06/0.09017, allocations: 0 / 0.8565 GB, free: 3.078 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 0.0003217/0.09049, allocations: 244.2 kB / 0.8567 GB, free: 2.832 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.556e-05/0.09058, allocations: 126.7 kB / 0.8568 GB, free: 2.695 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004568/0.09515, allocations: 2.859 MB / 0.8596 GB, free: 15.82 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.573e-05/0.09518, allocations: 33.62 kB / 0.8597 GB, free: 15.79 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001125/0.0963, allocations: 0.8989 MB / 0.8605 GB, free: 14.88 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.907e-06/0.09631, allocations: 0 / 0.8605 GB, free: 14.88 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.096e-05/0.09636, allocations: 13.72 kB / 0.8606 GB, free: 14.86 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002231/0.09658, allocations: 313.9 kB / 0.8609 GB, free: 14.55 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.985e-06/0.09659, allocations: 0 / 0.8609 GB, free: 14.55 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.56e-06/0.09659, allocations: 0 / 0.8609 GB, free: 14.55 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.383e-05/0.09665, allocations: 75.28 kB / 0.8609 GB, free: 14.48 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.956e-05/0.0967, allocations: 75.28 kB / 0.861 GB, free: 14.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0003398/0.09704, allocations: 244.2 kB / 0.8612 GB, free: 14.16 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 7.052e-05/0.09711, allocations: 83.28 kB / 0.8613 GB, free: 14.07 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.335e-05/0.09717, allocations: 83.22 kB / 0.8614 GB, free: 13.99 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001245/0.0973, allocations: 154.6 kB / 0.8615 GB, free: 13.84 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.9e-05/0.09734, allocations: 75.28 kB / 0.8616 GB, free: 13.77 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.812e-05/0.09744, allocations: 162.5 kB / 0.8618 GB, free: 13.61 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005604/0.098, allocations: 91.25 kB / 0.8619 GB, free: 13.52 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.421e-05/0.09806, allocations: 87.16 kB / 0.8619 GB, free: 13.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.001131/0.09919, allocations: 0.9451 MB / 0.8629 GB, free: 12.47 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003085/0.0995, allocations: 323.5 kB / 0.8632 GB, free: 12.15 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004016/0.0999, allocations: 345.1 kB / 0.8635 GB, free: 11.8 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.886e-05/0.1, allocations: 176.3 kB / 0.8637 GB, free: 11.62 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001074/0.1001, allocations: 180.2 kB / 0.8638 GB, free: 11.43 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001117/0.1002, allocations: 184.2 kB / 0.864 GB, free: 11.25 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001233/0.1014, allocations: 1.001 MB / 0.865 GB, free: 10.21 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.91e-05/0.1015, allocations: 109.2 kB / 0.8651 GB, free: 10.09 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.386e-05/0.1016, allocations: 101 kB / 0.8652 GB, free: 9.988 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001883/0.1018, allocations: 176.3 kB / 0.8654 GB, free: 9.809 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001172/0.1019, allocations: 188.2 kB / 0.8655 GB, free: 9.617 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001069/0.102, allocations: 180.2 kB / 0.8657 GB, free: 9.434 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001088/0.1021, allocations: 184.2 kB / 0.8659 GB, free: 9.246 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004304/0.1025, allocations: 0.5184 MB / 0.8664 GB, free: 8.703 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004168/0.1029, allocations: 307.4 kB / 0.8667 GB, free: 8.395 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000259/0.1032, allocations: 176.3 kB / 0.8669 GB, free: 8.215 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005169/0.1037, allocations: 120.9 kB / 0.867 GB, free: 8.09 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/0.1038, allocations: 180.3 kB / 0.8671 GB, free: 7.906 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.905e-05/0.1039, allocations: 101 kB / 0.8672 GB, free: 7.801 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.003121/0.107, allocations: 2.098 MB / 0.8693 GB, free: 5.695 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.107, allocations: 0 / 0.8693 GB, free: 5.695 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0005143/0.1075, allocations: 176 kB / 0.8695 GB, free: 5.523 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.0001982/0.1077, allocations: 174.5 kB / 0.8696 GB, free: 5.34 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 5.616e-05/0.1078, allocations: 11.92 kB / 0.8696 GB, free: 5.328 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1078, allocations: 0 / 0.8696 GB, free: 5.328 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 1.633e-06/0.1078, allocations: 0 / 0.8696 GB, free: 5.328 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006026/0.1138, allocations: 2.345 MB / 0.8719 GB, free: 3.031 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005553/0.1194, allocations: 3.541 MB / 0.8754 GB, free: 15.44 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001517/0.1209, allocations: 1.124 MB / 0.8765 GB, free: 14.28 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.001591/0.1225, allocations: 443.5 kB / 0.8769 GB, free: 13.84 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000191/0.1227, allocations: 112.5 kB / 0.877 GB, free: 13.73 MB / 0.8386 GB Notification: Performance of SimCode: time 1.193e-06/0.1227, allocations: 0 / 0.877 GB, free: 13.73 MB / 0.8386 GB Notification: Performance of Templates: time 0.09675/0.2194, allocations: 54.14 MB / 0.9299 GB, free: 9.086 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=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: 9.26870024506934]