Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.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.001164/0.001164, 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.001455/0.001455, allocations: 211.8 kB / 23.01 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.385/1.385, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] 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 3.008/3.008, allocations: 0.49 GB / 0.7958 GB, free: 35.49 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.MixingVolumes.Validation.MixingVolumeSteadyStateMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.dynBal.m|vol.T|sou.ports.1..m_flow|vol.ports.2..m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.dynBal.m|vol.T|sou.ports.1..m_flow|vol.ports.2..m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.018e-05/2.018e-05, allocations: 2.281 kB / 1.155 GB, free: 25.17 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass): time 0.204/0.204, allocations: 156.5 MB / 1.308 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.007486/0.2115, allocations: 4.128 MB / 1.312 GB, free: 296 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009208/0.2124, allocations: 39.62 kB / 1.312 GB, free: 256 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001063/0.2135, allocations: 349.9 kB / 1.312 GB, free: 15.91 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003335/0.2168, allocations: 1.302 MB / 1.313 GB, free: 14.6 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001874/0.2187, allocations: 0.7136 MB / 1.314 GB, free: 13.89 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002578/0.2213, allocations: 2.027 MB / 1.316 GB, free: 11.86 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007854/0.2221, allocations: 0.5139 MB / 1.317 GB, free: 11.34 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002068/0.2242, allocations: 1.11 MB / 1.318 GB, free: 10.23 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001254/0.2254, allocations: 0.5557 MB / 1.318 GB, free: 9.672 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 9.386e-05/0.2255, allocations: 52 kB / 1.318 GB, free: 9.621 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002003/0.2275, allocations: 1.017 MB / 1.319 GB, free: 8.602 MB / 1.014 GB Notification: Performance of combineBinaries: time 0.001348/0.2288, allocations: 1.437 MB / 1.321 GB, free: 7.152 MB / 1.014 GB Notification: Performance of replaceArrayConstructors: time 0.0006987/0.2295, allocations: 0.9047 MB / 1.322 GB, free: 6.238 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001293/0.2297, allocations: 60 kB / 1.322 GB, free: 6.18 MB / 1.014 GB Notification: Performance of FrontEnd: time 0.0001738/0.2299, allocations: 19.88 kB / 1.322 GB, free: 6.16 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 (96) * Number of variables: 104 (90) Notification: Performance of [SIM] Bindings: time 0.003561/0.2334, allocations: 3.44 MB / 1.325 GB, free: 2.574 MB / 1.014 GB Notification: Performance of [SIM] FunctionAlias: time 0.0003832/0.2338, allocations: 332.7 kB / 1.325 GB, free: 2.234 MB / 1.014 GB Notification: Performance of [SIM] Early Inline: time 0.001577/0.2354, allocations: 1.514 MB / 1.327 GB, free: 0.6914 MB / 1.014 GB Notification: Performance of [SIM] Simplify 1: time 0.0004592/0.2358, allocations: 308.1 kB / 1.327 GB, free: 348 kB / 1.014 GB Warning: NBAlias.setStartFixed: Alias set with conflicting unfixed start values detected. Use -d=dumprepl for more information. Notification: Performance of [SIM] Alias: time 0.003178/0.239, allocations: 2.108 MB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of [SIM] Simplify 2: time 0.0003496/0.2394, allocations: 244.4 kB / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of [SIM] Remove Stream: time 0.0001845/0.2395, allocations: 154.9 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of [SIM] Detect States: time 0.0003922/0.2399, allocations: 328.8 kB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of [SIM] Events: time 0.0001417/0.2401, allocations: 75.81 kB / 1.33 GB, free: 13.08 MB / 1.029 GB Notification: Performance of [SIM] Partitioning: time 0.0004869/0.2406, allocations: 429.4 kB / 1.33 GB, free: 12.66 MB / 1.029 GB Notification: Performance of [SIM] Causalize: time 0.001392/0.242, allocations: 1.038 MB / 1.331 GB, free: 11.61 MB / 1.029 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0008284/0.2428, allocations: 0.8819 MB / 1.332 GB, free: 10.72 MB / 1.029 GB Notification: Performance of [INI] Simplify: time 0.001388/0.2442, allocations: 0.8068 MB / 1.333 GB, free: 9.844 MB / 1.029 GB Notification: Performance of [INI] Inline: time 0.001658/0.2458, allocations: 1.659 MB / 1.335 GB, free: 8.184 MB / 1.029 GB Notification: Performance of [INI] Partitioning: time 7.069e-05/0.2459, allocations: 43.95 kB / 1.335 GB, free: 8.129 MB / 1.029 GB Notification: Performance of [INI] Cleanup: time 0.0003146/0.2462, allocations: 343.6 kB / 1.335 GB, free: 7.793 MB / 1.029 GB Notification: Performance of [INI] Causalize: time 0.004202/0.2504, allocations: 3.114 MB / 1.338 GB, free: 4.652 MB / 1.029 GB Notification: Performance of [INI] Tearing: time 6.777e-05/0.2505, allocations: 92 kB / 1.338 GB, free: 4.562 MB / 1.029 GB Notification: Performance of [SIM] Initialization: time 6.11e-07/0.2505, allocations: 0 / 1.338 GB, free: 4.562 MB / 1.029 GB Notification: Performance of [SIM] Remove Dummies: time 9.969e-06/0.2505, allocations: 0.6562 kB / 1.338 GB, free: 4.562 MB / 1.029 GB Notification: Performance of [SIM] Tearing: time 9.534e-05/0.2506, allocations: 60.41 kB / 1.338 GB, free: 4.504 MB / 1.029 GB Notification: Performance of [SIM] Categorize: time 1.035e-05/0.2506, allocations: 4 kB / 1.338 GB, free: 4.5 MB / 1.029 GB Notification: Performance of [SIM] Solve: time 0.001203/0.2518, allocations: 0.7515 MB / 1.339 GB, free: 3.746 MB / 1.029 GB Notification: Performance of [SIM] Jacobian: time 0.0009321/0.2527, allocations: 0.8146 MB / 1.34 GB, free: 2.844 MB / 1.029 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 0 * 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: ............................. 2 (2) {vol.U, vol.Xi} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 3 (3) {$SEV_0, $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: ........... 60 (scalar:55, array:5, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 2 (resizable: 2, 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: ........... 84 (scalar:73, array:11, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:1) * Number of for-loop strong components: ......... 2 (resizable: 2, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 84 (scalar:73, array:11, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:1) * Number of for-loop strong components: ......... 2 (resizable: 2, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 7.996e-05/0.2528, allocations: 67.7 kB / 1.34 GB, free: 2.785 MB / 1.029 GB Notification: Performance of SimCode: time 0.006524/0.2593, allocations: 4.072 MB / 1.344 GB, free: 14.65 MB / 1.045 GB Notification: Performance of Templates: time 0.01753/0.2769, allocations: 8.98 MB / 1.353 GB, free: 5.719 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,vol.dynBal.m,vol.T,sou.ports[1].m_flow,vol.ports[2].m_flow Variables in the result:bou.T,bou.T_in_internal,bou.X[1],bou.X[2],bou.X_in_internal[1],bou.X_in_internal[2],bou.Xi_in_internal[1],bou.flowDirection,bou.nPorts,bou.p,bou.p_in_internal,bou.use_C_in,bou.use_T_in,bou.use_X_in,bou.use_Xi_in,bou.use_p_in,bou.verifyInputs,gain.k,ramp.duration,ramp.height,ramp.offset,ramp.startTime,res._dp_start,res._m_flow_start,res.allowFlowReversal,res.coeff,res.computeFlowResistance,res.deltaM,res.disableComputeFlowResistance_internal,res.dp_nominal,res.dp_nominal_pos,res.eta_default,res.from_dp,res.k,res.linearized,res.m_flow_nominal,res.m_flow_nominal_pos,res.m_flow_small,res.m_flow_turbulent,res.sta_default.T,res.sta_default.X[1],res.sta_default.X[2],res.sta_default.p,sou.T,sou.T_in_internal,sou.X[1],sou.X[2],sou.X_in_internal[1],sou.X_in_internal[2],sou.Xi_in_internal[1],sou.flowDirection,sou.m_flow,sou.nPorts,sou.ports[1].m_flow,sou.use_C_in,sou.use_T_in,sou.use_X_in,sou.use_Xi_in,sou.use_m_flow_in,sou.verifyInputs,time,vol.T,vol.T_start,vol.V,vol.X_start[1],vol.X_start[2],vol.allowFlowReversal,vol.dynBal.CSen,vol.dynBal.Q_flow,vol.dynBal.T_start,vol.dynBal.X_start[1],vol.dynBal.X_start[2],vol.dynBal.computeCSen,vol.dynBal.cp_default,vol.dynBal.energyDynamics,vol.dynBal.fluidVolume,vol.dynBal.hStart,vol.dynBal.m,vol.dynBal.mSenFac,vol.dynBal.mWat_flow_internal,vol.dynBal.massDynamics,vol.dynBal.mb_flow,vol.dynBal.medium.preferredMediumStates,vol.dynBal.medium.standardOrderComponents,vol.dynBal.nPorts,vol.dynBal.p_start,vol.dynBal.rho_default,vol.dynBal.rho_start,vol.dynBal.s[1],vol.dynBal.state_default.T,vol.dynBal.state_default.X[1],vol.dynBal.state_default.X[2],vol.dynBal.state_default.p,vol.dynBal.substanceDynamics,vol.dynBal.traceDynamics,vol.dynBal.use_C_flow,vol.dynBal.use_mWat_flow,vol.dynBal.wrongEnergyMassBalanceConfiguration,vol.energyDynamics,vol.heaFloSen.Q_flow,vol.heaFloSen.port_a.Q_flow,vol.heaFloSen.port_b.Q_flow,vol.heatPort.Q_flow,vol.m,vol.mSenFac,vol.m_flow_nominal,vol.m_flow_small,vol.massDynamics,vol.nPorts,vol.p_start,vol.ports[2].m_flow,vol.preTem.port.Q_flow,vol.rho_default,vol.rho_start,vol.state_default.T,vol.state_default.X[1],vol.state_default.X[2],vol.state_default.p,vol.state_start.T,vol.state_start.X[1],vol.state_start.X[2],vol.state_start.p,vol.substanceDynamics,vol.traceDynamics,vol.useSteadyStateTwoPort,vol.use_C_flow,vol.wrongEnergyMassBalanceConfiguration [Calling sys.exit(0), Time elapsed: 8.500889770220965]