Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.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.001278/0.001278, allocations: 104.3 kB / 19.72 MB, free: 2.145 MB / 14.72 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.001552/0.001552, allocations: 210.4 kB / 23 MB, free: 4.965 MB / 14.72 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.267/1.267, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.723/2.723, allocations: 0.49 GB / 0.7958 GB, free: 35.52 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|valInd.m_flow|valIndDpFix.m_flow|valIndFromMflow.m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|valInd.m_flow|valIndDpFix.m_flow|valIndFromMflow.m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.052e-05/1.052e-05, allocations: 2.281 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.0137/0.01371, allocations: 17.96 MB / 1.173 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.005238/0.01895, allocations: 4.71 MB / 1.177 GB, free: 9.953 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003832/0.01933, allocations: 31.97 kB / 1.177 GB, free: 9.934 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0005406/0.01987, allocations: 265.9 kB / 1.177 GB, free: 9.773 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001392/0.02126, allocations: 0.7998 MB / 1.178 GB, free: 9.305 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001592/0.02286, allocations: 0.8919 MB / 1.179 GB, free: 8.863 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.00148/0.02434, allocations: 1.944 MB / 1.181 GB, free: 7.973 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006636/0.025, allocations: 0.6068 MB / 1.182 GB, free: 7.703 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001022/0.02602, allocations: 0.8814 MB / 1.182 GB, free: 7.332 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004926/0.02651, allocations: 0.5131 MB / 1.183 GB, free: 7.109 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 8.304e-05/0.0266, allocations: 56.5 kB / 1.183 GB, free: 7.105 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007876/0.02738, allocations: 0.5599 MB / 1.184 GB, free: 6.941 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0008066/0.02819, allocations: 1.492 MB / 1.185 GB, free: 5.98 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 0.0003563/0.02855, allocations: 0.9271 MB / 1.186 GB, free: 5.352 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 9.091e-05/0.02864, allocations: 64.75 kB / 1.186 GB, free: 5.352 MB / 0.9044 GB Notification: Performance of FrontEnd: time 6.008e-05/0.0287, allocations: 29.14 kB / 1.186 GB, free: 5.34 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 (105) * Number of variables: 113 (101) Notification: Performance of [SIM] Bindings: time 0.002139/0.03084, allocations: 3.27 MB / 1.189 GB, free: 3.16 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 0.0003637/0.0312, allocations: 445.6 kB / 1.19 GB, free: 2.914 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.006177/0.03738, allocations: 7.861 MB / 1.197 GB, free: 15.5 MB / 0.92 GB Notification: Performance of [SIM] Simplify 1: time 0.002862/0.04024, allocations: 2.641 MB / 1.2 GB, free: 14.33 MB / 0.92 GB Notification: Performance of [SIM] Alias: time 0.004314/0.04455, allocations: 3.661 MB / 1.203 GB, free: 12.2 MB / 0.92 GB Notification: Performance of [SIM] Simplify 2: time 0.002338/0.04689, allocations: 2.265 MB / 1.206 GB, free: 11.14 MB / 0.92 GB Notification: Performance of [SIM] Remove Stream: time 0.0004144/0.04731, allocations: 402.7 kB / 1.206 GB, free: 10.92 MB / 0.92 GB Notification: Performance of [SIM] Detect States: time 0.0009541/0.04826, allocations: 1.05 MB / 1.207 GB, free: 10.36 MB / 0.92 GB Notification: Performance of [SIM] Events: time 0.0001525/0.04841, allocations: 88.81 kB / 1.207 GB, free: 10.31 MB / 0.92 GB Notification: Performance of [SIM] Partitioning: time 0.001653/0.05007, allocations: 1.696 MB / 1.209 GB, free: 9.688 MB / 0.92 GB Notification: Performance of [SIM] Causalize: time 0.002128/0.05219, allocations: 1.537 MB / 1.21 GB, free: 9.305 MB / 0.92 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.003374/0.05557, allocations: 3.714 MB / 1.214 GB, free: 7.652 MB / 0.92 GB Notification: Performance of [INI] Simplify: time 0.003759/0.05933, allocations: 3.145 MB / 1.217 GB, free: 6.133 MB / 0.92 GB Notification: Performance of [INI] Inline: time 0.005567/0.06489, allocations: 6.595 MB / 1.223 GB, free: 1.543 MB / 0.92 GB Notification: Performance of [INI] Partitioning: time 8.663e-05/0.06498, allocations: 42.12 kB / 1.223 GB, free: 1.516 MB / 0.92 GB Notification: Performance of [INI] Cleanup: time 0.001075/0.06606, allocations: 1.349 MB / 1.225 GB, free: 432 kB / 0.92 GB Notification: Performance of [INI] Causalize: time 0.006318/0.07237, allocations: 4.82 MB / 1.23 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of [INI] Tearing: time 0.001231/0.0736, allocations: 1.452 MB / 1.231 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of [SIM] Initialization: time 1.082e-06/0.07361, allocations: 0 / 1.231 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of [SIM] Remove Dummies: time 8.526e-06/0.07361, allocations: 1.875 kB / 1.231 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of [SIM] Tearing: time 0.001185/0.0748, allocations: 1.367 MB / 1.232 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of [SIM] Categorize: time 1.608e-05/0.07482, allocations: 6.844 kB / 1.232 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of [SIM] Solve: time 0.007126/0.08194, allocations: 7.245 MB / 1.239 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of [SIM] Jacobian: time 0.008/0.08994, allocations: 9.109 MB / 1.248 GB, free: 1.449 MB / 0.9356 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 2 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 1 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 1 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 5 (5) {$SEV_0, $TEV_3, $TEV_2, $TEV_1, $TEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 51 (scalar:51, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 4 (resizable: 4, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 103 (scalar:101, array:2, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 4 (resizable: 4, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 108 (scalar:106, array:2, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 4 (resizable: 4, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 9.187e-05/0.09003, allocations: 60.89 kB / 1.248 GB, free: 1.395 MB / 0.9356 GB Notification: Performance of SimCode: time 0.005565/0.0956, allocations: 4.533 MB / 1.253 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of Templates: time 0.02536/0.121, allocations: 19.05 MB / 1.271 GB, free: 9.668 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,valInd.m_flow,valIndDpFix.m_flow,valIndFromMflow.m_flow Variables in the result:dp.duration,dp.height,dp.offset,dp.startTime,sin.T,sin.T_in_internal,sin.X[1],sin.X_in_internal[1],sin.flowDirection,sin.h_internal,sin.nPorts,sin.p,sin.p_in_internal,sin.use_C_in,sin.use_T_in,sin.use_X_in,sin.use_Xi_in,sin.use_p_in,sin.verifyInputs,sou.T,sou.T_in_internal,sou.X[1],sou.X_in_internal[1],sou.flowDirection,sou.h_internal,sou.nPorts,sou.p,sou.use_C_in,sou.use_T_in,sou.use_X_in,sou.use_Xi_in,sou.use_p_in,sou.verifyInputs,time,valInd.Av,valInd.Cv,valInd.CvData,valInd.Kv,valInd.Kv_SI,valInd._dp_start,valInd._m_flow_start,valInd.allowFlowReversal,valInd.casePreInd,valInd.coeff1,valInd.coeff2,valInd.deltaM,valInd.deltax,valInd.dpFixed_nominal,valInd.dpValve_nominal,valInd.dp_nominal,valInd.dp_nominal_pos,valInd.dp_smooth,valInd.dp_y1,valInd.dp_y2,valInd.eta_default,valInd.from_dp,valInd.init,valInd.k,valInd.kFixed,valInd.kVal,valInd.l,valInd.l2,valInd.linearized,valInd.m_flow,valInd.m_flow_nominal,valInd.m_flow_nominal_pos,valInd.m_flow_small,valInd.m_flow_turbulent,valInd.m_flow_x,valInd.m_flow_x1,valInd.m_flow_x2,valInd.rhoStd,valInd.sta_default.T,valInd.sta_default.p,valInd.strokeTime,valInd.use_strokeTime,valInd.y_start,valIndDpFix.Av,valIndDpFix.Cv,valIndDpFix.CvData,valIndDpFix.Kv,valIndDpFix.Kv_SI,valIndDpFix._dp_start,valIndDpFix._m_flow_start,valIndDpFix.allowFlowReversal,valIndDpFix.casePreInd,valIndDpFix.coeff1,valIndDpFix.coeff2,valIndDpFix.deltaM,valIndDpFix.deltax,valIndDpFix.dpFixed_nominal,valIndDpFix.dpValve_nominal,valIndDpFix.dp_nominal,valIndDpFix.dp_nominal_pos,valIndDpFix.dp_smooth,valIndDpFix.dp_y1,valIndDpFix.dp_y2,valIndDpFix.eta_default,valIndDpFix.from_dp,valIndDpFix.init,valIndDpFix.kFixed,valIndDpFix.kVal,valIndDpFix.l,valIndDpFix.l2,valIndDpFix.linearized,valIndDpFix.m_flow,valIndDpFix.m_flow_nominal,valIndDpFix.m_flow_nominal_pos,valIndDpFix.m_flow_small,valIndDpFix.m_flow_turbulent,valIndDpFix.m_flow_x,valIndDpFix.m_flow_x1,valIndDpFix.m_flow_x2,valIndDpFix.rhoStd,valIndDpFix.sta_default.T,valIndDpFix.sta_default.p,valIndDpFix.strokeTime,valIndDpFix.use_strokeTime,valIndDpFix.y_start,valIndFromMflow.Av,valIndFromMflow.Cv,valIndFromMflow.CvData,valIndFromMflow.Kv,valIndFromMflow.Kv_SI,valIndFromMflow._dp_start,valIndFromMflow._m_flow_start,valIndFromMflow.allowFlowReversal,valIndFromMflow.casePreInd,valIndFromMflow.coeff1,valIndFromMflow.coeff2,valIndFromMflow.deltaM,valIndFromMflow.deltax,valIndFromMflow.dpFixed_nominal,valIndFromMflow.dpValve_nominal,valIndFromMflow.dp_nominal,valIndFromMflow.dp_nominal_pos,valIndFromMflow.dp_x,valIndFromMflow.dp_x1,valIndFromMflow.dp_x2,valIndFromMflow.eta_default,valIndFromMflow.from_dp,valIndFromMflow.init,valIndFromMflow.k,valIndFromMflow.kFixed,valIndFromMflow.kVal,valIndFromMflow.l,valIndFromMflow.l2,valIndFromMflow.linearized,valIndFromMflow.m_flow,valIndFromMflow.m_flow_nominal,valIndFromMflow.m_flow_nominal_pos,valIndFromMflow.m_flow_small,valIndFromMflow.m_flow_smooth,valIndFromMflow.m_flow_turbulent,valIndFromMflow.m_flow_y1,valIndFromMflow.m_flow_y2,valIndFromMflow.rhoStd,valIndFromMflow.sta_default.T,valIndFromMflow.sta_default.p,valIndFromMflow.strokeTime,valIndFromMflow.use_strokeTime,valIndFromMflow.y_start,y.duration,y.height,y.offset,y.startTime [Calling sys.exit(0), Time elapsed: 8.100736628752202]