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.002113/0.002113, allocations: 84.39 kB / 20.23 MB, free: 4.176 MB / 18.57 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.002476/0.002476, allocations: 161.3 kB / 23.55 MB, free: 0.8633 MB / 18.57 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.529/1.529, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 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.944/2.944, allocations: 377.8 MB / 0.6232 GB, free: 8.516 MB / 0.5886 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 1.423e-06/1.423e-06, allocations: 0 / 0.8108 GB, free: 2.043 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.867e-05/3.01e-05, allocations: 4.703 kB / 0.8109 GB, free: 2.039 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.2999/0.3, allocations: 197.1 MB / 1.003 GB, free: 12.3 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.02228/0.3223, allocations: 11.35 MB / 1.014 GB, free: 0.9219 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002349/0.3246, allocations: 99.19 kB / 1.014 GB, free: 0.8242 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.002878/0.3275, allocations: 0.8496 MB / 1.015 GB, free: 15.97 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.00894/0.3364, allocations: 3.055 MB / 1.018 GB, free: 12.9 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.004405/0.3408, allocations: 1.527 MB / 1.02 GB, free: 11.37 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.007199/0.348, allocations: 4.574 MB / 1.024 GB, free: 6.777 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003005/0.351, allocations: 1.41 MB / 1.026 GB, free: 5.336 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009334/0.3604, allocations: 3.386 MB / 1.029 GB, free: 1.957 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003828/0.3642, allocations: 1.48 MB / 1.03 GB, free: 0.5273 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.0006845/0.3649, allocations: 180 kB / 1.031 GB, free: 360 kB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004657/0.3695, allocations: 1.811 MB / 1.032 GB, free: 14.54 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.001358/0.3709, allocations: 0.7594 MB / 1.033 GB, free: 13.77 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.002523/0.3734, allocations: 0.7443 MB / 1.034 GB, free: 13.03 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.00788/0.3813, allocations: 3.416 MB / 1.037 GB, free: 9.602 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.3813, allocations: 0 / 1.037 GB, free: 9.602 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.934e-06/0.3813, allocations: 0 / 1.037 GB, free: 9.602 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0001108/0.3814, allocations: 0 / 1.037 GB, free: 9.602 MB / 0.9948 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.006241/0.3877, allocations: 2.226 MB / 1.039 GB, free: 7.336 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.3877, allocations: 8.031 kB / 1.039 GB, free: 7.328 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003865/0.3916, allocations: 0.6657 MB / 1.04 GB, free: 6.66 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003322/0.3949, allocations: 1.344 MB / 1.041 GB, free: 5.27 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001316/0.395, allocations: 110.8 kB / 1.041 GB, free: 5.16 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004067/0.3954, allocations: 159.9 kB / 1.042 GB, free: 5.004 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004529/0.4, allocations: 2.152 MB / 1.044 GB, free: 2.648 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.995e-05/0.4, allocations: 4 kB / 1.044 GB, free: 2.645 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001922/0.4002, allocations: 60 kB / 1.044 GB, free: 2.586 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.174e-05/0.4003, allocations: 58.47 kB / 1.044 GB, free: 2.527 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002855/0.4031, allocations: 1.419 MB / 1.045 GB, free: 1.102 MB / 0.9948 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.4752/0.8783, allocations: 5.699 MB / 1.051 GB, free: 275.3 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001363/0.8797, allocations: 1.02 MB / 1.052 GB, free: 274.8 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007902/0.8805, allocations: 0.664 MB / 1.052 GB, free: 274.5 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001828/0.8806, allocations: 45.06 kB / 1.052 GB, free: 274.5 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.8807, allocations: 47.97 kB / 1.052 GB, free: 274.4 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001269/0.8819, allocations: 320.1 kB / 1.053 GB, free: 274.4 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=106): time 4.428e-06/0.8819, allocations: 0 / 1.053 GB, free: 274.4 MB / 0.9948 GB Notification: Performance of matching and sorting (n=112): time 0.007312/0.8893, allocations: 4.411 MB / 1.057 GB, free: 272.1 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.682e-05/0.8893, allocations: 169.1 kB / 1.057 GB, free: 271.9 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001091/0.8904, allocations: 1.008 MB / 1.058 GB, free: 271.5 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 8.653e-05/0.8905, allocations: 53.64 kB / 1.058 GB, free: 271.5 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003759/0.8909, allocations: 0.7344 MB / 1.059 GB, free: 271 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002792/0.8912, allocations: 414.1 kB / 1.059 GB, free: 270.7 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003493/0.8915, allocations: 253.2 kB / 1.06 GB, free: 270.6 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 8.249e-05/0.8916, allocations: 358 kB / 1.06 GB, free: 270.2 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006973/0.8923, allocations: 0.5153 MB / 1.06 GB, free: 270.1 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009143/0.8932, allocations: 1.019 MB / 1.061 GB, free: 269.3 MB / 0.9948 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.01095/0.9041, allocations: 4.494 MB / 1.066 GB, free: 267.6 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.859e-06/0.9042, allocations: 2.781 kB / 1.066 GB, free: 267.6 MB / 0.9948 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003024/0.9072, allocations: 1.621 MB / 1.067 GB, free: 267 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.515e-05/0.9072, allocations: 9.375 kB / 1.067 GB, free: 267 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.701e-05/0.9072, allocations: 10.28 kB / 1.067 GB, free: 267 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.783e-05/0.9073, allocations: 16.72 kB / 1.067 GB, free: 267 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001069/0.9083, allocations: 283.9 kB / 1.068 GB, free: 267 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.147e-05/0.9084, allocations: 21.11 kB / 1.068 GB, free: 267 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00119/0.9095, allocations: 51.75 kB / 1.068 GB, free: 266.9 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001051/0.9096, allocations: 61.77 kB / 1.068 GB, free: 266.9 MB / 0.9948 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.0007533/0.9104, allocations: 431.7 kB / 1.068 GB, free: 266.7 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004129/0.9108, allocations: 182 kB / 1.068 GB, free: 266.6 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002158/0.913, allocations: 1.268 MB / 1.07 GB, free: 266 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.457e-05/0.913, allocations: 15.12 kB / 1.07 GB, free: 266 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.913, allocations: 2.844 kB / 1.07 GB, free: 266 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001662/0.9147, allocations: 1.24 MB / 1.071 GB, free: 265.3 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005865/0.9205, allocations: 3.351 MB / 1.074 GB, free: 263.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.49e-05/0.9205, allocations: 11.16 kB / 1.074 GB, free: 263.5 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001098/0.9216, allocations: 246.2 kB / 1.074 GB, free: 263.5 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.439e-05/0.9217, allocations: 19.59 kB / 1.074 GB, free: 263.5 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001096/0.9218, allocations: 38.12 kB / 1.074 GB, free: 263.4 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.097e-05/0.9218, allocations: 25.22 kB / 1.075 GB, free: 263.4 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.285e-05/0.9218, allocations: 15.69 kB / 1.075 GB, free: 263.4 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003125/0.9249, allocations: 2.128 MB / 1.077 GB, free: 262.2 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007971/0.9257, allocations: 268.9 kB / 1.077 GB, free: 262.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003088/0.926, allocations: 38.12 kB / 1.077 GB, free: 262.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001184/0.9272, allocations: 46.3 kB / 1.077 GB, free: 262.1 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000213/0.9274, allocations: 103.1 kB / 1.077 GB, free: 262 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001665/0.9276, allocations: 49.41 kB / 1.077 GB, free: 262 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001423/0.929, allocations: 0.6633 MB / 1.078 GB, free: 261.8 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6.1e-08/0.929, allocations: 0 / 1.078 GB, free: 261.8 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001986/0.931, allocations: 430 kB / 1.078 GB, free: 261.7 MB / 0.9948 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.0005614/0.9316, allocations: 225 kB / 1.078 GB, free: 261.6 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.002327/0.9339, allocations: 1.17 MB / 1.079 GB, free: 261.2 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.725e-05/0.9339, allocations: 2.281 kB / 1.079 GB, free: 261.2 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009058/0.9348, allocations: 0.5264 MB / 1.08 GB, free: 261 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003999/0.9388, allocations: 0.7914 MB / 1.081 GB, free: 260.9 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005873/0.9447, allocations: 3.283 MB / 1.084 GB, free: 259 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001372/0.9461, allocations: 0.7913 MB / 1.085 GB, free: 258.8 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.001579/0.9476, allocations: 353.4 kB / 1.085 GB, free: 258.7 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005462/0.9482, allocations: 114.8 kB / 1.085 GB, free: 258.7 MB / 0.9948 GB Notification: Performance of SimCode: time 1.233e-06/0.9482, allocations: 0 / 1.085 GB, free: 258.7 MB / 0.9948 GB Notification: Performance of Templates: time 0.04746/0.9957, allocations: 27.61 MB / 1.112 GB, free: 245.9 MB / 0.9948 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: 9.986048165010288]