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.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.0008421/0.0008423, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.005517/0.005517, allocations: 172.4 kB / 16.26 MB, free: 6.613 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.357/1.357, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.768/2.768, allocations: 462.7 MB / 0.7364 GB, free: 244 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004167/0.0004168, allocations: 13.88 kB / 0.9028 GB, free: 36.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3598/0.3603, allocations: 159.6 MB / 1.059 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState): time 1.005/1.365, allocations: 216.7 MB / 1.27 GB, free: 2.859 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0205/1.385, allocations: 13.69 MB / 1.284 GB, free: 2.656 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003293/1.389, allocations: 55.97 kB / 1.284 GB, free: 2.656 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002809/1.392, allocations: 0.6786 MB / 1.284 GB, free: 2.641 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007804/1.399, allocations: 2.035 MB / 1.286 GB, free: 2.535 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004069/1.403, allocations: 1.048 MB / 1.287 GB, free: 2.496 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.008972/1.412, allocations: 4.026 MB / 1.291 GB, free: 2.484 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00216/1.415, allocations: 0.9931 MB / 1.292 GB, free: 2.328 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007652/1.422, allocations: 2.207 MB / 1.294 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003654/1.426, allocations: 1.022 MB / 1.295 GB, free: 2.246 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002035/1.426, allocations: 46.84 kB / 1.295 GB, free: 2.246 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004794/1.431, allocations: 1.819 MB / 1.297 GB, free: 2.23 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005857/1.432, allocations: 379.3 kB / 1.298 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001139/1.433, allocations: 0.6313 MB / 1.298 GB, free: 2.195 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003591/1.436, allocations: 2.078 MB / 1.3 GB, free: 2.062 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/1.436, allocations: 1.031 kB / 1.3 GB, free: 2.062 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.964e-06/1.436, allocations: 0 / 1.3 GB, free: 2.062 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.984e-05/1.436, allocations: 0 / 1.3 GB, free: 2.062 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.002759/1.439, allocations: 1.41 MB / 1.302 GB, free: 17.21 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/1.439, allocations: 9.594 kB / 1.302 GB, free: 17.21 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002372/1.442, allocations: 469.3 kB / 1.302 GB, free: 17.12 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001593/1.443, allocations: 0.8965 MB / 1.303 GB, free: 16.76 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009813/1.444, allocations: 264.7 kB / 1.303 GB, free: 16.74 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001683/1.444, allocations: 96.16 kB / 1.303 GB, free: 16.74 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002762/1.447, allocations: 1.223 MB / 1.304 GB, free: 16.43 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.128e-05/1.447, allocations: 5 kB / 1.304 GB, free: 16.43 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001087/1.447, allocations: 36.31 kB / 1.305 GB, free: 16.43 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.882e-05/1.447, allocations: 38.88 kB / 1.305 GB, free: 16.43 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00241/1.45, allocations: 0.9287 MB / 1.305 GB, free: 16.4 MB / 1.014 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.009054/1.459, allocations: 5.635 MB / 1.311 GB, free: 12.95 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004703/1.459, allocations: 267.3 kB / 1.311 GB, free: 12.81 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002111/1.46, allocations: 147.7 kB / 1.311 GB, free: 12.75 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002107/1.46, allocations: 100.7 kB / 1.311 GB, free: 12.66 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.287e-05/1.46, allocations: 43.72 kB / 1.312 GB, free: 12.62 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001008/1.461, allocations: 135.2 kB / 1.312 GB, free: 12.57 MB / 1.014 GB Notification: Performance of pre-optimization done (n=20): time 3.346e-06/1.461, allocations: 0 / 1.312 GB, free: 12.57 MB / 1.014 GB Notification: Performance of matching and sorting (n=20): time 0.001235/1.462, allocations: 462.2 kB / 1.312 GB, free: 12.48 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/1.462, allocations: 195.5 kB / 1.312 GB, free: 12.26 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002156/1.464, allocations: 1.31 MB / 1.314 GB, free: 12.07 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.843e-05/1.465, allocations: 32.2 kB / 1.314 GB, free: 12.04 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004813/1.465, allocations: 0.6153 MB / 1.314 GB, free: 11.8 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 7.65e-05/1.465, allocations: 69.72 kB / 1.314 GB, free: 11.76 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.596e-05/1.465, allocations: 43.92 kB / 1.314 GB, free: 11.75 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001364/1.465, allocations: 332.9 kB / 1.315 GB, free: 11.44 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000724/1.466, allocations: 256.6 kB / 1.315 GB, free: 11.43 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009619/1.467, allocations: 0.5363 MB / 1.315 GB, free: 11.07 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001141/1.468, allocations: 0.655 MB / 1.316 GB, free: 10.72 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.666e-06/1.468, allocations: 1.969 kB / 1.316 GB, free: 10.72 MB / 1.014 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002062/1.47, allocations: 0.8738 MB / 1.317 GB, free: 10.59 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.78e-05/1.47, allocations: 12.41 kB / 1.317 GB, free: 10.59 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.577e-05/1.47, allocations: 9.625 kB / 1.317 GB, free: 10.59 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.631e-05/1.47, allocations: 12.38 kB / 1.317 GB, free: 10.59 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007268/1.471, allocations: 171.4 kB / 1.317 GB, free: 10.59 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.071e-05/1.471, allocations: 21.38 kB / 1.317 GB, free: 10.59 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001712/1.473, allocations: 198.8 kB / 1.317 GB, free: 10.57 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.376e-05/1.473, allocations: 34.34 kB / 1.317 GB, free: 10.57 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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.0005351/1.473, allocations: 309.6 kB / 1.318 GB, free: 10.44 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002541/1.474, allocations: 116.5 kB / 1.318 GB, free: 10.38 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004713/1.474, allocations: 273 kB / 1.318 GB, free: 10.33 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-06/1.474, allocations: 3.156 kB / 1.318 GB, free: 10.33 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/1.474, allocations: 2.938 kB / 1.318 GB, free: 10.33 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/1.474, allocations: 6.5 kB / 1.318 GB, free: 10.33 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00218/1.476, allocations: 1.677 MB / 1.32 GB, free: 9.543 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/1.476, allocations: 2.906 kB / 1.32 GB, free: 9.543 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001905/1.477, allocations: 42.52 kB / 1.32 GB, free: 9.543 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-05/1.477, allocations: 6.125 kB / 1.32 GB, free: 9.539 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/1.477, allocations: 8.75 kB / 1.32 GB, free: 9.539 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/1.477, allocations: 3.688 kB / 1.32 GB, free: 9.539 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/1.477, allocations: 7.25 kB / 1.32 GB, free: 9.535 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005031/1.477, allocations: 497.3 kB / 1.32 GB, free: 9.238 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003291/1.478, allocations: 232.9 kB / 1.32 GB, free: 9.082 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001356/1.478, allocations: 12.94 kB / 1.32 GB, free: 9.082 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007879/1.478, allocations: 84.48 kB / 1.32 GB, free: 9.066 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.7e-05/1.479, allocations: 15.94 kB / 1.32 GB, free: 9.066 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.229e-05/1.479, allocations: 21.47 kB / 1.321 GB, free: 9.059 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001404/1.48, allocations: 0.9248 MB / 1.321 GB, free: 8.941 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/1.48, allocations: 0 / 1.321 GB, free: 8.941 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000961/1.481, allocations: 279.6 kB / 1.322 GB, free: 8.914 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.0004728/1.481, allocations: 222.2 kB / 1.322 GB, free: 8.785 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001005/1.482, allocations: 446.9 kB / 1.322 GB, free: 8.773 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/1.482, allocations: 3.375 kB / 1.322 GB, free: 8.773 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001266/1.483, allocations: 103.9 kB / 1.322 GB, free: 8.773 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003068/1.486, allocations: 0.5608 MB / 1.323 GB, free: 8.727 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002744/1.488, allocations: 2.106 MB / 1.325 GB, free: 7.535 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006158/1.489, allocations: 1.115 MB / 1.326 GB, free: 6.816 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0007968/1.49, allocations: 225.5 kB / 1.326 GB, free: 6.762 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001632/1.49, allocations: 77.42 kB / 1.326 GB, free: 6.754 MB / 1.014 GB Notification: Performance of SimCode: time 6.12e-07/1.49, allocations: 0 / 1.326 GB, free: 6.754 MB / 1.014 GB Notification: Performance of Templates: time 0.03382/1.524, allocations: 17.44 MB / 1.343 GB, free: 1.805 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches