Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.MoistureMixingConservationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senMasFlo.m_flow|senSpeEnt.H_flow|cheMasFra.y|cheMasFlo.y|cheSpeEnt.y",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState") translateModel(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senMasFlo.m_flow|senSpeEnt.H_flow|cheMasFra.y|cheMasFlo.y|cheSpeEnt.y",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00137/0.001369, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002148/0.002148, allocations: 192.9 kB / 16.25 MB, free: 6.621 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.511/1.511, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.521/2.521, allocations: 437 MB / 0.71 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001631/0.001632, allocations: 64.09 kB / 0.8687 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7809/0.7825, allocations: 151.6 MB / 1.017 GB, free: 2.695 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState): time 0.2434/1.026, allocations: 219.1 MB / 1.231 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02007/1.046, allocations: 13.66 MB / 1.244 GB, free: 9.078 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002524/1.049, allocations: 55.69 kB / 1.244 GB, free: 9.023 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002505/1.051, allocations: 0.7072 MB / 1.245 GB, free: 8.312 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006471/1.058, allocations: 2.027 MB / 1.247 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00324/1.061, allocations: 1.067 MB / 1.248 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004483/1.065, allocations: 2.882 MB / 1.251 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002172/1.068, allocations: 1.163 MB / 1.252 GB, free: 1.145 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.6653/1.733, allocations: 2.397 MB / 1.254 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003869/1.737, allocations: 1.084 MB / 1.255 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003556/1.737, allocations: 100.9 kB / 1.255 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003775/1.741, allocations: 1.673 MB / 1.257 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006697/1.742, allocations: 437.8 kB / 1.257 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001257/1.743, allocations: 0.6821 MB / 1.258 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004277/1.747, allocations: 2.146 MB / 1.26 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/1.747, allocations: 1.031 kB / 1.26 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.014e-06/1.747, allocations: 0.75 kB / 1.26 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.909e-05/1.747, allocations: 0 / 1.26 GB, free: 5.281 MB / 0.9981 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.003332/1.751, allocations: 1.658 MB / 1.262 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/1.751, allocations: 13.55 kB / 1.262 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002595/1.753, allocations: 432.8 kB / 1.262 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002169/1.756, allocations: 0.8969 MB / 1.263 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001105/1.757, allocations: 234.9 kB / 1.263 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001963/1.757, allocations: 93.61 kB / 1.263 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002902/1.76, allocations: 1.207 MB / 1.265 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.062e-05/1.76, allocations: 6.219 kB / 1.265 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001096/1.76, allocations: 39.19 kB / 1.265 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.612e-05/1.76, allocations: 33.5 kB / 1.265 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002608/1.763, allocations: 0.8961 MB / 1.265 GB, free: 3.684 MB / 0.9981 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.009512/1.772, allocations: 5.601 MB / 1.271 GB, free: 16.31 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000488/1.773, allocations: 258.2 kB / 1.271 GB, free: 16.17 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002302/1.773, allocations: 149 kB / 1.271 GB, free: 16.12 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002091/1.773, allocations: 99.12 kB / 1.271 GB, free: 16.03 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000126/1.773, allocations: 45.31 kB / 1.271 GB, free: 15.99 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001079/1.774, allocations: 139.7 kB / 1.272 GB, free: 15.95 MB / 1.014 GB Notification: Performance of pre-optimization done (n=20): time 2.905e-06/1.774, allocations: 0 / 1.272 GB, free: 15.95 MB / 1.014 GB Notification: Performance of matching and sorting (n=20): time 0.001497/1.776, allocations: 488.7 kB / 1.272 GB, free: 15.85 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/1.776, allocations: 187.8 kB / 1.272 GB, free: 15.63 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002273/1.778, allocations: 1.291 MB / 1.274 GB, free: 15.47 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.298e-05/1.778, allocations: 33.45 kB / 1.274 GB, free: 15.44 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004006/1.779, allocations: 0.6161 MB / 1.274 GB, free: 15.2 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.826e-05/1.779, allocations: 73.97 kB / 1.274 GB, free: 15.15 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000251/1.779, allocations: 130.2 kB / 1.274 GB, free: 15.13 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001518/1.779, allocations: 329.4 kB / 1.275 GB, free: 14.82 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000769/1.78, allocations: 246.1 kB / 1.275 GB, free: 14.82 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009476/1.781, allocations: 0.529 MB / 1.275 GB, free: 14.48 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001165/1.782, allocations: 0.6557 MB / 1.276 GB, free: 14.17 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.261e-06/1.782, allocations: 3.281 kB / 1.276 GB, free: 14.17 MB / 1.014 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002237/1.784, allocations: 0.849 MB / 1.277 GB, free: 14.08 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/1.784, allocations: 9.594 kB / 1.277 GB, free: 14.08 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.754e-05/1.784, allocations: 12.84 kB / 1.277 GB, free: 14.07 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.004e-05/1.784, allocations: 13.38 kB / 1.277 GB, free: 14.07 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007645/1.785, allocations: 169.7 kB / 1.277 GB, free: 14.07 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.033e-05/1.785, allocations: 19.95 kB / 1.277 GB, free: 14.07 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001651/1.787, allocations: 182.9 kB / 1.277 GB, free: 14.07 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.817e-05/1.787, allocations: 36.48 kB / 1.277 GB, free: 14.07 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * 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 (63): * Single equations (assignments): 63 * 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.0005156/1.788, allocations: 292.3 kB / 1.278 GB, free: 13.95 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002956/1.788, allocations: 120.3 kB / 1.278 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006249/1.788, allocations: 290.1 kB / 1.278 GB, free: 13.84 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/1.788, allocations: 7.797 kB / 1.278 GB, free: 13.84 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.207e-05/1.789, allocations: 2.938 kB / 1.278 GB, free: 13.84 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/1.789, allocations: 4.344 kB / 1.278 GB, free: 13.84 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002865/1.791, allocations: 1.696 MB / 1.28 GB, free: 13.05 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.795e-06/1.791, allocations: 4.188 kB / 1.28 GB, free: 13.05 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002448/1.792, allocations: 34.84 kB / 1.28 GB, free: 13.05 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.078e-05/1.792, allocations: 5.156 kB / 1.28 GB, free: 13.05 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.334e-05/1.792, allocations: 8.969 kB / 1.28 GB, free: 13.05 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.03e-05/1.792, allocations: 6.891 kB / 1.28 GB, free: 13.05 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.485e-06/1.792, allocations: 11.22 kB / 1.28 GB, free: 13.05 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007126/1.792, allocations: 490.7 kB / 1.28 GB, free: 12.76 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003525/1.793, allocations: 236.3 kB / 1.28 GB, free: 12.61 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001592/1.793, allocations: 7.391 kB / 1.28 GB, free: 12.61 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008225/1.794, allocations: 69.47 kB / 1.281 GB, free: 12.6 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.54e-05/1.794, allocations: 26.17 kB / 1.281 GB, free: 12.6 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.406e-05/1.794, allocations: 8 kB / 1.281 GB, free: 12.6 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001489/1.795, allocations: 0.9199 MB / 1.281 GB, free: 12.49 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.7e-07/1.795, allocations: 0 / 1.281 GB, free: 12.49 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001085/1.797, allocations: 280.4 kB / 1.282 GB, free: 12.46 MB / 1.014 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.0005266/1.797, allocations: 211.6 kB / 1.282 GB, free: 12.36 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001227/1.798, allocations: 469.8 kB / 1.282 GB, free: 12.35 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.818e-06/1.798, allocations: 0.7812 kB / 1.282 GB, free: 12.35 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001727/1.798, allocations: 101.5 kB / 1.282 GB, free: 12.35 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002676/1.801, allocations: 0.5839 MB / 1.283 GB, free: 12.28 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00288/1.804, allocations: 2.103 MB / 1.285 GB, free: 11.12 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006575/1.805, allocations: 1.119 MB / 1.286 GB, free: 10.42 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0009017/1.806, allocations: 231.8 kB / 1.286 GB, free: 10.37 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001963/1.806, allocations: 72.89 kB / 1.286 GB, free: 10.36 MB / 1.014 GB Notification: Performance of SimCode: time 5.31e-07/1.806, allocations: 3.75 kB / 1.286 GB, free: 10.36 MB / 1.014 GB Notification: Performance of Templates: time 0.03203/1.838, allocations: 18.32 MB / 1.304 GB, free: 9.277 MB / 1.014 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches