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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001067/0.001073, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 172.4 kB / 16.92 MB, free: 6.652 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.427/1.427, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.899/2.899, allocations: 462.7 MB / 0.7371 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003356/0.0003356, allocations: 9.406 kB / 0.9034 GB, free: 36.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3438/0.3441, allocations: 159.6 MB / 1.059 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState): time 0.923/1.267, allocations: 216.7 MB / 1.271 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01798/1.285, allocations: 13.7 MB / 1.284 GB, free: 2.445 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002666/1.288, allocations: 53.06 kB / 1.284 GB, free: 2.445 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002358/1.29, allocations: 0.6747 MB / 1.285 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006213/1.297, allocations: 2.04 MB / 1.287 GB, free: 2.324 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00348/1.3, allocations: 1.051 MB / 1.288 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.008704/1.309, allocations: 4.014 MB / 1.292 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002313/1.311, allocations: 0.9966 MB / 1.293 GB, free: 2.109 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007408/1.319, allocations: 2.205 MB / 1.295 GB, free: 2.051 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003972/1.323, allocations: 1.01 MB / 1.296 GB, free: 2.047 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004856/1.323, allocations: 48.66 kB / 1.296 GB, free: 2.047 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005148/1.328, allocations: 1.82 MB / 1.298 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009889/1.329, allocations: 378.9 kB / 1.298 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002469/1.332, allocations: 0.6347 MB / 1.299 GB, free: 17.98 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003151/1.335, allocations: 1.496 MB / 1.3 GB, free: 17.86 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/1.335, allocations: 0.5312 kB / 1.3 GB, free: 17.86 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.034e-06/1.335, allocations: 0 / 1.3 GB, free: 17.86 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.052e-05/1.335, allocations: 1.594 kB / 1.3 GB, free: 17.86 MB / 1.014 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.003813/1.339, allocations: 1.415 MB / 1.302 GB, free: 17 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/1.339, allocations: 13.44 kB / 1.302 GB, free: 17 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002881/1.342, allocations: 478.8 kB / 1.302 GB, free: 16.91 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002383/1.344, allocations: 0.8879 MB / 1.303 GB, free: 16.55 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000991/1.345, allocations: 265.7 kB / 1.303 GB, free: 16.53 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002629/1.345, allocations: 92.75 kB / 1.303 GB, free: 16.52 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002881/1.348, allocations: 1.226 MB / 1.305 GB, free: 16.21 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.584e-05/1.348, allocations: 5.094 kB / 1.305 GB, free: 16.21 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001181/1.348, allocations: 42.06 kB / 1.305 GB, free: 16.21 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-05/1.349, allocations: 38.42 kB / 1.305 GB, free: 16.21 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002545/1.351, allocations: 0.9275 MB / 1.306 GB, free: 16.18 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.009147/1.36, allocations: 5.627 MB / 1.311 GB, free: 12.74 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004682/1.361, allocations: 262.1 kB / 1.311 GB, free: 12.6 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002256/1.361, allocations: 157.9 kB / 1.311 GB, free: 12.54 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002014/1.361, allocations: 96.75 kB / 1.312 GB, free: 12.45 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.011e-05/1.361, allocations: 46.45 kB / 1.312 GB, free: 12.41 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001049/1.362, allocations: 132 kB / 1.312 GB, free: 12.36 MB / 1.014 GB Notification: Performance of pre-optimization done (n=20): time 4.278e-06/1.362, allocations: 0 / 1.312 GB, free: 12.36 MB / 1.014 GB Notification: Performance of matching and sorting (n=20): time 0.001486/1.364, allocations: 470.1 kB / 1.312 GB, free: 12.26 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001113/1.364, allocations: 186.9 kB / 1.312 GB, free: 12.04 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002748/1.367, allocations: 1.312 MB / 1.314 GB, free: 11.86 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.921e-05/1.367, allocations: 30.61 kB / 1.314 GB, free: 11.83 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005977/1.367, allocations: 0.6121 MB / 1.314 GB, free: 11.59 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/1.368, allocations: 76.89 kB / 1.314 GB, free: 11.55 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/1.368, allocations: 46 kB / 1.314 GB, free: 11.53 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001753/1.368, allocations: 329.7 kB / 1.315 GB, free: 11.23 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007232/1.369, allocations: 255.7 kB / 1.315 GB, free: 11.21 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009067/1.369, allocations: 0.5378 MB / 1.315 GB, free: 10.85 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001187/1.371, allocations: 0.66 MB / 1.316 GB, free: 10.5 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.716e-06/1.371, allocations: 1.844 kB / 1.316 GB, free: 10.5 MB / 1.014 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002172/1.373, allocations: 0.8664 MB / 1.317 GB, free: 10.38 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/1.373, allocations: 11.66 kB / 1.317 GB, free: 10.38 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.095e-05/1.373, allocations: 9.094 kB / 1.317 GB, free: 10.38 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.035e-05/1.373, allocations: 12.38 kB / 1.317 GB, free: 10.38 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007235/1.374, allocations: 175 kB / 1.317 GB, free: 10.38 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.991e-05/1.374, allocations: 19.39 kB / 1.317 GB, free: 10.38 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001864/1.376, allocations: 205.4 kB / 1.317 GB, free: 10.35 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.943e-05/1.376, allocations: 35.09 kB / 1.317 GB, free: 10.35 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.0005979/1.376, allocations: 301 kB / 1.318 GB, free: 10.23 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003743/1.377, allocations: 123.2 kB / 1.318 GB, free: 10.16 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005411/1.377, allocations: 270.9 kB / 1.318 GB, free: 10.12 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/1.377, allocations: 3.25 kB / 1.318 GB, free: 10.12 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.238e-06/1.377, allocations: 5.812 kB / 1.318 GB, free: 10.12 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/1.377, allocations: 3.281 kB / 1.318 GB, free: 10.12 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002529/1.38, allocations: 1.677 MB / 1.32 GB, free: 9.328 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/1.38, allocations: 2.438 kB / 1.32 GB, free: 9.328 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001982/1.38, allocations: 38.66 kB / 1.32 GB, free: 9.328 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.008e-05/1.38, allocations: 10.38 kB / 1.32 GB, free: 9.324 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.292e-05/1.38, allocations: 8.312 kB / 1.32 GB, free: 9.324 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/1.38, allocations: 7.781 kB / 1.32 GB, free: 9.324 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/1.38, allocations: 3.312 kB / 1.32 GB, free: 9.324 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006068/1.381, allocations: 0.4884 MB / 1.32 GB, free: 9.023 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005019/1.381, allocations: 234.7 kB / 1.32 GB, free: 8.867 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002711/1.382, allocations: 12.91 kB / 1.32 GB, free: 8.863 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009208/1.382, allocations: 86.11 kB / 1.321 GB, free: 8.848 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.603e-05/1.382, allocations: 17.19 kB / 1.321 GB, free: 8.848 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.512e-05/1.383, allocations: 15.66 kB / 1.321 GB, free: 8.844 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001569/1.384, allocations: 0.9275 MB / 1.322 GB, free: 8.723 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.51e-07/1.384, allocations: 0 / 1.322 GB, free: 8.723 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001086/1.385, allocations: 277.3 kB / 1.322 GB, free: 8.695 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.0005524/1.386, allocations: 200.5 kB / 1.322 GB, free: 8.586 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001109/1.387, allocations: 455.6 kB / 1.322 GB, free: 8.574 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/1.387, allocations: 0.75 kB / 1.322 GB, free: 8.574 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000148/1.387, allocations: 105 kB / 1.322 GB, free: 8.57 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003392/1.39, allocations: 0.5656 MB / 1.323 GB, free: 8.52 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003324/1.394, allocations: 2.163 MB / 1.325 GB, free: 7.293 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008356/1.395, allocations: 1.114 MB / 1.326 GB, free: 6.574 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002648/1.395, allocations: 83.86 kB / 1.326 GB, free: 6.566 MB / 1.014 GB Notification: Performance of SimCode: time 4.71e-07/1.395, allocations: 0 / 1.326 GB, free: 6.566 MB / 1.014 GB Notification: Performance of Templates: time 0.02958/1.425, allocations: 16.95 MB / 1.343 GB, free: 1.82 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches