Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009641/0.0009643, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007555/0.007555, allocations: 169.8 kB / 16.27 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.278/1.278, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.211/2.211, allocations: 390.9 MB / 0.6664 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000289/0.000289, allocations: 8 kB / 0.8161 GB, free: 13.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5336/0.5339, allocations: 142.4 MB / 0.9552 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState): time 0.1917/0.7256, allocations: 216.7 MB / 1.167 GB, free: 6.047 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01612/0.7418, allocations: 13.69 MB / 1.18 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001389/0.7432, allocations: 55.62 kB / 1.18 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001549/0.7448, allocations: 0.6682 MB / 1.181 GB, free: 7.594 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00426/0.749, allocations: 2.046 MB / 1.183 GB, free: 5.539 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002314/0.7514, allocations: 1.034 MB / 1.184 GB, free: 4.512 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.003821/0.7552, allocations: 4.028 MB / 1.188 GB, free: 492 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001138/0.7563, allocations: 0.9951 MB / 1.189 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004451/0.7608, allocations: 2.203 MB / 1.191 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002154/0.763, allocations: 1.02 MB / 1.192 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001042/0.7631, allocations: 48 kB / 1.192 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002763/0.7659, allocations: 1.82 MB / 1.194 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.000329/0.7662, allocations: 374.7 kB / 1.194 GB, free: 10.01 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.000579/0.7668, allocations: 0.6311 MB / 1.195 GB, free: 9.367 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002128/0.7689, allocations: 2.079 MB / 1.197 GB, free: 7.281 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.7689, allocations: 0 / 1.197 GB, free: 7.281 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.343e-06/0.7689, allocations: 3.938 kB / 1.197 GB, free: 7.277 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.197e-05/0.769, allocations: 0 / 1.197 GB, free: 7.277 MB / 0.9512 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.002018/0.771, allocations: 1.413 MB / 1.198 GB, free: 5.812 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.771, allocations: 12.03 kB / 1.198 GB, free: 5.801 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001427/0.7712, allocations: 135.6 kB / 1.198 GB, free: 5.66 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002036/0.7732, allocations: 469.8 kB / 1.199 GB, free: 5.199 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001117/0.7743, allocations: 0.9013 MB / 1.2 GB, free: 4.254 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000885/0.7752, allocations: 261.8 kB / 1.2 GB, free: 3.996 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/0.7754, allocations: 88 kB / 1.2 GB, free: 3.91 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001867/0.7772, allocations: 1.222 MB / 1.201 GB, free: 2.594 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/0.7773, allocations: 15.88 kB / 1.201 GB, free: 2.578 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.108e-05/0.7773, allocations: 39.98 kB / 1.201 GB, free: 2.539 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.272e-05/0.7774, allocations: 37.3 kB / 1.201 GB, free: 2.5 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001916/0.7793, allocations: 0.922 MB / 1.202 GB, free: 1.574 MB / 0.9512 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.005864/0.7852, allocations: 5.635 MB / 1.208 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003694/0.7856, allocations: 259.7 kB / 1.208 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001911/0.7858, allocations: 157 kB / 1.208 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001411/0.7859, allocations: 93.09 kB / 1.208 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/0.786, allocations: 38.78 kB / 1.208 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005628/0.7865, allocations: 139 kB / 1.208 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=20): time 2.906e-06/0.7865, allocations: 3.984 kB / 1.208 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of matching and sorting (n=20): time 0.001035/0.7876, allocations: 464.2 kB / 1.209 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.752e-05/0.7877, allocations: 187.9 kB / 1.209 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001802/0.7895, allocations: 1.314 MB / 1.21 GB, free: 8.875 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.012e-05/0.7895, allocations: 29.7 kB / 1.21 GB, free: 8.84 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004244/0.79, allocations: 0.6206 MB / 1.211 GB, free: 8.211 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.62e-05/0.79, allocations: 67 kB / 1.211 GB, free: 8.145 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.479e-05/0.7901, allocations: 49.69 kB / 1.211 GB, free: 8.09 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.7902, allocations: 330 kB / 1.211 GB, free: 7.762 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006868/0.7909, allocations: 248.9 kB / 1.211 GB, free: 7.516 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008673/0.7918, allocations: 0.5537 MB / 1.212 GB, free: 6.828 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001045/0.7928, allocations: 0.6604 MB / 1.213 GB, free: 6.043 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.7928, allocations: 4 kB / 1.213 GB, free: 6.039 MB / 0.9669 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001813/0.7947, allocations: 0.8564 MB / 1.213 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.7947, allocations: 12 kB / 1.214 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.517e-06/0.7947, allocations: 8.844 kB / 1.214 GB, free: 5.156 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.7947, allocations: 12 kB / 1.214 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006542/0.7954, allocations: 179.7 kB / 1.214 GB, free: 4.969 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.709e-05/0.7954, allocations: 23.86 kB / 1.214 GB, free: 4.945 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001335/0.7967, allocations: 195.7 kB / 1.214 GB, free: 4.754 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.015e-05/0.7968, allocations: 35.98 kB / 1.214 GB, free: 4.719 MB / 0.9669 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.0003128/0.7971, allocations: 298 kB / 1.214 GB, free: 4.418 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002034/0.7973, allocations: 118.5 kB / 1.214 GB, free: 4.301 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004203/0.7978, allocations: 280.7 kB / 1.215 GB, free: 4.02 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.7978, allocations: 0 / 1.215 GB, free: 4.02 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.7978, allocations: 11.88 kB / 1.215 GB, free: 4.008 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.7978, allocations: 0 / 1.215 GB, free: 4.008 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001781/0.7996, allocations: 1.678 MB / 1.216 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.972e-06/0.7996, allocations: 7.984 kB / 1.216 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001804/0.7998, allocations: 35.98 kB / 1.216 GB, free: 2.184 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.7998, allocations: 7.938 kB / 1.216 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/0.7998, allocations: 8 kB / 1.216 GB, free: 2.168 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.7998, allocations: 4 kB / 1.216 GB, free: 2.164 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.7998, allocations: 4 kB / 1.216 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004412/0.8003, allocations: 0.4906 MB / 1.217 GB, free: 1.613 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000261/0.8005, allocations: 231.6 kB / 1.217 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000129/0.8007, allocations: 11.98 kB / 1.217 GB, free: 1.355 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007515/0.8014, allocations: 83.78 kB / 1.217 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.398e-05/0.8015, allocations: 19.86 kB / 1.217 GB, free: 1.254 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.705e-05/0.8015, allocations: 12 kB / 1.217 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001339/0.8028, allocations: 0.931 MB / 1.218 GB, free: 316 kB / 0.9669 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8029, allocations: 0 / 1.218 GB, free: 316 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0007014/0.8036, allocations: 279.5 kB / 1.218 GB, free: 36 kB / 0.9669 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.0009265/0.8045, allocations: 1.128 MB / 1.219 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0009786/0.8055, allocations: 456.9 kB / 1.22 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.8055, allocations: 0 / 1.22 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000134/0.8056, allocations: 101 kB / 1.22 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002819/0.8085, allocations: 0.562 MB / 1.221 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01154/0.82, allocations: 8.978 MB / 1.229 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005679/0.8206, allocations: 1.118 MB / 1.23 GB, free: 3.016 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0006817/0.8213, allocations: 217.3 kB / 1.231 GB, free: 2.801 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004345/0.8217, allocations: 419.3 kB / 1.231 GB, free: 2.391 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.8217, allocations: 0 / 1.231 GB, free: 2.391 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.925/1.747, allocations: 25.95 MB / 1.256 GB, free: 283.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000145/1.747, allocations: 273.8 kB / 1.257 GB, free: 283.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.299/4.046, allocations: 0 / 1.257 GB, free: 283.3 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches