Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00158/0.00158, 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.001837/0.001837, allocations: 217.1 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.463/1.463, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.157/3.157, allocations: 0.4892 GB / 0.7951 GB, free: 35.54 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.MoistureMixingConservationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senSpeEnt.H_flow|cheMasFra.y|cheMasFlo.y|cheSpeEnt.y",fileNamePrefix="Buildings_12_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_12_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.002093/0.002093, allocations: 68.84 kB / 1.154 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3472/0.3493, allocations: 176.1 MB / 1.326 GB, free: 1.805 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState): time 0.2558/0.605, allocations: 196.8 MB / 1.519 GB, free: 12.26 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.02186/0.6269, allocations: 12.82 MB / 1.531 GB, free: 15.41 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002167/0.629, allocations: 91.25 kB / 1.531 GB, free: 15.32 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.002461/0.6315, allocations: 0.7841 MB / 1.532 GB, free: 14.53 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.00619/0.6377, allocations: 2.244 MB / 1.534 GB, free: 12.28 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.003478/0.6412, allocations: 1.205 MB / 1.535 GB, free: 11.08 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.004518/0.6457, allocations: 2.923 MB / 1.538 GB, free: 8.152 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001655/0.6473, allocations: 0.91 MB / 1.539 GB, free: 7.215 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006887/0.6542, allocations: 2.697 MB / 1.542 GB, free: 4.516 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0025/0.6567, allocations: 1.026 MB / 1.543 GB, free: 3.5 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0002529/0.657, allocations: 100 kB / 1.543 GB, free: 3.402 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002937/0.6599, allocations: 1.301 MB / 1.544 GB, free: 2.098 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0005576/0.6605, allocations: 446.4 kB / 1.544 GB, free: 1.66 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0008455/0.6613, allocations: 0.5598 MB / 1.545 GB, free: 1.098 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.003824/0.6652, allocations: 2.055 MB / 1.547 GB, free: 15.04 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.6652, allocations: 0 / 1.547 GB, free: 15.04 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.994e-06/0.6652, allocations: 3.938 kB / 1.547 GB, free: 15.03 MB / 1.248 GB Notification: Performance of Transformations before backend: time 3.461e-05/0.6652, allocations: 4 kB / 1.547 GB, free: 15.03 MB / 1.248 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.002769/0.668, allocations: 1.604 MB / 1.549 GB, free: 13.38 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.668, allocations: 8.031 kB / 1.549 GB, free: 13.38 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002239/0.6702, allocations: 434.7 kB / 1.549 GB, free: 12.95 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001873/0.6721, allocations: 0.8809 MB / 1.55 GB, free: 12.03 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.003e-05/0.6722, allocations: 66 kB / 1.55 GB, free: 11.97 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001413/0.6723, allocations: 88 kB / 1.55 GB, free: 11.88 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002299/0.6746, allocations: 1.314 MB / 1.551 GB, free: 10.43 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.755e-05/0.6747, allocations: 7.938 kB / 1.551 GB, free: 10.42 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.259e-05/0.6747, allocations: 40 kB / 1.551 GB, free: 10.38 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-05/0.6748, allocations: 33.31 kB / 1.551 GB, free: 10.35 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002041/0.6768, allocations: 0.8829 MB / 1.552 GB, free: 9.469 MB / 1.248 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.007328/0.6842, allocations: 5.172 MB / 1.557 GB, free: 4.113 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004741/0.6846, allocations: 243.7 kB / 1.558 GB, free: 3.82 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002181/0.6849, allocations: 141.1 kB / 1.558 GB, free: 3.664 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001594/0.685, allocations: 19.98 kB / 1.558 GB, free: 3.645 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.046e-05/0.6851, allocations: 50.5 kB / 1.558 GB, free: 3.586 MB / 1.248 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007575/0.6858, allocations: 99.62 kB / 1.558 GB, free: 3.488 MB / 1.248 GB Notification: Performance of pre-optimization done (n=20): time 2.916e-06/0.6858, allocations: 0 / 1.558 GB, free: 3.488 MB / 1.248 GB Notification: Performance of matching and sorting (n=20): time 0.001017/0.6868, allocations: 421.3 kB / 1.558 GB, free: 3.07 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/0.6869, allocations: 191.9 kB / 1.558 GB, free: 2.84 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001735/0.6887, allocations: 1.035 MB / 1.559 GB, free: 1.785 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 6.179e-05/0.6887, allocations: 33.7 kB / 1.559 GB, free: 1.746 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005531/0.6893, allocations: 0.663 MB / 1.56 GB, free: 1.074 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 9.318e-05/0.6894, allocations: 79.41 kB / 1.56 GB, free: 0.9961 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002227/0.6896, allocations: 138.2 kB / 1.56 GB, free: 0.8555 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.6898, allocations: 333.9 kB / 1.561 GB, free: 0.5234 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006808/0.6905, allocations: 241.1 kB / 1.561 GB, free: 292 kB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001052/0.6915, allocations: 0.7324 MB / 1.562 GB, free: 15.36 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001186/0.6927, allocations: 0.6839 MB / 1.562 GB, free: 14.54 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.708e-06/0.6927, allocations: 8 kB / 1.562 GB, free: 14.53 MB / 1.264 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002056/0.6948, allocations: 0.8367 MB / 1.563 GB, free: 13.68 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/0.6948, allocations: 8 kB / 1.563 GB, free: 13.68 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.818e-05/0.6948, allocations: 12 kB / 1.563 GB, free: 13.66 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.399e-05/0.6948, allocations: 12.23 kB / 1.563 GB, free: 13.65 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007095/0.6955, allocations: 171.8 kB / 1.563 GB, free: 13.48 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.364e-05/0.6956, allocations: 23.92 kB / 1.563 GB, free: 13.46 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001166/0.6967, allocations: 119.9 kB / 1.563 GB, free: 13.34 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.06e-05/0.6968, allocations: 43.98 kB / 1.563 GB, free: 13.3 MB / 1.264 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.0005105/0.6973, allocations: 305.4 kB / 1.564 GB, free: 12.99 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002634/0.6976, allocations: 107.3 kB / 1.564 GB, free: 12.89 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005351/0.6981, allocations: 269.2 kB / 1.564 GB, free: 12.61 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.752e-06/0.6981, allocations: 4 kB / 1.564 GB, free: 12.61 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.6981, allocations: 0 / 1.564 GB, free: 12.61 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/0.6981, allocations: 8 kB / 1.564 GB, free: 12.6 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002258/0.7004, allocations: 1.458 MB / 1.566 GB, free: 11.07 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.281e-06/0.7004, allocations: 4 kB / 1.566 GB, free: 11.06 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002417/0.7006, allocations: 39.92 kB / 1.566 GB, free: 11.02 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.754e-06/0.7006, allocations: 4.375 kB / 1.566 GB, free: 11.02 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.007e-05/0.7007, allocations: 12 kB / 1.566 GB, free: 11.01 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.946e-06/0.7007, allocations: 7.984 kB / 1.566 GB, free: 11 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.7007, allocations: 4 kB / 1.566 GB, free: 11 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006127/0.7013, allocations: 471.4 kB / 1.566 GB, free: 10.48 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003595/0.7017, allocations: 143.2 kB / 1.566 GB, free: 10.34 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/0.7018, allocations: 4 kB / 1.566 GB, free: 10.34 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000608/0.7024, allocations: 51.94 kB / 1.566 GB, free: 10.29 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.189e-05/0.7024, allocations: 27.84 kB / 1.566 GB, free: 10.26 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.075e-05/0.7024, allocations: 8 kB / 1.566 GB, free: 10.25 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.00126/0.7037, allocations: 0.7134 MB / 1.567 GB, free: 9.531 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7037, allocations: 0 / 1.567 GB, free: 9.531 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001045/0.7047, allocations: 307.2 kB / 1.567 GB, free: 9.23 MB / 1.264 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.0004077/0.7052, allocations: 206.7 kB / 1.567 GB, free: 9.023 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001142/0.7063, allocations: 442.8 kB / 1.568 GB, free: 8.594 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.7063, allocations: 0 / 1.568 GB, free: 8.594 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0001662/0.7065, allocations: 100.9 kB / 1.568 GB, free: 8.496 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002012/0.7085, allocations: 442.4 kB / 1.568 GB, free: 8.078 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003182/0.7117, allocations: 1.765 MB / 1.57 GB, free: 6.238 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005977/0.7123, allocations: 0.5152 MB / 1.571 GB, free: 5.688 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000249/0.7125, allocations: 71.41 kB / 1.571 GB, free: 5.617 MB / 1.264 GB Notification: Performance of SimCode: time 1.012e-06/0.7125, allocations: 3.938 kB / 1.571 GB, free: 5.613 MB / 1.264 GB Notification: Performance of Templates: time 0.02665/0.7392, allocations: 15.92 MB / 1.586 GB, free: 5.832 MB / 1.279 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 14.058614916168153]