Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.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.002157/0.002157, allocations: 80.28 kB / 19.18 MB, free: 2.531 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.002618/0.002618, allocations: 164.6 kB / 22.46 MB, free: 5.359 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.57/1.57, allocations: 177.1 MB / 202.8 MB, free: 9.195 MB / 190.1 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.99/2.99, allocations: 377.8 MB / 0.6221 GB, free: 12.61 MB / 0.5919 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.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senSpeEnt.H_flow|senMasFra.X|cheMasFra.y|cheMasFlo.y|cheSpeEnt.y",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance") translateModel(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senSpeEnt.H_flow|senMasFra.X|cheMasFra.y|cheMasFlo.y|cheSpeEnt.y",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.324e-06/2.324e-06, allocations: 0 / 0.9815 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.249e-05/3.482e-05, allocations: 2.281 kB / 0.9815 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 1.019/1.019, allocations: 197.1 MB / 1.174 GB, free: 45.11 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01687/1.036, allocations: 11.36 MB / 1.185 GB, free: 44.9 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003284/1.039, allocations: 101.6 kB / 1.185 GB, free: 44.9 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002636/1.042, allocations: 0.8473 MB / 1.186 GB, free: 44.88 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.01012/1.052, allocations: 3.058 MB / 1.189 GB, free: 44.42 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.004932/1.057, allocations: 1.521 MB / 1.19 GB, free: 44.36 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.008845/1.066, allocations: 4.563 MB / 1.195 GB, free: 43.6 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003137/1.069, allocations: 1.362 MB / 1.196 GB, free: 43.43 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01167/1.08, allocations: 3.368 MB / 1.199 GB, free: 43.1 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005001/1.085, allocations: 1.427 MB / 1.201 GB, free: 42.96 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0006667/1.086, allocations: 181.5 kB / 1.201 GB, free: 42.96 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006467/1.093, allocations: 1.812 MB / 1.203 GB, free: 42.77 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.001792/1.094, allocations: 0.7641 MB / 1.204 GB, free: 42.66 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.00346/1.098, allocations: 0.7427 MB / 1.204 GB, free: 42.58 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01368/1.111, allocations: 3.401 MB / 1.208 GB, free: 41.73 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 9.638e-06/1.111, allocations: 0.75 kB / 1.208 GB, free: 41.73 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.324e-06/1.111, allocations: 0.8125 kB / 1.208 GB, free: 41.73 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001247/1.112, allocations: 1.125 kB / 1.208 GB, free: 41.73 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.006455/1.118, allocations: 2.235 MB / 1.21 GB, free: 40.4 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/1.118, allocations: 9.875 kB / 1.21 GB, free: 40.4 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003669/1.122, allocations: 0.5078 MB / 1.21 GB, free: 40.27 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003179/1.125, allocations: 1.261 MB / 1.212 GB, free: 39.64 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.988e-05/1.125, allocations: 111.2 kB / 1.212 GB, free: 39.59 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000284/1.125, allocations: 150.6 kB / 1.212 GB, free: 39.54 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003491/1.129, allocations: 2.15 MB / 1.214 GB, free: 38.24 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.078e-05/1.129, allocations: 5.375 kB / 1.214 GB, free: 38.24 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000164/1.129, allocations: 67.64 kB / 1.214 GB, free: 38.2 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.38e-05/1.129, allocations: 55 kB / 1.214 GB, free: 38.19 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002758/1.132, allocations: 1.421 MB / 1.215 GB, free: 37.72 MB / 1.076 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009366/1.141, allocations: 5.665 MB / 1.221 GB, free: 34.02 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001858/1.143, allocations: 1.006 MB / 1.222 GB, free: 33.55 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001036/1.144, allocations: 0.6632 MB / 1.223 GB, free: 33.27 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002104/1.144, allocations: 37.55 kB / 1.223 GB, free: 33.27 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.466e-05/1.144, allocations: 52.45 kB / 1.223 GB, free: 33.22 MB / 1.076 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001762/1.146, allocations: 319.3 kB / 1.223 GB, free: 33.11 MB / 1.076 GB Notification: Performance of pre-optimization done (n=106): time 4.819e-06/1.146, allocations: 3.969 kB / 1.223 GB, free: 33.11 MB / 1.076 GB Notification: Performance of matching and sorting (n=112): time 0.009488/1.156, allocations: 4.373 MB / 1.227 GB, free: 30.82 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.596e-05/1.156, allocations: 170 kB / 1.227 GB, free: 30.63 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001579/1.157, allocations: 1.004 MB / 1.228 GB, free: 30.23 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001391/1.157, allocations: 53.48 kB / 1.228 GB, free: 30.18 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005306/1.158, allocations: 0.7358 MB / 1.229 GB, free: 29.6 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003793/1.158, allocations: 415.7 kB / 1.23 GB, free: 29.27 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004231/1.159, allocations: 247.3 kB / 1.23 GB, free: 29.16 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001044/1.159, allocations: 359 kB / 1.23 GB, free: 28.84 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008925/1.16, allocations: 0.5142 MB / 1.231 GB, free: 28.65 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00121/1.161, allocations: 1.014 MB / 1.232 GB, free: 27.89 MB / 1.076 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol1.dynBal.medium.p = vol1.dynBal.p_start (sin.p = vol1.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol2.dynBal.medium.p = vol2.dynBal.p_start (sin.p = vol2.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.012/1.173, allocations: 4.495 MB / 1.236 GB, free: 26.24 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-05/1.173, allocations: 6.625 kB / 1.236 GB, free: 26.23 MB / 1.076 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003209/1.176, allocations: 1.572 MB / 1.238 GB, free: 25.64 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.286e-05/1.176, allocations: 16.22 kB / 1.238 GB, free: 25.63 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/1.176, allocations: 12.25 kB / 1.238 GB, free: 25.63 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.104e-05/1.176, allocations: 14.28 kB / 1.238 GB, free: 25.63 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001245/1.178, allocations: 279 kB / 1.238 GB, free: 25.62 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.144e-05/1.178, allocations: 23.05 kB / 1.238 GB, free: 25.62 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001696/1.179, allocations: 47.55 kB / 1.238 GB, free: 25.6 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001242/1.179, allocations: 60.53 kB / 1.238 GB, free: 25.59 MB / 1.076 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start vol1.dynBal.medium.p = vol1.dynBal.p_start vol2.dynBal.medium.p = vol2.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 6 (intMasVapOut.local_reset,intEntIn.local_reset,intEntOut.local_reset,intMasFloIn.local_reset,intMasFloOut.local_reset,intMasFloVapIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (163): * Single equations (assignments): 163 * 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.00102/1.18, allocations: 430.3 kB / 1.238 GB, free: 25.33 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003828/1.181, allocations: 151.7 kB / 1.239 GB, free: 25.25 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002185/1.183, allocations: 1.276 MB / 1.24 GB, free: 24.71 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.308e-05/1.183, allocations: 10.84 kB / 1.24 GB, free: 24.71 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/1.183, allocations: 2.688 kB / 1.24 GB, free: 24.71 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001546/1.185, allocations: 1.242 MB / 1.241 GB, free: 24 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006093/1.191, allocations: 3.346 MB / 1.244 GB, free: 22.22 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.637e-05/1.191, allocations: 11.16 kB / 1.244 GB, free: 22.22 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001106/1.192, allocations: 245.7 kB / 1.245 GB, free: 22.21 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.109e-05/1.192, allocations: 13.22 kB / 1.245 GB, free: 22.21 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.714e-05/1.192, allocations: 43.7 kB / 1.245 GB, free: 22.19 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.693e-05/1.192, allocations: 21.3 kB / 1.245 GB, free: 22.19 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-05/1.192, allocations: 15.34 kB / 1.245 GB, free: 22.19 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002768/1.195, allocations: 2.097 MB / 1.247 GB, free: 21 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008419/1.196, allocations: 259.1 kB / 1.247 GB, free: 20.86 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001905/1.196, allocations: 40.22 kB / 1.247 GB, free: 20.84 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001104/1.197, allocations: 38.94 kB / 1.247 GB, free: 20.83 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001606/1.197, allocations: 107.2 kB / 1.247 GB, free: 20.8 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-05/1.197, allocations: 57.09 kB / 1.247 GB, free: 20.8 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.000924/1.198, allocations: 0.6583 MB / 1.248 GB, free: 20.53 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.198, allocations: 0 / 1.248 GB, free: 20.53 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001995/1.2, allocations: 426.6 kB / 1.248 GB, free: 20.49 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * Number of states: 12 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol2.dynBal.medium.Xi[1],vol2.dynBal.U,intMasFloVapIn.y,intMasFloOut.y,intMasFloIn.y,intEntOut.y,intEntIn.y,intMasVapOut.y) * 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 (115): * Single equations (assignments): 115 * 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.0004995/1.2, allocations: 229.6 kB / 1.248 GB, free: 20.35 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002051/1.203, allocations: 1.174 MB / 1.25 GB, free: 19.99 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-05/1.203, allocations: 3.094 kB / 1.25 GB, free: 19.99 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0007052/1.203, allocations: 0.5278 MB / 1.25 GB, free: 19.85 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003857/1.207, allocations: 0.7823 MB / 1.251 GB, free: 19.61 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005314/1.212, allocations: 3.225 MB / 1.254 GB, free: 17.74 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008019/1.213, allocations: 0.7997 MB / 1.255 GB, free: 17.53 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001571/1.215, allocations: 348 kB / 1.255 GB, free: 17.46 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004269/1.215, allocations: 116.9 kB / 1.255 GB, free: 17.45 MB / 1.076 GB Notification: Performance of SimCode: time 1.162e-06/1.215, allocations: 0 / 1.255 GB, free: 17.45 MB / 1.076 GB Notification: Performance of Templates: time 0.04836/1.264, allocations: 27.41 MB / 1.282 GB, free: 9.855 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.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: 10.828553415834904]