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.00114/0.00114, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001285/0.001285, allocations: 194.6 kB / 16.14 MB, free: 6.648 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.31/1.31, allocations: 222.9 MB / 239.8 MB, free: 4.531 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.142/2.142, allocations: 390.2 MB / 0.6643 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 67.89 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5296/0.5309, allocations: 140.4 MB / 0.9491 GB, free: 9.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState): time 0.194/0.7249, allocations: 219.6 MB / 1.164 GB, free: 5.684 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01646/0.7414, allocations: 13.85 MB / 1.177 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001651/0.743, allocations: 59.62 kB / 1.177 GB, free: 7.738 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001928/0.745, allocations: 0.6838 MB / 1.178 GB, free: 7.051 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.004873/0.7499, allocations: 2.035 MB / 1.18 GB, free: 5.008 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002498/0.7524, allocations: 1.028 MB / 1.181 GB, free: 3.988 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.003902/0.7563, allocations: 4.028 MB / 1.185 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001399/0.7577, allocations: 1.041 MB / 1.186 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004641/0.7624, allocations: 2.238 MB / 1.188 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002086/0.7645, allocations: 1.066 MB / 1.189 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001297/0.7646, allocations: 64 kB / 1.189 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002586/0.7672, allocations: 1.839 MB / 1.191 GB, free: 9.691 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003424/0.7676, allocations: 406.6 kB / 1.191 GB, free: 9.293 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0005862/0.7682, allocations: 0.6411 MB / 1.192 GB, free: 8.648 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001969/0.7701, allocations: 2.107 MB / 1.194 GB, free: 6.535 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.7701, allocations: 0 / 1.194 GB, free: 6.535 MB / 0.9512 GB Notification: Performance of FrontEnd: time 7.21e-07/0.7701, allocations: 3.938 kB / 1.194 GB, free: 6.531 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.38e-05/0.7702, allocations: 3.938 kB / 1.194 GB, free: 6.527 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.002189/0.7724, allocations: 1.656 MB / 1.196 GB, free: 4.816 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.7724, allocations: 12.03 kB / 1.196 GB, free: 4.805 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001427/0.7725, allocations: 135.6 kB / 1.196 GB, free: 4.664 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002062/0.7746, allocations: 433.9 kB / 1.196 GB, free: 4.238 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001173/0.7758, allocations: 0.8935 MB / 1.197 GB, free: 3.301 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008476/0.7767, allocations: 237.8 kB / 1.197 GB, free: 3.07 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/0.7768, allocations: 88 kB / 1.197 GB, free: 2.984 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001871/0.7787, allocations: 1.206 MB / 1.198 GB, free: 1.676 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.7787, allocations: 7.875 kB / 1.198 GB, free: 1.668 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.583e-05/0.7788, allocations: 40 kB / 1.198 GB, free: 1.629 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.893e-05/0.7788, allocations: 37.3 kB / 1.199 GB, free: 1.594 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001866/0.7807, allocations: 0.9024 MB / 1.199 GB, free: 0.6875 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.005809/0.7865, allocations: 5.6 MB / 1.205 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003719/0.7869, allocations: 263.7 kB / 1.205 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001862/0.7871, allocations: 153.1 kB / 1.205 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001429/0.7872, allocations: 93.09 kB / 1.205 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/0.7873, allocations: 42.72 kB / 1.205 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005762/0.7879, allocations: 135.1 kB / 1.206 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=20): time 1.583e-06/0.7879, allocations: 0 / 1.206 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of matching and sorting (n=20): time 0.001054/0.7889, allocations: 464.2 kB / 1.206 GB, free: 9.586 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.746e-05/0.789, allocations: 187.9 kB / 1.206 GB, free: 9.359 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001693/0.7907, allocations: 1.294 MB / 1.207 GB, free: 8.047 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.954e-05/0.7907, allocations: 33.7 kB / 1.207 GB, free: 8.008 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004033/0.7912, allocations: 0.6166 MB / 1.208 GB, free: 7.387 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.488e-05/0.7912, allocations: 71 kB / 1.208 GB, free: 7.316 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001846/0.7914, allocations: 134 kB / 1.208 GB, free: 7.176 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.7915, allocations: 326 kB / 1.209 GB, free: 6.852 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006751/0.7922, allocations: 244.9 kB / 1.209 GB, free: 6.613 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008146/0.793, allocations: 0.5226 MB / 1.209 GB, free: 5.957 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009784/0.794, allocations: 0.6516 MB / 1.21 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.794, allocations: 4 kB / 1.21 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001741/0.7958, allocations: 0.8292 MB / 1.211 GB, free: 4.34 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.7958, allocations: 9.875 kB / 1.211 GB, free: 4.332 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.7958, allocations: 12 kB / 1.211 GB, free: 4.32 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.7958, allocations: 12 kB / 1.211 GB, free: 4.309 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006544/0.7965, allocations: 164.3 kB / 1.211 GB, free: 4.148 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.627e-05/0.7965, allocations: 19.88 kB / 1.211 GB, free: 4.129 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001254/0.7978, allocations: 180.2 kB / 1.211 GB, free: 3.953 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.419e-05/0.7978, allocations: 35.98 kB / 1.211 GB, free: 3.918 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.0003247/0.7982, allocations: 302 kB / 1.211 GB, free: 3.613 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000218/0.7984, allocations: 122.5 kB / 1.212 GB, free: 3.492 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004064/0.7988, allocations: 276.2 kB / 1.212 GB, free: 3.215 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.7988, allocations: 0 / 1.212 GB, free: 3.215 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.7988, allocations: 11.88 kB / 1.212 GB, free: 3.203 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.7988, allocations: 4.219 kB / 1.212 GB, free: 3.199 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001866/0.8007, allocations: 1.686 MB / 1.213 GB, free: 1.41 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.8007, allocations: 4 kB / 1.213 GB, free: 1.406 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001892/0.8009, allocations: 35.92 kB / 1.214 GB, free: 1.371 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.855e-06/0.8009, allocations: 11.98 kB / 1.214 GB, free: 1.359 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.644e-05/0.801, allocations: 8 kB / 1.214 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.119e-06/0.801, allocations: 7.984 kB / 1.214 GB, free: 1.344 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.249e-06/0.801, allocations: 7.938 kB / 1.214 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004609/0.8014, allocations: 497 kB / 1.214 GB, free: 0.7969 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002779/0.8017, allocations: 231.6 kB / 1.214 GB, free: 0.5508 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001399/0.8019, allocations: 4 kB / 1.214 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007266/0.8026, allocations: 75.77 kB / 1.214 GB, free: 484 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.794e-05/0.8027, allocations: 23.92 kB / 1.214 GB, free: 460 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-05/0.8027, allocations: 8 kB / 1.214 GB, free: 452 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001394/0.8041, allocations: 0.9115 MB / 1.215 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8041, allocations: 0 / 1.215 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0007503/0.8048, allocations: 275.5 kB / 1.216 GB, free: 15.26 MB / 0.9825 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.0009004/0.8057, allocations: 1.118 MB / 1.217 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0009137/0.8067, allocations: 444.9 kB / 1.217 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.8067, allocations: 0 / 1.217 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001318/0.8068, allocations: 105 kB / 1.217 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00222/0.809, allocations: 0.5635 MB / 1.218 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01152/0.8206, allocations: 8.863 MB / 1.226 GB, free: 3.508 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000583/0.8212, allocations: 1.118 MB / 1.227 GB, free: 2.359 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0006977/0.8219, allocations: 217.3 kB / 1.228 GB, free: 2.145 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004438/0.8223, allocations: 415.3 kB / 1.228 GB, free: 1.738 MB / 0.9825 GB Notification: Performance of SimCode: time 1.343e-06/0.8223, allocations: 3.938 kB / 1.228 GB, free: 1.734 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.444/2.266, allocations: 26.17 MB / 1.254 GB, free: 284.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001548/2.267, allocations: 282.8 kB / 1.254 GB, free: 284.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.73/4.997, allocations: 0.5 kB / 1.254 GB, free: 284.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