Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.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.001346/0.001346, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001489/0.001489, allocations: 215.4 kB / 22.99 MB, free: 4.945 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.497/1.497, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.388/3.388, allocations: 0.5107 GB / 0.8166 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.MoistureMixingConservationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senSpeEnt.H_flow|cheMasFra.y|cheMasFlo.y|cheSpeEnt.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState") translateModel(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senSpeEnt.H_flow|cheMasFra.y|cheMasFlo.y|cheSpeEnt.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002674/0.002674, allocations: 72.22 kB / 1.187 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3559/0.3586, allocations: 181.9 MB / 1.365 GB, free: 13.54 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState): time 0.2606/0.6192, allocations: 196.8 MB / 1.557 GB, free: 7.992 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.02299/0.6422, allocations: 12.82 MB / 1.569 GB, free: 11.14 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002546/0.6447, allocations: 91.25 kB / 1.569 GB, free: 11.05 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.002646/0.6473, allocations: 0.7802 MB / 1.57 GB, free: 10.26 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.006509/0.6539, allocations: 2.25 MB / 1.572 GB, free: 8.004 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.00364/0.6575, allocations: 1.199 MB / 1.574 GB, free: 6.812 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.00488/0.6624, allocations: 2.921 MB / 1.576 GB, free: 3.879 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001581/0.664, allocations: 0.9099 MB / 1.577 GB, free: 2.945 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007322/0.6713, allocations: 2.7 MB / 1.58 GB, free: 248 kB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002629/0.6739, allocations: 1.035 MB / 1.581 GB, free: 15.22 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.0002673/0.6742, allocations: 100 kB / 1.581 GB, free: 15.12 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003229/0.6774, allocations: 1.301 MB / 1.582 GB, free: 13.82 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.0006344/0.678, allocations: 442.5 kB / 1.583 GB, free: 13.39 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.000986/0.679, allocations: 0.5637 MB / 1.583 GB, free: 12.82 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.003992/0.683, allocations: 2.051 MB / 1.585 GB, free: 10.76 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.683, allocations: 4 kB / 1.585 GB, free: 10.76 MB / 1.279 GB Notification: Performance of FrontEnd: time 2.415e-06/0.683, allocations: 3.938 kB / 1.585 GB, free: 10.75 MB / 1.279 GB Notification: Performance of Transformations before backend: time 2.257e-05/0.683, allocations: 0 / 1.585 GB, free: 10.75 MB / 1.279 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 225 * Number of variables: 225 Notification: Performance of Generate backend data structure: time 0.002956/0.686, allocations: 1.6 MB / 1.587 GB, free: 9.113 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/0.6861, allocations: 8.031 kB / 1.587 GB, free: 9.105 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002243/0.6883, allocations: 450.6 kB / 1.587 GB, free: 8.664 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00174/0.69, allocations: 0.8692 MB / 1.588 GB, free: 7.758 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.21e-05/0.6901, allocations: 70 kB / 1.588 GB, free: 7.691 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000131/0.6902, allocations: 92 kB / 1.588 GB, free: 7.602 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002324/0.6926, allocations: 1.31 MB / 1.59 GB, free: 6.152 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.744e-05/0.6926, allocations: 3.938 kB / 1.59 GB, free: 6.148 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.834e-05/0.6927, allocations: 43.94 kB / 1.59 GB, free: 6.105 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.823e-05/0.6927, allocations: 33.31 kB / 1.59 GB, free: 6.074 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002029/0.6948, allocations: 0.8752 MB / 1.591 GB, free: 5.199 MB / 1.279 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.007423/0.7022, allocations: 5.172 MB / 1.596 GB, free: 15.84 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004854/0.7027, allocations: 247.7 kB / 1.596 GB, free: 15.55 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002196/0.7029, allocations: 141.1 kB / 1.596 GB, free: 15.39 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001551/0.703, allocations: 23.98 kB / 1.596 GB, free: 15.37 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.893e-05/0.7031, allocations: 42.5 kB / 1.596 GB, free: 15.32 MB / 1.295 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007647/0.7038, allocations: 103.9 kB / 1.596 GB, free: 15.21 MB / 1.295 GB Notification: Performance of pre-optimization done (n=20): time 2.795e-06/0.7038, allocations: 0 / 1.596 GB, free: 15.21 MB / 1.295 GB Notification: Performance of matching and sorting (n=20): time 0.001007/0.7049, allocations: 428.6 kB / 1.597 GB, free: 14.79 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001234/0.705, allocations: 187.9 kB / 1.597 GB, free: 14.56 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001675/0.7067, allocations: 1.039 MB / 1.598 GB, free: 13.5 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 4.022e-05/0.7067, allocations: 33.7 kB / 1.598 GB, free: 13.46 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005572/0.7072, allocations: 0.6591 MB / 1.598 GB, free: 12.8 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 7.843e-05/0.7073, allocations: 79.38 kB / 1.598 GB, free: 12.72 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002297/0.7076, allocations: 134.2 kB / 1.599 GB, free: 12.58 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.7077, allocations: 337.9 kB / 1.599 GB, free: 12.25 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006814/0.7084, allocations: 241.1 kB / 1.599 GB, free: 12.01 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001071/0.7095, allocations: 0.7247 MB / 1.6 GB, free: 11.09 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001212/0.7107, allocations: 0.7002 MB / 1.601 GB, free: 10.25 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.647e-06/0.7107, allocations: 4 kB / 1.601 GB, free: 10.25 MB / 1.295 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002037/0.7127, allocations: 0.8366 MB / 1.601 GB, free: 9.406 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/0.7128, allocations: 8 kB / 1.601 GB, free: 9.398 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.819e-05/0.7128, allocations: 12 kB / 1.601 GB, free: 9.387 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.146e-05/0.7128, allocations: 12 kB / 1.601 GB, free: 9.375 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007296/0.7135, allocations: 172 kB / 1.602 GB, free: 9.207 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.458e-05/0.7136, allocations: 24 kB / 1.602 GB, free: 9.184 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001108/0.7147, allocations: 127.8 kB / 1.602 GB, free: 9.059 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-05/0.7147, allocations: 47.97 kB / 1.602 GB, free: 9.012 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 69 * 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.0004806/0.7152, allocations: 297.5 kB / 1.602 GB, free: 8.711 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002326/0.7155, allocations: 103.4 kB / 1.602 GB, free: 8.609 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005169/0.716, allocations: 261.2 kB / 1.602 GB, free: 8.344 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.716, allocations: 4 kB / 1.602 GB, free: 8.34 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.716, allocations: 4 kB / 1.602 GB, free: 8.336 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.944e-06/0.716, allocations: 7.984 kB / 1.602 GB, free: 8.328 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002253/0.7182, allocations: 1.458 MB / 1.604 GB, free: 6.793 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.7183, allocations: 0 / 1.604 GB, free: 6.793 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002228/0.7185, allocations: 36.36 kB / 1.604 GB, free: 6.758 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.687e-06/0.7185, allocations: 11.98 kB / 1.604 GB, free: 6.746 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.901e-05/0.7185, allocations: 4 kB / 1.604 GB, free: 6.742 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.96e-06/0.7185, allocations: 7.938 kB / 1.604 GB, free: 6.734 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.7185, allocations: 4 kB / 1.604 GB, free: 6.73 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005971/0.7191, allocations: 480.2 kB / 1.604 GB, free: 6.211 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00033/0.7194, allocations: 135.2 kB / 1.604 GB, free: 6.078 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/0.7195, allocations: 11.98 kB / 1.604 GB, free: 6.066 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006048/0.7201, allocations: 47.95 kB / 1.605 GB, free: 6.02 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.887e-05/0.7202, allocations: 23.84 kB / 1.605 GB, free: 5.996 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.401e-05/0.7202, allocations: 12 kB / 1.605 GB, free: 5.984 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001272/0.7215, allocations: 0.7134 MB / 1.605 GB, free: 5.262 MB / 1.295 GB Notification: Performance of sort global known variables: time 1e-07/0.7215, allocations: 4 kB / 1.605 GB, free: 5.258 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.00095/0.7224, allocations: 307.2 kB / 1.606 GB, free: 4.957 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * 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 (20): * Single equations (assignments): 20 * 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.0003622/0.7228, allocations: 201.6 kB / 1.606 GB, free: 4.754 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.001099/0.7239, allocations: 449.1 kB / 1.606 GB, free: 4.316 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.036e-05/0.7239, allocations: 0 / 1.606 GB, free: 4.316 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.000161/0.7241, allocations: 97.14 kB / 1.606 GB, free: 4.223 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001933/0.726, allocations: 433 kB / 1.607 GB, free: 3.812 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003093/0.7291, allocations: 1.777 MB / 1.608 GB, free: 1.961 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006409/0.7297, allocations: 0.5191 MB / 1.609 GB, free: 1.406 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002141/0.73, allocations: 71.41 kB / 1.609 GB, free: 1.336 MB / 1.295 GB Notification: Performance of SimCode: time 1.082e-06/0.73, allocations: 3.938 kB / 1.609 GB, free: 1.332 MB / 1.295 GB Notification: Performance of Templates: time 0.6433/1.373, allocations: 15.9 MB / 1.625 GB, free: 245.3 MB / 1.295 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.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: 15.122997773811221]