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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState,fileNamePrefix="Buildings_latest_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.004864/0.004864, allocations: 97.41 kB / 15.73 MB, free: 6.043 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.001281/0.001281, allocations: 195.8 kB / 16.67 MB, free: 5.965 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.477/1.477, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.93/2.93, allocations: 482.4 MB / 0.7548 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 63.89 kB / 1.083 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2922/0.2941, allocations: 162.2 MB / 1.241 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState): time 0.8052/1.099, allocations: 222 MB / 1.458 GB, free: 9.641 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.02001/1.119, allocations: 13.76 MB / 1.472 GB, free: 11.84 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002098/1.122, allocations: 67.62 kB / 1.472 GB, free: 11.77 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.002/1.124, allocations: 0.8035 MB / 1.473 GB, free: 10.96 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.005398/1.129, allocations: 2.146 MB / 1.475 GB, free: 8.809 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002993/1.132, allocations: 1.188 MB / 1.476 GB, free: 7.637 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.004/1.136, allocations: 2.876 MB / 1.479 GB, free: 4.75 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001627/1.138, allocations: 1.196 MB / 1.48 GB, free: 3.535 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005979/1.144, allocations: 2.601 MB / 1.482 GB, free: 0.9336 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002189/1.146, allocations: 1.011 MB / 1.483 GB, free: 15.94 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001997/1.146, allocations: 100 kB / 1.483 GB, free: 15.84 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00306/1.149, allocations: 1.575 MB / 1.485 GB, free: 14.26 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0004654/1.15, allocations: 434.6 kB / 1.485 GB, free: 13.84 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0007918/1.15, allocations: 0.6801 MB / 1.486 GB, free: 13.15 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002998/1.153, allocations: 2.086 MB / 1.488 GB, free: 11.06 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/1.153, allocations: 0 / 1.488 GB, free: 11.06 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.393e-06/1.153, allocations: 4 kB / 1.488 GB, free: 11.05 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.049e-05/1.153, allocations: 0 / 1.488 GB, free: 11.05 MB / 1.186 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.002565/1.156, allocations: 1.691 MB / 1.49 GB, free: 9.305 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/1.156, allocations: 8.031 kB / 1.49 GB, free: 9.297 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001706/1.156, allocations: 143.6 kB / 1.49 GB, free: 9.148 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002244/1.159, allocations: 446.6 kB / 1.49 GB, free: 8.711 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001534/1.16, allocations: 0.9535 MB / 1.491 GB, free: 7.715 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.066e-05/1.16, allocations: 69.94 kB / 1.491 GB, free: 7.648 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001265/1.16, allocations: 91.94 kB / 1.491 GB, free: 7.559 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002153/1.162, allocations: 1.219 MB / 1.493 GB, free: 6.219 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.771e-05/1.162, allocations: 7.938 kB / 1.493 GB, free: 6.211 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.91e-05/1.163, allocations: 40 kB / 1.493 GB, free: 6.172 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-05/1.163, allocations: 37.3 kB / 1.493 GB, free: 6.137 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002055/1.165, allocations: 0.878 MB / 1.494 GB, free: 5.262 MB / 1.186 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.007289/1.172, allocations: 6.264 MB / 1.5 GB, free: 14.66 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004543/1.172, allocations: 259.7 kB / 1.5 GB, free: 14.35 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002187/1.173, allocations: 145 kB / 1.5 GB, free: 14.19 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001894/1.173, allocations: 109.3 kB / 1.5 GB, free: 14.06 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/1.173, allocations: 34.5 kB / 1.5 GB, free: 14.02 MB / 1.201 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006499/1.174, allocations: 127.3 kB / 1.5 GB, free: 13.89 MB / 1.201 GB Notification: Performance of pre-optimization done (n=20): time 1.854e-06/1.174, allocations: 0 / 1.5 GB, free: 13.89 MB / 1.201 GB Notification: Performance of matching and sorting (n=20): time 0.00123/1.175, allocations: 476.4 kB / 1.501 GB, free: 13.42 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/1.175, allocations: 188.4 kB / 1.501 GB, free: 13.2 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001993/1.177, allocations: 1.299 MB / 1.502 GB, free: 11.88 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.88e-05/1.177, allocations: 33.7 kB / 1.502 GB, free: 11.84 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005351/1.178, allocations: 0.6295 MB / 1.503 GB, free: 11.21 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 8.137e-05/1.178, allocations: 91.23 kB / 1.503 GB, free: 11.12 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002253/1.178, allocations: 142.1 kB / 1.503 GB, free: 10.97 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001463/1.178, allocations: 333.9 kB / 1.503 GB, free: 10.64 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006953/1.179, allocations: 236.9 kB / 1.504 GB, free: 10.41 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009776/1.18, allocations: 0.5597 MB / 1.504 GB, free: 9.703 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001204/1.181, allocations: 0.6955 MB / 1.505 GB, free: 8.867 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/1.181, allocations: 0 / 1.505 GB, free: 8.867 MB / 1.201 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001992/1.183, allocations: 0.8538 MB / 1.506 GB, free: 8.008 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/1.183, allocations: 9.562 kB / 1.506 GB, free: 8 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/1.183, allocations: 12.88 kB / 1.506 GB, free: 7.988 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.553e-05/1.183, allocations: 15.98 kB / 1.506 GB, free: 7.973 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007334/1.184, allocations: 175.7 kB / 1.506 GB, free: 7.801 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.392e-05/1.184, allocations: 19.92 kB / 1.506 GB, free: 7.781 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001266/1.185, allocations: 135.2 kB / 1.506 GB, free: 7.652 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.754e-05/1.185, allocations: 35.98 kB / 1.506 GB, free: 7.617 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (69): * Single equations (assignments): 69 * 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.0004285/1.186, allocations: 297.5 kB / 1.506 GB, free: 7.316 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002536/1.186, allocations: 123.2 kB / 1.506 GB, free: 7.195 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005111/1.186, allocations: 284.8 kB / 1.507 GB, free: 6.91 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/1.186, allocations: 7.938 kB / 1.507 GB, free: 6.902 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/1.186, allocations: 4 kB / 1.507 GB, free: 6.898 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.347e-06/1.186, allocations: 7.922 kB / 1.507 GB, free: 6.891 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002297/1.189, allocations: 1.675 MB / 1.508 GB, free: 5.113 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/1.189, allocations: 4 kB / 1.508 GB, free: 5.109 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002225/1.189, allocations: 39.92 kB / 1.508 GB, free: 5.07 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.171e-06/1.189, allocations: 4 kB / 1.508 GB, free: 5.066 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.927e-05/1.189, allocations: 8 kB / 1.508 GB, free: 5.059 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.054e-06/1.189, allocations: 7.984 kB / 1.508 GB, free: 5.051 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.117e-06/1.189, allocations: 9.062 kB / 1.508 GB, free: 5.043 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005907/1.19, allocations: 0.4913 MB / 1.509 GB, free: 4.496 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003367/1.19, allocations: 244.2 kB / 1.509 GB, free: 4.238 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000148/1.19, allocations: 8 kB / 1.509 GB, free: 4.23 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007363/1.191, allocations: 51.94 kB / 1.509 GB, free: 4.18 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.568e-05/1.191, allocations: 16.16 kB / 1.509 GB, free: 4.164 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.371e-05/1.191, allocations: 12 kB / 1.509 GB, free: 4.152 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001552/1.192, allocations: 0.912 MB / 1.51 GB, free: 3.238 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.993e-06/1.192, allocations: 4 kB / 1.51 GB, free: 3.234 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0008635/1.193, allocations: 279.5 kB / 1.51 GB, free: 2.961 MB / 1.201 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.001224/1.195, allocations: 1.147 MB / 1.512 GB, free: 1.758 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001099/1.196, allocations: 453.2 kB / 1.512 GB, free: 1.316 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 6.663e-06/1.196, allocations: 0 / 1.512 GB, free: 1.316 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0001661/1.196, allocations: 109.2 kB / 1.512 GB, free: 1.211 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002653/1.199, allocations: 0.5758 MB / 1.513 GB, free: 0.6445 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01269/1.211, allocations: 8.16 MB / 1.521 GB, free: 8.004 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007797/1.212, allocations: 1.118 MB / 1.522 GB, free: 6.855 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0008073/1.213, allocations: 233.6 kB / 1.522 GB, free: 6.625 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005464/1.213, allocations: 415.3 kB / 1.522 GB, free: 6.219 MB / 1.217 GB Notification: Performance of SimCode: time 3.91e-07/1.213, allocations: 0 / 1.522 GB, free: 6.219 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05825/1.272, allocations: 27.55 MB / 1.549 GB, free: 11.12 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.673/10.94, allocations: 14.22 kB / 1.549 GB, free: 11.11 MB / 1.248 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState_res.csv","/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