Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senMasFlo.m_flow|senSpeEnt.H_flow|senMasFra.X|cheMasFra.y|cheMasFlo.y|cheSpeEnt.y",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance") translateModel(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senMasFlo.m_flow|senSpeEnt.H_flow|senMasFra.X|cheMasFra.y|cheMasFlo.y|cheSpeEnt.y",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 108 kB / 16.36 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 189.4 kB / 17.29 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.569/2.569, allocations: 437.1 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 72.14 kB / 0.8707 GB, free: 1.445 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/0.2863, allocations: 151.6 MB / 1.019 GB, free: 9.859 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.7186/1.005, allocations: 222.6 MB / 1.236 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01645/1.021, allocations: 12.12 MB / 1.248 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002265/1.024, allocations: 71.56 kB / 1.248 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.002086/1.026, allocations: 0.8538 MB / 1.249 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.006442/1.032, allocations: 2.876 MB / 1.252 GB, free: 10.24 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003137/1.035, allocations: 1.426 MB / 1.253 GB, free: 8.82 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.005117/1.041, allocations: 4.454 MB / 1.257 GB, free: 4.355 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002089/1.043, allocations: 1.707 MB / 1.259 GB, free: 2.613 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005401/1.048, allocations: 2.474 MB / 1.262 GB, free: 144 kB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002927/1.051, allocations: 1.55 MB / 1.263 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0003039/1.051, allocations: 180 kB / 1.263 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004654/1.056, allocations: 2.167 MB / 1.265 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0006784/1.057, allocations: 0.7051 MB / 1.266 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001217/1.058, allocations: 1.054 MB / 1.267 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.004888/1.063, allocations: 3.322 MB / 1.27 GB, free: 7.16 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/1.063, allocations: 0 / 1.27 GB, free: 7.16 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.823e-06/1.063, allocations: 4 kB / 1.27 GB, free: 7.156 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.487e-05/1.063, allocations: 0 / 1.27 GB, free: 7.156 MB / 0.9669 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.003872/1.067, allocations: 2.275 MB / 1.273 GB, free: 4.828 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/1.067, allocations: 8.922 kB / 1.273 GB, free: 4.82 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002912/1.07, allocations: 0.4972 MB / 1.273 GB, free: 4.32 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002415/1.072, allocations: 1.348 MB / 1.274 GB, free: 2.914 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.149e-05/1.072, allocations: 110.7 kB / 1.274 GB, free: 2.805 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002037/1.072, allocations: 148 kB / 1.275 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002516/1.075, allocations: 1.759 MB / 1.276 GB, free: 0.793 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.513e-05/1.075, allocations: 7.844 kB / 1.276 GB, free: 0.7852 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001242/1.075, allocations: 60 kB / 1.276 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.087e-05/1.075, allocations: 50.55 kB / 1.276 GB, free: 0.6758 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002091/1.077, allocations: 1.407 MB / 1.278 GB, free: 15.26 MB / 0.9825 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.008357/1.086, allocations: 7.289 MB / 1.285 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001565/1.087, allocations: 1.045 MB / 1.286 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008997/1.088, allocations: 0.6945 MB / 1.287 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002199/1.088, allocations: 114.2 kB / 1.287 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.598e-05/1.088, allocations: 59.42 kB / 1.287 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001132/1.09, allocations: 302.6 kB / 1.287 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=106): time 6.021e-06/1.09, allocations: 0 / 1.287 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of matching and sorting (n=112): time 0.008034/1.098, allocations: 4.438 MB / 1.291 GB, free: 0.7852 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.293e-05/1.098, allocations: 167.2 kB / 1.292 GB, free: 0.5859 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001509/1.099, allocations: 1.259 MB / 1.293 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001096/1.099, allocations: 49.7 kB / 1.293 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004869/1.1, allocations: 0.7046 MB / 1.294 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003294/1.1, allocations: 402.1 kB / 1.294 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000367/1.101, allocations: 259.4 kB / 1.294 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001316/1.101, allocations: 374 kB / 1.294 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007905/1.102, allocations: 0.5192 MB / 1.295 GB, free: 13 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001003/1.103, allocations: 0.8557 MB / 1.296 GB, free: 12.03 MB / 0.9981 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.01142/1.114, allocations: 4.806 MB / 1.301 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.695e-06/1.114, allocations: 4 kB / 1.301 GB, free: 7.062 MB / 0.9981 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002659/1.117, allocations: 1.615 MB / 1.302 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.65e-05/1.117, allocations: 8 kB / 1.302 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.916e-05/1.117, allocations: 8 kB / 1.302 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.3e-05/1.117, allocations: 16.75 kB / 1.302 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001164/1.118, allocations: 291.5 kB / 1.302 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.276e-05/1.118, allocations: 23.94 kB / 1.302 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001502/1.12, allocations: 51.86 kB / 1.302 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001353/1.12, allocations: 67.91 kB / 1.303 GB, free: 4.98 MB / 0.9981 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 (169): * Single equations (assignments): 169 * 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.0008435/1.121, allocations: 423.3 kB / 1.303 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004797/1.121, allocations: 166 kB / 1.303 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002291/1.123, allocations: 1.295 MB / 1.304 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.206e-05/1.123, allocations: 16 kB / 1.304 GB, free: 3.066 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/1.123, allocations: 4 kB / 1.304 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001699/1.125, allocations: 1.248 MB / 1.306 GB, free: 1.742 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006463/1.132, allocations: 3.757 MB / 1.309 GB, free: 13.79 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.97e-05/1.132, allocations: 8 kB / 1.309 GB, free: 13.78 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001159/1.133, allocations: 247.7 kB / 1.31 GB, free: 13.54 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.172e-05/1.133, allocations: 12.72 kB / 1.31 GB, free: 13.52 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001038/1.133, allocations: 39.94 kB / 1.31 GB, free: 13.48 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.869e-05/1.133, allocations: 27.92 kB / 1.31 GB, free: 13.46 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.179e-05/1.133, allocations: 19.88 kB / 1.31 GB, free: 13.44 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002875/1.136, allocations: 2.121 MB / 1.312 GB, free: 11.16 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008727/1.137, allocations: 359 kB / 1.312 GB, free: 10.79 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002921/1.137, allocations: 43.92 kB / 1.312 GB, free: 10.75 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001146/1.138, allocations: 42.17 kB / 1.312 GB, free: 10.71 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001399/1.138, allocations: 104.3 kB / 1.312 GB, free: 10.61 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000103/1.138, allocations: 51.97 kB / 1.312 GB, free: 10.56 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001297/1.14, allocations: 0.8529 MB / 1.313 GB, free: 9.707 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.91e-07/1.14, allocations: 8 kB / 1.313 GB, free: 9.699 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00156/1.141, allocations: 428.1 kB / 1.314 GB, free: 9.281 MB / 1.014 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.0005938/1.142, allocations: 242.6 kB / 1.314 GB, free: 9.043 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002138/1.144, allocations: 1.251 MB / 1.315 GB, free: 7.793 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/1.144, allocations: 4 kB / 1.315 GB, free: 7.789 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000786/1.145, allocations: 0.5485 MB / 1.316 GB, free: 7.246 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003879/1.149, allocations: 0.9368 MB / 1.316 GB, free: 6.328 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005174/1.154, allocations: 3.387 MB / 1.32 GB, free: 2.773 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00107/1.155, allocations: 1.38 MB / 1.321 GB, free: 1.367 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001283/1.156, allocations: 377.3 kB / 1.321 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004339/1.157, allocations: 131.4 kB / 1.322 GB, free: 0.8633 MB / 1.014 GB Notification: Performance of SimCode: time 6.52e-07/1.157, allocations: 0 / 1.322 GB, free: 0.8633 MB / 1.014 GB Notification: Performance of Templates: time 0.05183/1.209, allocations: 30.36 MB / 1.351 GB, free: 2.918 MB / 1.045 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches