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.00186/0.00186, allocations: 83.69 kB / 20.23 MB, free: 4.188 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.002156/0.002156, 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.673/1.673, allocations: 177.1 MB / 203.9 MB, free: 5.613 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.995/2.995, allocations: 377.8 MB / 0.6232 GB, free: 8.531 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 1.794e-06/1.794e-06, allocations: 0 / 0.8108 GB, free: 1.996 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.695e-05/3.874e-05, allocations: 4.562 kB / 0.8108 GB, free: 1.992 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.PumpMultipleRecord): time 0.006789/0.006828, allocations: 3.779 MB / 0.8145 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.01226/0.01909, allocations: 6.353 MB / 0.8207 GB, free: 7.871 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005237/0.01961, allocations: 31.81 kB / 0.8207 GB, free: 7.84 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.006265/0.02587, allocations: 1.954 MB / 0.8226 GB, free: 5.891 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.001543/0.02742, allocations: 0.6226 MB / 0.8232 GB, free: 5.273 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 3.113e-05/0.02745, allocations: 4 kB / 0.8232 GB, free: 5.27 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.03988/0.06733, allocations: 22.73 MB / 0.8454 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002683/0.06759, allocations: 42.62 kB / 0.8455 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001577/0.06917, allocations: 0.7088 MB / 0.8462 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008965/0.07007, allocations: 0.5878 MB / 0.8467 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0001353/0.0702, allocations: 32 kB / 0.8468 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002499/0.07045, allocations: 32 kB / 0.8468 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0008338/0.07129, allocations: 0.8221 MB / 0.8476 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0006734/0.07196, allocations: 470.6 kB / 0.848 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.002434/0.07439, allocations: 1.993 MB / 0.85 GB, free: 9.801 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.0744, allocations: 4 kB / 0.85 GB, free: 9.797 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.334e-06/0.0744, allocations: 0 / 0.85 GB, free: 9.797 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.753e-05/0.07443, allocations: 0 / 0.85 GB, free: 9.797 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.004528/0.07896, allocations: 2.549 MB / 0.8525 GB, free: 7.199 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.079, allocations: 15.97 kB / 0.8525 GB, free: 7.184 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000351/0.07936, allocations: 337.7 kB / 0.8528 GB, free: 6.852 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003872/0.08323, allocations: 2.164 MB / 0.8549 GB, free: 4.617 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001387/0.08337, allocations: 242.4 kB / 0.8552 GB, free: 4.379 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001201/0.08349, allocations: 238.4 kB / 0.8554 GB, free: 4.145 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001154/0.0836, allocations: 144.9 kB / 0.8555 GB, free: 3.996 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.405e-05/0.08367, allocations: 119.2 kB / 0.8556 GB, free: 3.879 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001212/0.08379, allocations: 242.4 kB / 0.8559 GB, free: 3.641 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001312/0.08392, allocations: 242.4 kB / 0.8561 GB, free: 3.402 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001379/0.08406, allocations: 242.3 kB / 0.8563 GB, free: 3.164 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002501/0.08656, allocations: 1.817 MB / 0.8581 GB, free: 1.316 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001864/0.08674, allocations: 269.4 kB / 0.8584 GB, free: 1.039 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.101e-05/0.08682, allocations: 126.9 kB / 0.8585 GB, free: 0.9102 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 6.393e-05/0.08689, allocations: 119.2 kB / 0.8586 GB, free: 0.793 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001136/0.087, allocations: 160.5 kB / 0.8588 GB, free: 0.625 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 1.343e-06/0.087, allocations: 0 / 0.8588 GB, free: 0.625 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 0.0003796/0.08738, allocations: 240.2 kB / 0.859 GB, free: 392 kB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001132/0.0875, allocations: 174.6 kB / 0.8592 GB, free: 204 kB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004967/0.09246, allocations: 2.96 MB / 0.862 GB, free: 13.23 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.391e-05/0.09249, allocations: 25.7 kB / 0.8621 GB, free: 13.2 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001614/0.0941, allocations: 1.266 MB / 0.8633 GB, free: 11.93 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 4.458e-06/0.09411, allocations: 0 / 0.8633 GB, free: 11.93 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.52e-05/0.09415, allocations: 15.38 kB / 0.8633 GB, free: 11.9 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002587/0.09441, allocations: 496.3 kB / 0.8638 GB, free: 11.41 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.031e-06/0.09442, allocations: 0 / 0.8638 GB, free: 11.41 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.971e-06/0.09442, allocations: 0 / 0.8638 GB, free: 11.41 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.286e-05/0.09448, allocations: 123.2 kB / 0.8639 GB, free: 11.29 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-05/0.09455, allocations: 123.1 kB / 0.864 GB, free: 11.17 MB / 0.823 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.000417/0.09496, allocations: 244.2 kB / 0.8643 GB, free: 10.92 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 8.618e-05/0.09505, allocations: 127.2 kB / 0.8644 GB, free: 10.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.442e-05/0.09512, allocations: 127.2 kB / 0.8645 GB, free: 10.67 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001501/0.09527, allocations: 242.3 kB / 0.8647 GB, free: 10.43 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.043e-05/0.09533, allocations: 123.2 kB / 0.8649 GB, free: 10.31 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001301/0.09546, allocations: 246.3 kB / 0.8651 GB, free: 10.07 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006699/0.09613, allocations: 127.2 kB / 0.8652 GB, free: 9.945 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.341e-05/0.0962, allocations: 127.1 kB / 0.8653 GB, free: 9.82 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.0005379/0.09673, allocations: 0.5028 MB / 0.8658 GB, free: 9.305 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003354/0.09707, allocations: 367.4 kB / 0.8662 GB, free: 8.938 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003293/0.0974, allocations: 313.1 kB / 0.8665 GB, free: 8.617 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001393/0.09754, allocations: 272.2 kB / 0.8667 GB, free: 8.344 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001364/0.09768, allocations: 272.1 kB / 0.867 GB, free: 8.07 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001392/0.09781, allocations: 264.1 kB / 0.8672 GB, free: 7.805 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002449/0.1003, allocations: 1.748 MB / 0.8689 GB, free: 6.016 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.628e-05/0.1003, allocations: 144.9 kB / 0.8691 GB, free: 5.867 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.248e-05/0.1004, allocations: 152.8 kB / 0.8692 GB, free: 5.711 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001396/0.1006, allocations: 264.1 kB / 0.8695 GB, free: 5.445 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001404/0.1007, allocations: 268.1 kB / 0.8697 GB, free: 5.176 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001419/0.1008, allocations: 276 kB / 0.87 GB, free: 4.898 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001286/0.101, allocations: 264.1 kB / 0.8703 GB, free: 4.633 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005497/0.1015, allocations: 0.6601 MB / 0.8709 GB, free: 3.945 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005388/0.1021, allocations: 343.3 kB / 0.8712 GB, free: 3.602 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003124/0.1024, allocations: 268.1 kB / 0.8715 GB, free: 3.332 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004964/0.1029, allocations: 152.9 kB / 0.8716 GB, free: 3.176 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001544/0.103, allocations: 268 kB / 0.8719 GB, free: 2.906 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.518e-05/0.1031, allocations: 148.9 kB / 0.872 GB, free: 2.754 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.002903/0.106, allocations: 1.603 MB / 0.8736 GB, free: 1.145 MB / 0.823 GB Notification: Performance of sort global known variables: time 1e-07/0.106, allocations: 4 kB / 0.8736 GB, free: 1.141 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0005424/0.1065, allocations: 176 kB / 0.8738 GB, free: 0.9688 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.000233/0.1068, allocations: 222.4 kB / 0.874 GB, free: 0.7383 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 6.655e-05/0.1068, allocations: 11.81 kB / 0.874 GB, free: 0.7266 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1068, allocations: 0 / 0.874 GB, free: 0.7266 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 2.034e-06/0.1068, allocations: 0 / 0.874 GB, free: 0.7266 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006965/0.1138, allocations: 2.619 MB / 0.8765 GB, free: 14.16 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004914/0.1187, allocations: 2.84 MB / 0.8793 GB, free: 11.26 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001348/0.1201, allocations: 0.9913 MB / 0.8803 GB, free: 10.23 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.001493/0.1216, allocations: 319.5 kB / 0.8806 GB, free: 9.918 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000183/0.1218, allocations: 112.5 kB / 0.8807 GB, free: 9.809 MB / 0.8386 GB Notification: Performance of SimCode: time 2.264e-06/0.1218, allocations: 0 / 0.8807 GB, free: 9.809 MB / 0.8386 GB Notification: Performance of Templates: time 0.09647/0.2182, allocations: 53.44 MB / 0.9329 GB, free: 5.855 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","/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.701173732057214]