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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.007393/0.007393, allocations: 102.3 kB / 15.73 MB, free: 6.062 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.001653/0.001653, allocations: 192.4 kB / 16.67 MB, free: 5.973 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.302/1.302, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.21/2.21, allocations: 390.3 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 63.91 kB / 0.9504 GB, free: 8.078 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7178/0.7192, allocations: 140.4 MB / 1.088 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState): time 0.2332/0.9524, allocations: 221.9 MB / 1.304 GB, free: 15.72 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01827/0.9707, allocations: 13.75 MB / 1.318 GB, free: 1.926 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00222/0.973, allocations: 67.62 kB / 1.318 GB, free: 1.859 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.002122/0.9751, allocations: 0.8387 MB / 1.319 GB, free: 1.016 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.005457/0.9806, allocations: 2.236 MB / 1.321 GB, free: 14.77 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.003103/0.9837, allocations: 1.191 MB / 1.322 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.003821/0.9876, allocations: 2.897 MB / 1.325 GB, free: 10.69 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001627/0.9892, allocations: 1.194 MB / 1.326 GB, free: 9.469 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005892/0.9951, allocations: 2.526 MB / 1.328 GB, free: 6.941 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002008/0.9972, allocations: 1.028 MB / 1.329 GB, free: 5.926 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0002012/0.9974, allocations: 96 kB / 1.329 GB, free: 5.832 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003005/1, allocations: 1.586 MB / 1.331 GB, free: 4.242 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0004542/1.001, allocations: 442.6 kB / 1.331 GB, free: 3.809 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0008387/1.002, allocations: 0.6762 MB / 1.332 GB, free: 3.129 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.003347/1.005, allocations: 2.086 MB / 1.334 GB, free: 1.035 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/1.005, allocations: 0 / 1.334 GB, free: 1.035 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.664e-06/1.005, allocations: 3.938 kB / 1.334 GB, free: 1.031 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.249e-05/1.005, allocations: 4 kB / 1.334 GB, free: 1.027 MB / 1.061 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.002593/1.008, allocations: 1.691 MB / 1.336 GB, free: 15.28 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/1.008, allocations: 8.031 kB / 1.336 GB, free: 15.27 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001753/1.008, allocations: 143.6 kB / 1.336 GB, free: 15.12 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002272/1.01, allocations: 438.6 kB / 1.336 GB, free: 14.7 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001559/1.012, allocations: 0.9568 MB / 1.337 GB, free: 13.7 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.129e-05/1.012, allocations: 74 kB / 1.337 GB, free: 13.62 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001195/1.012, allocations: 88 kB / 1.337 GB, free: 13.54 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002018/1.014, allocations: 1.219 MB / 1.339 GB, free: 12.2 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.794e-05/1.014, allocations: 11.94 kB / 1.339 GB, free: 12.19 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.124e-05/1.014, allocations: 40 kB / 1.339 GB, free: 12.15 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.292e-05/1.014, allocations: 33.3 kB / 1.339 GB, free: 12.12 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001956/1.016, allocations: 0.8711 MB / 1.34 GB, free: 11.25 MB / 1.076 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.006878/1.023, allocations: 6.037 MB / 1.345 GB, free: 4.926 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004154/1.024, allocations: 255.7 kB / 1.346 GB, free: 4.621 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000202/1.024, allocations: 153.1 kB / 1.346 GB, free: 4.453 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001777/1.024, allocations: 101 kB / 1.346 GB, free: 4.336 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/1.024, allocations: 34.56 kB / 1.346 GB, free: 4.293 MB / 1.076 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006938/1.025, allocations: 123.3 kB / 1.346 GB, free: 4.172 MB / 1.076 GB Notification: Performance of pre-optimization done (n=20): time 2.825e-06/1.025, allocations: 3.938 kB / 1.346 GB, free: 4.168 MB / 1.076 GB Notification: Performance of matching and sorting (n=20): time 0.001171/1.026, allocations: 481 kB / 1.347 GB, free: 3.691 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.21e-05/1.026, allocations: 191.9 kB / 1.347 GB, free: 3.461 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001786/1.028, allocations: 1.296 MB / 1.348 GB, free: 2.148 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.365e-05/1.028, allocations: 37.69 kB / 1.348 GB, free: 2.105 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004514/1.028, allocations: 0.6372 MB / 1.349 GB, free: 1.461 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 6.391e-05/1.028, allocations: 79.41 kB / 1.349 GB, free: 1.383 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002085/1.029, allocations: 146.1 kB / 1.349 GB, free: 1.23 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000106/1.029, allocations: 326 kB / 1.349 GB, free: 0.9062 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006419/1.029, allocations: 236.9 kB / 1.349 GB, free: 0.6758 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008475/1.03, allocations: 0.5558 MB / 1.35 GB, free: 15.97 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00105/1.031, allocations: 0.6915 MB / 1.351 GB, free: 15.14 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/1.031, allocations: 4 kB / 1.351 GB, free: 15.13 MB / 1.092 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001847/1.033, allocations: 0.8584 MB / 1.351 GB, free: 14.27 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/1.033, allocations: 8 kB / 1.351 GB, free: 14.26 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/1.033, allocations: 16.09 kB / 1.351 GB, free: 14.25 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.232e-05/1.033, allocations: 16 kB / 1.351 GB, free: 14.23 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007069/1.034, allocations: 171.7 kB / 1.352 GB, free: 14.06 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.768e-05/1.034, allocations: 19.94 kB / 1.352 GB, free: 14.04 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00126/1.035, allocations: 131.8 kB / 1.352 GB, free: 13.91 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.11e-05/1.035, allocations: 39.98 kB / 1.352 GB, free: 13.88 MB / 1.092 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.0003916/1.036, allocations: 301.5 kB / 1.352 GB, free: 13.57 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00024/1.036, allocations: 127.2 kB / 1.352 GB, free: 13.45 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004599/1.036, allocations: 288.3 kB / 1.352 GB, free: 13.16 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/1.036, allocations: 4 kB / 1.352 GB, free: 13.15 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/1.036, allocations: 0 / 1.352 GB, free: 13.15 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/1.036, allocations: 7.938 kB / 1.353 GB, free: 13.14 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002041/1.038, allocations: 1.678 MB / 1.354 GB, free: 11.36 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/1.038, allocations: 4 kB / 1.354 GB, free: 11.36 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002178/1.039, allocations: 39.91 kB / 1.354 GB, free: 11.32 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/1.039, allocations: 4 kB / 1.354 GB, free: 11.32 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/1.039, allocations: 8 kB / 1.354 GB, free: 11.31 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/1.039, allocations: 4 kB / 1.354 GB, free: 11.3 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/1.039, allocations: 4 kB / 1.354 GB, free: 11.3 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000513/1.039, allocations: 0.4954 MB / 1.355 GB, free: 10.75 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003382/1.04, allocations: 240.2 kB / 1.355 GB, free: 10.5 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001545/1.04, allocations: 12 kB / 1.355 GB, free: 10.48 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000744/1.041, allocations: 51.94 kB / 1.355 GB, free: 10.43 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.391e-05/1.041, allocations: 15.92 kB / 1.355 GB, free: 10.42 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.099e-05/1.041, allocations: 12 kB / 1.355 GB, free: 10.41 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001368/1.042, allocations: 0.912 MB / 1.356 GB, free: 9.492 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.8e-07/1.042, allocations: 3.938 kB / 1.356 GB, free: 9.488 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0008708/1.043, allocations: 279.6 kB / 1.356 GB, free: 9.215 MB / 1.092 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.00106/1.044, allocations: 1.144 MB / 1.357 GB, free: 8.02 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001008/1.045, allocations: 461.1 kB / 1.358 GB, free: 7.57 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/1.045, allocations: 0 / 1.358 GB, free: 7.57 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0001438/1.045, allocations: 104.9 kB / 1.358 GB, free: 7.469 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002519/1.048, allocations: 0.5777 MB / 1.358 GB, free: 6.902 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01136/1.059, allocations: 8.141 MB / 1.366 GB, free: 14.28 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007314/1.06, allocations: 1.122 MB / 1.367 GB, free: 13.13 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0008403/1.061, allocations: 241.6 kB / 1.368 GB, free: 12.89 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005007/1.061, allocations: 411.3 kB / 1.368 GB, free: 12.49 MB / 1.107 GB Notification: Performance of SimCode: time 9.22e-07/1.061, allocations: 0 / 1.368 GB, free: 12.49 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05325/1.114, allocations: 27.55 MB / 1.395 GB, free: 1.418 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.361/10.48, allocations: 4 kB / 1.395 GB, free: 1.414 MB / 1.123 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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