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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState,fileNamePrefix="Buildings_10_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.007854/0.007854, allocations: 96.69 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.002131/0.002131, allocations: 193.2 kB / 16.67 MB, free: 5.969 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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.59/2.59, allocations: 437 MB / 0.7105 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 63.91 kB / 1.018 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2636/0.2649, allocations: 151.6 MB / 1.166 GB, free: 7.383 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState): time 0.8451/1.11, allocations: 221.9 MB / 1.383 GB, free: 11.69 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02274/1.133, allocations: 13.75 MB / 1.396 GB, free: 0.5 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00288/1.136, allocations: 73.53 kB / 1.396 GB, free: 480 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.003096/1.139, allocations: 0.83 MB / 1.397 GB, free: 15.77 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.007071/1.146, allocations: 2.241 MB / 1.399 GB, free: 14.05 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003537/1.15, allocations: 1.199 MB / 1.401 GB, free: 13.14 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.004084/1.154, allocations: 2.885 MB / 1.403 GB, free: 11.52 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001762/1.155, allocations: 1.2 MB / 1.405 GB, free: 10.77 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005893/1.161, allocations: 2.508 MB / 1.407 GB, free: 9.172 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002186/1.164, allocations: 1.036 MB / 1.408 GB, free: 8.57 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002641/1.164, allocations: 98.16 kB / 1.408 GB, free: 8.57 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003254/1.167, allocations: 1.594 MB / 1.41 GB, free: 7.707 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0004933/1.168, allocations: 435 kB / 1.41 GB, free: 7.406 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.00101/1.169, allocations: 0.6781 MB / 1.411 GB, free: 6.965 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.003284/1.172, allocations: 2.079 MB / 1.413 GB, free: 5.633 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/1.172, allocations: 0 / 1.413 GB, free: 5.633 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.533e-06/1.172, allocations: 4 kB / 1.413 GB, free: 5.629 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.181e-05/1.172, allocations: 0 / 1.413 GB, free: 5.629 MB / 1.076 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.00308/1.175, allocations: 1.702 MB / 1.414 GB, free: 4.32 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/1.175, allocations: 9.375 kB / 1.414 GB, free: 4.32 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001844/1.175, allocations: 142.2 kB / 1.415 GB, free: 4.203 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002329/1.178, allocations: 438.3 kB / 1.415 GB, free: 4.004 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00172/1.179, allocations: 0.9601 MB / 1.416 GB, free: 3.262 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.252e-05/1.179, allocations: 67.22 kB / 1.416 GB, free: 3.234 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000121/1.18, allocations: 88.69 kB / 1.416 GB, free: 3.207 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002025/1.182, allocations: 1.223 MB / 1.417 GB, free: 2.316 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.864e-05/1.182, allocations: 7.781 kB / 1.417 GB, free: 2.312 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-05/1.182, allocations: 38.06 kB / 1.417 GB, free: 2.285 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.935e-05/1.182, allocations: 35.48 kB / 1.417 GB, free: 2.281 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00193/1.184, allocations: 0.8732 MB / 1.418 GB, free: 1.855 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.007179/1.191, allocations: 6.026 MB / 1.424 GB, free: 12.25 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004225/1.191, allocations: 256.3 kB / 1.424 GB, free: 11.95 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002064/1.192, allocations: 145.1 kB / 1.424 GB, free: 11.79 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001718/1.192, allocations: 105.1 kB / 1.425 GB, free: 11.67 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/1.192, allocations: 42.5 kB / 1.425 GB, free: 11.62 MB / 1.092 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007252/1.193, allocations: 123.2 kB / 1.425 GB, free: 11.5 MB / 1.092 GB Notification: Performance of pre-optimization done (n=20): time 3.086e-06/1.193, allocations: 0 / 1.425 GB, free: 11.5 MB / 1.092 GB Notification: Performance of matching and sorting (n=20): time 0.001289/1.194, allocations: 481 kB / 1.425 GB, free: 11.02 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.861e-05/1.194, allocations: 187.9 kB / 1.425 GB, free: 10.79 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001995/1.196, allocations: 1.3 MB / 1.427 GB, free: 9.477 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 3.68e-05/1.196, allocations: 33.7 kB / 1.427 GB, free: 9.438 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004959/1.196, allocations: 0.6373 MB / 1.427 GB, free: 8.797 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 7.439e-05/1.197, allocations: 83.36 kB / 1.427 GB, free: 8.715 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002255/1.197, allocations: 138.1 kB / 1.427 GB, free: 8.57 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001175/1.197, allocations: 333.9 kB / 1.428 GB, free: 8.238 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006797/1.198, allocations: 232.9 kB / 1.428 GB, free: 8.012 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009028/1.199, allocations: 0.5636 MB / 1.429 GB, free: 7.301 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001141/1.2, allocations: 0.6833 MB / 1.429 GB, free: 6.477 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.663e-06/1.2, allocations: 7.938 kB / 1.429 GB, free: 6.469 MB / 1.092 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001991/1.202, allocations: 0.8618 MB / 1.43 GB, free: 5.602 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/1.202, allocations: 8 kB / 1.43 GB, free: 5.594 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.502e-05/1.202, allocations: 12 kB / 1.43 GB, free: 5.582 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.424e-05/1.202, allocations: 19.94 kB / 1.43 GB, free: 5.562 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007222/1.202, allocations: 175.8 kB / 1.43 GB, free: 5.391 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.824e-05/1.203, allocations: 15.94 kB / 1.43 GB, free: 5.375 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001335/1.204, allocations: 128.7 kB / 1.43 GB, free: 5.25 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.14e-05/1.204, allocations: 39.98 kB / 1.43 GB, free: 5.211 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.0003865/1.204, allocations: 301.5 kB / 1.431 GB, free: 4.906 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002907/1.205, allocations: 123.2 kB / 1.431 GB, free: 4.785 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004855/1.205, allocations: 288.8 kB / 1.431 GB, free: 4.492 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/1.205, allocations: 0 / 1.431 GB, free: 4.492 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/1.205, allocations: 8 kB / 1.431 GB, free: 4.484 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/1.205, allocations: 3.938 kB / 1.431 GB, free: 4.48 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002264/1.207, allocations: 1.67 MB / 1.433 GB, free: 2.707 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/1.207, allocations: 8 kB / 1.433 GB, free: 2.699 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002324/1.208, allocations: 44.14 kB / 1.433 GB, free: 2.656 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.155e-06/1.208, allocations: 4 kB / 1.433 GB, free: 2.652 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.99e-05/1.208, allocations: 12.31 kB / 1.433 GB, free: 2.641 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.652e-06/1.208, allocations: 8 kB / 1.433 GB, free: 2.633 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/1.208, allocations: 4 kB / 1.433 GB, free: 2.629 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005537/1.208, allocations: 0.4934 MB / 1.433 GB, free: 2.082 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004093/1.209, allocations: 244.2 kB / 1.434 GB, free: 1.824 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002006/1.209, allocations: 8 kB / 1.434 GB, free: 1.816 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008074/1.21, allocations: 51.94 kB / 1.434 GB, free: 1.766 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.817e-05/1.21, allocations: 23.86 kB / 1.434 GB, free: 1.742 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.166e-05/1.21, allocations: 12 kB / 1.434 GB, free: 1.73 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001532/1.211, allocations: 0.912 MB / 1.435 GB, free: 0.8164 MB / 1.092 GB Notification: Performance of sort global known variables: time 2e-07/1.211, allocations: 0 / 1.435 GB, free: 0.8164 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0009576/1.212, allocations: 283.6 kB / 1.435 GB, free: 0.5391 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.001142/1.213, allocations: 1.142 MB / 1.436 GB, free: 15.35 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001097/1.215, allocations: 457.2 kB / 1.436 GB, free: 14.9 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/1.215, allocations: 3.938 kB / 1.436 GB, free: 14.9 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0001567/1.215, allocations: 108.9 kB / 1.437 GB, free: 14.79 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002761/1.218, allocations: 0.5679 MB / 1.437 GB, free: 14.23 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01265/1.23, allocations: 8.163 MB / 1.445 GB, free: 5.59 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007203/1.231, allocations: 1.118 MB / 1.446 GB, free: 4.441 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0008672/1.232, allocations: 241.6 kB / 1.446 GB, free: 4.203 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005547/1.232, allocations: 411.3 kB / 1.447 GB, free: 3.801 MB / 1.107 GB Notification: Performance of SimCode: time 8.82e-07/1.232, allocations: 0 / 1.447 GB, free: 3.801 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05213/1.285, allocations: 27.57 MB / 1.474 GB, free: 8.715 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.559/10.84, allocations: 7.812 kB / 1.474 GB, free: 8.707 MB / 1.139 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState.fmu > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches