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.001198/0.001198, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001736/0.002934, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001101/0.001101, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001376/0.002477, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.9594/0.9594, allocations: 177.2 MB / 189.6 MB, free: 5.297 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08712/1.046, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.776/1.776, allocations: 378.2 MB / 0.6076 GB, free: 7.84 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5055/2.281, allocations: 123.3 MB / 0.728 GB, free: 5.84 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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 1.843e-06/1.843e-06, allocations: 0 / 0.7293 GB, free: 4.574 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.285e-05/1.47e-05, allocations: 4.844 kB / 0.7293 GB, free: 4.57 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.PumpMultipleRecord): time 0.003527/0.003542, allocations: 3.848 MB / 0.7331 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.006014/0.009556, allocations: 6.489 MB / 0.7394 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002456/0.009802, allocations: 36.56 kB / 0.7394 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.002777/0.01258, allocations: 1.927 MB / 0.7413 GB, free: 8.305 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0006206/0.0132, allocations: 0.6419 MB / 0.7419 GB, free: 7.668 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 1.933e-05/0.01322, allocations: 4 kB / 0.7419 GB, free: 7.664 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.01758/0.0308, allocations: 21.01 MB / 0.7625 GB, free: 2.781 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001645/0.03096, allocations: 54.55 kB / 0.7625 GB, free: 2.711 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001058/0.03202, allocations: 1.05 MB / 0.7635 GB, free: 1.609 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004195/0.03244, allocations: 0.5059 MB / 0.764 GB, free: 1.102 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 4.57e-05/0.03248, allocations: 24 kB / 0.7641 GB, free: 1.078 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001067/0.03259, allocations: 24 kB / 0.7641 GB, free: 1.055 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0004062/0.033, allocations: 0.787 MB / 0.7649 GB, free: 272 kB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0003251/0.03332, allocations: 422.8 kB / 0.7653 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0009472/0.03427, allocations: 1.218 MB / 0.7664 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.557e-05/0.03428, allocations: 0 / 0.7664 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.463e-06/0.03429, allocations: 4 kB / 0.7664 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.245e-05/0.03431, allocations: 4 kB / 0.7665 GB, free: 14.62 MB / 0.7448 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.001641/0.03595, allocations: 2.376 MB / 0.7688 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.03598, allocations: 8.031 kB / 0.7688 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001087/0.03609, allocations: 187.1 kB / 0.769 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001666/0.03776, allocations: 1.963 MB / 0.7709 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.276e-05/0.03779, allocations: 150.6 kB / 0.771 GB, free: 9.816 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.077e-05/0.03782, allocations: 154.5 kB / 0.7712 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.206e-05/0.03786, allocations: 113 kB / 0.7713 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.03788, allocations: 79.27 kB / 0.7713 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.172e-05/0.03791, allocations: 150.6 kB / 0.7715 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.109e-05/0.03794, allocations: 150.6 kB / 0.7716 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.678e-05/0.03798, allocations: 158.5 kB / 0.7718 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002283/0.03821, allocations: 377.2 kB / 0.7721 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.8e-05/0.03827, allocations: 169.2 kB / 0.7723 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.893e-05/0.03828, allocations: 80.14 kB / 0.7724 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.0383, allocations: 79.28 kB / 0.7725 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.03833, allocations: 105.8 kB / 0.7726 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 6.02e-07/0.03833, allocations: 0 / 0.7726 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 0.0001153/0.03845, allocations: 137.5 kB / 0.7727 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/0.03849, allocations: 130.7 kB / 0.7728 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001689/0.04018, allocations: 2.354 MB / 0.7751 GB, free: 5.535 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.343e-06/0.04019, allocations: 25.7 kB / 0.7751 GB, free: 5.504 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002122/0.0404, allocations: 385.6 kB / 0.7755 GB, free: 5.121 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.062e-06/0.0404, allocations: 0 / 0.7755 GB, free: 5.121 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.629e-05/0.04042, allocations: 13.72 kB / 0.7755 GB, free: 5.102 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.474e-05/0.04048, allocations: 313.9 kB / 0.7758 GB, free: 4.789 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.716e-06/0.04048, allocations: 0 / 0.7758 GB, free: 4.789 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.316e-06/0.04049, allocations: 0 / 0.7758 GB, free: 4.789 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.613e-05/0.0405, allocations: 83.22 kB / 0.7759 GB, free: 4.707 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.525e-05/0.04052, allocations: 75.28 kB / 0.776 GB, free: 4.633 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.000103/0.04062, allocations: 141.5 kB / 0.7761 GB, free: 4.488 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.504e-05/0.04065, allocations: 80.84 kB / 0.7762 GB, free: 4.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.073e-05/0.04067, allocations: 83.38 kB / 0.7763 GB, free: 4.328 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.451e-05/0.0407, allocations: 154.5 kB / 0.7764 GB, free: 4.176 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.689e-05/0.04072, allocations: 75.28 kB / 0.7765 GB, free: 4.102 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.181e-05/0.04075, allocations: 158.5 kB / 0.7766 GB, free: 3.945 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002086/0.04096, allocations: 83.22 kB / 0.7767 GB, free: 3.863 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.398e-05/0.04097, allocations: 75.28 kB / 0.7768 GB, free: 3.789 MB / 0.7448 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.0001681/0.04114, allocations: 275.2 kB / 0.777 GB, free: 3.508 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001032/0.04124, allocations: 212.8 kB / 0.7773 GB, free: 3.293 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001656/0.04141, allocations: 273.2 kB / 0.7775 GB, free: 3.012 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.385e-05/0.04144, allocations: 176.3 kB / 0.7777 GB, free: 2.832 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.792e-05/0.04148, allocations: 180.2 kB / 0.7779 GB, free: 2.648 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.741e-05/0.04152, allocations: 180.3 kB / 0.778 GB, free: 2.465 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004224/0.04194, allocations: 0.6926 MB / 0.7787 GB, free: 1.746 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.58e-05/0.04197, allocations: 109 kB / 0.7788 GB, free: 1.633 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.412e-05/0.04199, allocations: 101 kB / 0.7789 GB, free: 1.527 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001731/0.04216, allocations: 287.5 kB / 0.7792 GB, free: 1.238 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-05/0.0422, allocations: 184.3 kB / 0.7793 GB, free: 1.051 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.964e-05/0.04224, allocations: 180.2 kB / 0.7795 GB, free: 0.8672 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.752e-05/0.04228, allocations: 176.3 kB / 0.7797 GB, free: 0.6875 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.267e-05/0.04232, allocations: 192.2 kB / 0.7799 GB, free: 0.4922 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00031/0.04263, allocations: 412.2 kB / 0.7803 GB, free: 68 kB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001323/0.04276, allocations: 180.5 kB / 0.7804 GB, free: 15.88 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002019/0.04297, allocations: 109 kB / 0.7805 GB, free: 15.77 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.277e-05/0.04301, allocations: 188.2 kB / 0.7807 GB, free: 15.58 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.083e-05/0.04303, allocations: 101 kB / 0.7808 GB, free: 15.47 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0008744/0.0439, allocations: 1.261 MB / 0.782 GB, free: 14.2 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.51e-07/0.0439, allocations: 0 / 0.782 GB, free: 14.2 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002615/0.04417, allocations: 176 kB / 0.7822 GB, free: 14.03 MB / 0.7605 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 8.933e-05/0.04425, allocations: 155.7 kB / 0.7824 GB, free: 13.87 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 2.923e-05/0.04428, allocations: 0 / 0.7824 GB, free: 13.87 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-05/0.0443, allocations: 27.98 kB / 0.7824 GB, free: 13.84 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 1.353e-06/0.0443, allocations: 3.938 kB / 0.7824 GB, free: 13.84 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002829/0.04713, allocations: 2.528 MB / 0.7849 GB, free: 11.36 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003801/0.05093, allocations: 2.689 MB / 0.7875 GB, free: 8.617 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003636/0.05129, allocations: 495.7 kB / 0.788 GB, free: 8.105 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0006045/0.0519, allocations: 295.6 kB / 0.7882 GB, free: 7.812 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001702/0.0536, allocations: 1.034 MB / 0.7893 GB, free: 6.746 MB / 0.7605 GB Notification: Performance of SimCode: time 8.11e-07/0.0536, allocations: 0 / 0.7893 GB, free: 6.746 MB / 0.7605 GB Notification: Performance of Templates: time 0.05669/0.1103, allocations: 65.02 MB / 0.8528 GB, free: 7.219 MB / 0.823 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Templates.Components.Validation.PumpMultipleRecord/Buildings_12_Buildings.Templates.Components.Validation.PumpMultipleRecord.ref.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.620179345831275]