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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001072/0.001072, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001308/0.001308, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 223.3 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.589/2.589, allocations: 437.7 MB / 0.7117 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003321/0.0003322, allocations: 15.94 kB / 0.8722 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5867/0.5871, allocations: 153.8 MB / 1.022 GB, free: 44 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState): time 0.2018/0.789, allocations: 202.2 MB / 1.22 GB, free: 5.328 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01591/0.8049, allocations: 12.88 MB / 1.232 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001314/0.8063, allocations: 55.62 kB / 1.232 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001433/0.8077, allocations: 0.5433 MB / 1.233 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003708/0.8114, allocations: 1.613 MB / 1.235 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002306/0.8137, allocations: 0.9065 MB / 1.235 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003474/0.8172, allocations: 3.415 MB / 1.239 GB, free: 1.879 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001123/0.8184, allocations: 0.8729 MB / 1.24 GB, free: 0.9844 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.5507/1.369, allocations: 1.852 MB / 1.241 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002573/1.372, allocations: 0.938 MB / 1.242 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002428/1.372, allocations: 45.81 kB / 1.242 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002902/1.375, allocations: 0.9366 MB / 1.243 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0006029/1.375, allocations: 363.2 kB / 1.244 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005699/1.376, allocations: 273.5 kB / 1.244 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0025/1.379, allocations: 1.433 MB / 1.245 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/1.379, allocations: 0 / 1.245 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.053e-06/1.379, allocations: 0.875 kB / 1.245 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.249e-05/1.379, allocations: 0.9688 kB / 1.245 GB, free: 9.238 MB / 0.9825 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.002876/1.381, allocations: 1.431 MB / 1.247 GB, free: 24.41 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/1.382, allocations: 14.2 kB / 1.247 GB, free: 24.41 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002322/1.384, allocations: 468.6 kB / 1.247 GB, free: 24.33 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001482/1.385, allocations: 0.8551 MB / 1.248 GB, free: 24 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008675/1.386, allocations: 267.4 kB / 1.248 GB, free: 23.98 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001426/1.386, allocations: 93.41 kB / 1.248 GB, free: 23.98 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002319/1.389, allocations: 1.206 MB / 1.25 GB, free: 23.67 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.664e-05/1.389, allocations: 10.89 kB / 1.25 GB, free: 23.67 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.575e-05/1.389, allocations: 40.62 kB / 1.25 GB, free: 23.67 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.619e-05/1.389, allocations: 34.38 kB / 1.25 GB, free: 23.67 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002142/1.391, allocations: 0.918 MB / 1.251 GB, free: 23.65 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.007548/1.399, allocations: 5.637 MB / 1.256 GB, free: 20.22 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004304/1.399, allocations: 261.2 kB / 1.256 GB, free: 20.07 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001986/1.399, allocations: 146.4 kB / 1.256 GB, free: 20.03 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001859/1.399, allocations: 94.28 kB / 1.256 GB, free: 19.93 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/1.4, allocations: 45.33 kB / 1.257 GB, free: 19.89 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007932/1.4, allocations: 136.9 kB / 1.257 GB, free: 19.84 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=20): time 4.078e-06/1.4, allocations: 1.344 kB / 1.257 GB, free: 19.84 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20): time 0.001196/1.402, allocations: 460.9 kB / 1.257 GB, free: 19.75 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.799e-05/1.402, allocations: 193.8 kB / 1.257 GB, free: 19.53 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002074/1.404, allocations: 1.294 MB / 1.259 GB, free: 19.36 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.764e-05/1.404, allocations: 31.2 kB / 1.259 GB, free: 19.32 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004011/1.404, allocations: 0.613 MB / 1.259 GB, free: 19.08 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.527e-05/1.404, allocations: 75.83 kB / 1.259 GB, free: 19.04 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.022e-05/1.404, allocations: 8.562 kB / 1.259 GB, free: 19.04 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001027/1.404, allocations: 336.2 kB / 1.26 GB, free: 18.73 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006585/1.405, allocations: 251.2 kB / 1.26 GB, free: 18.72 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007772/1.406, allocations: 0.5356 MB / 1.26 GB, free: 18.36 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007319/1.407, allocations: 313.1 kB / 1.261 GB, free: 18.34 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/1.407, allocations: 3.156 kB / 1.261 GB, free: 18.34 MB / 0.9981 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001817/1.408, allocations: 0.862 MB / 1.261 GB, free: 18.21 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/1.408, allocations: 9.344 kB / 1.262 GB, free: 18.21 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/1.408, allocations: 9.438 kB / 1.262 GB, free: 18.21 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.477e-05/1.409, allocations: 13.59 kB / 1.262 GB, free: 18.21 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007129/1.409, allocations: 174.3 kB / 1.262 GB, free: 18.21 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.244e-05/1.409, allocations: 17.39 kB / 1.262 GB, free: 18.21 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001483/1.411, allocations: 205.9 kB / 1.262 GB, free: 18.19 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.761e-05/1.411, allocations: 40.06 kB / 1.262 GB, free: 18.18 MB / 0.9981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004393/1.411, allocations: 302.1 kB / 1.262 GB, free: 18.06 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002346/1.412, allocations: 116.9 kB / 1.262 GB, free: 18 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004631/1.412, allocations: 273.4 kB / 1.263 GB, free: 17.95 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/1.412, allocations: 8.219 kB / 1.263 GB, free: 17.95 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/1.412, allocations: 1.375 kB / 1.263 GB, free: 17.95 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/1.412, allocations: 5.781 kB / 1.263 GB, free: 17.95 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002063/1.414, allocations: 1.678 MB / 1.264 GB, free: 17.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/1.414, allocations: 6.391 kB / 1.264 GB, free: 17.16 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002076/1.414, allocations: 38.89 kB / 1.264 GB, free: 17.16 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.151e-06/1.414, allocations: 8.156 kB / 1.264 GB, free: 17.16 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.924e-05/1.414, allocations: 8.844 kB / 1.264 GB, free: 17.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-06/1.414, allocations: 11 kB / 1.264 GB, free: 17.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/1.414, allocations: 3.781 kB / 1.264 GB, free: 17.16 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004561/1.415, allocations: 495.2 kB / 1.265 GB, free: 16.86 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003048/1.415, allocations: 236.8 kB / 1.265 GB, free: 16.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001574/1.415, allocations: 15.84 kB / 1.265 GB, free: 16.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007401/1.416, allocations: 74.33 kB / 1.265 GB, free: 16.69 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.857e-05/1.416, allocations: 26.84 kB / 1.265 GB, free: 16.68 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.043e-05/1.416, allocations: 8.125 kB / 1.265 GB, free: 16.68 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001401/1.418, allocations: 0.9165 MB / 1.266 GB, free: 16.56 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.61e-07/1.418, allocations: 0 / 1.266 GB, free: 16.56 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009928/1.419, allocations: 279.6 kB / 1.266 GB, free: 16.54 MB / 0.9981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004382/1.419, allocations: 214 kB / 1.267 GB, free: 16.43 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009776/1.42, allocations: 455.5 kB / 1.267 GB, free: 16.41 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/1.42, allocations: 1.531 kB / 1.267 GB, free: 16.41 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001371/1.42, allocations: 96.31 kB / 1.267 GB, free: 16.41 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002375/1.423, allocations: 0.5584 MB / 1.268 GB, free: 16.37 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002354/1.425, allocations: 2.029 MB / 1.27 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006206/1.426, allocations: 1.115 MB / 1.271 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008311/1.426, allocations: 227.9 kB / 1.271 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001708/1.427, allocations: 72.06 kB / 1.271 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of SimCode: time 6.11e-07/1.427, allocations: 0 / 1.271 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of Templates: time 0.02617/1.453, allocations: 16.94 MB / 1.287 GB, free: 13.45 MB / 0.9981 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