Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001698/0.001698, allocations: 95.64 kB / 18.95 MB, free: 2.691 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002617/0.002617, allocations: 213.8 kB / 22.25 MB, free: 5.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.488/1.488, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.784/2.784, allocations: 476 MB / 0.7699 GB, free: 4.742 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003269/0.003269, allocations: 69.17 kB / 1.117 GB, free: 9.137 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3461/0.3494, allocations: 169.9 MB / 1.283 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState): time 0.2581/0.6075, allocations: 196.7 MB / 1.475 GB, free: 14.75 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.02097/0.6284, allocations: 12.82 MB / 1.487 GB, free: 1.898 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003063/0.6315, allocations: 95.25 kB / 1.487 GB, free: 1.805 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.002843/0.6343, allocations: 0.7841 MB / 1.488 GB, free: 1.016 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.007532/0.6419, allocations: 2.248 MB / 1.49 GB, free: 14.76 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003978/0.6459, allocations: 1.201 MB / 1.491 GB, free: 13.57 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.005001/0.6509, allocations: 2.934 MB / 1.494 GB, free: 10.62 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00175/0.6526, allocations: 0.9177 MB / 1.495 GB, free: 9.68 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006533/0.6591, allocations: 2.528 MB / 1.498 GB, free: 7.148 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002622/0.6618, allocations: 1.032 MB / 1.499 GB, free: 6.129 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002386/0.662, allocations: 100 kB / 1.499 GB, free: 6.031 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002993/0.665, allocations: 1.325 MB / 1.5 GB, free: 4.703 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0005487/0.6655, allocations: 454.4 kB / 1.5 GB, free: 4.258 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0008261/0.6664, allocations: 0.5521 MB / 1.501 GB, free: 3.703 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.003433/0.6698, allocations: 2.047 MB / 1.503 GB, free: 1.648 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.6698, allocations: 0 / 1.503 GB, free: 1.648 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.704e-06/0.6698, allocations: 0 / 1.503 GB, free: 1.648 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.201e-05/0.6698, allocations: 0 / 1.503 GB, free: 1.648 MB / 1.201 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.002646/0.6725, allocations: 1.614 MB / 1.505 GB, free: 15.99 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.6725, allocations: 8.031 kB / 1.505 GB, free: 15.98 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001688/0.6727, allocations: 139.5 kB / 1.505 GB, free: 15.84 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00217/0.6749, allocations: 442.7 kB / 1.505 GB, free: 15.41 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001801/0.6767, allocations: 0.8731 MB / 1.506 GB, free: 14.5 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.22e-05/0.6767, allocations: 77.97 kB / 1.506 GB, free: 14.43 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001319/0.6769, allocations: 88 kB / 1.506 GB, free: 14.34 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00243/0.6793, allocations: 1.306 MB / 1.507 GB, free: 12.9 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.848e-05/0.6793, allocations: 4 kB / 1.507 GB, free: 12.89 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.113e-05/0.6794, allocations: 43.94 kB / 1.508 GB, free: 12.85 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.977e-05/0.6795, allocations: 29.31 kB / 1.508 GB, free: 12.82 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002005/0.6815, allocations: 0.8791 MB / 1.508 GB, free: 11.95 MB / 1.217 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.007527/0.689, allocations: 5.38 MB / 1.514 GB, free: 6.367 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004852/0.6895, allocations: 247.7 kB / 1.514 GB, free: 6.07 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002265/0.6897, allocations: 145.1 kB / 1.514 GB, free: 5.91 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001561/0.6899, allocations: 19.98 kB / 1.514 GB, free: 5.891 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.294e-05/0.6899, allocations: 42.5 kB / 1.514 GB, free: 5.84 MB / 1.217 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008058/0.6907, allocations: 139.3 kB / 1.514 GB, free: 5.703 MB / 1.217 GB Notification: Performance of pre-optimization done (n=20): time 2.745e-06/0.6907, allocations: 0 / 1.514 GB, free: 5.703 MB / 1.217 GB Notification: Performance of matching and sorting (n=20): time 0.001216/0.6919, allocations: 473.1 kB / 1.515 GB, free: 5.234 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001265/0.6921, allocations: 192 kB / 1.515 GB, free: 5.004 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00201/0.6941, allocations: 1.33 MB / 1.516 GB, free: 3.656 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 5.066e-05/0.6941, allocations: 29.7 kB / 1.516 GB, free: 3.621 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005773/0.6947, allocations: 0.6412 MB / 1.517 GB, free: 2.977 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 7.063e-05/0.6948, allocations: 71.44 kB / 1.517 GB, free: 2.906 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002089/0.695, allocations: 138.2 kB / 1.517 GB, free: 2.766 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002249/0.6952, allocations: 334 kB / 1.517 GB, free: 2.434 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006305/0.6958, allocations: 229.1 kB / 1.518 GB, free: 2.211 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001077/0.6969, allocations: 0.7364 MB / 1.518 GB, free: 1.277 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001201/0.6981, allocations: 0.6963 MB / 1.519 GB, free: 452 kB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.6981, allocations: 4 kB / 1.519 GB, free: 448 kB / 1.217 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002043/0.7002, allocations: 0.86 MB / 1.52 GB, free: 15.57 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.677e-05/0.7002, allocations: 16.19 kB / 1.52 GB, free: 15.55 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/0.7002, allocations: 8 kB / 1.52 GB, free: 15.55 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.278e-05/0.7002, allocations: 16 kB / 1.52 GB, free: 15.53 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007056/0.7009, allocations: 163.8 kB / 1.52 GB, free: 15.37 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.274e-05/0.701, allocations: 27.81 kB / 1.52 GB, free: 15.34 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00128/0.7022, allocations: 131.8 kB / 1.52 GB, free: 15.21 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.545e-05/0.7023, allocations: 35.98 kB / 1.52 GB, free: 15.18 MB / 1.232 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.0004808/0.7028, allocations: 301.5 kB / 1.52 GB, free: 14.88 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002661/0.7031, allocations: 127.2 kB / 1.521 GB, free: 14.75 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005233/0.7036, allocations: 280.3 kB / 1.521 GB, free: 14.47 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.7036, allocations: 4 kB / 1.521 GB, free: 14.46 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.299e-06/0.7036, allocations: 0 / 1.521 GB, free: 14.46 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/0.7036, allocations: 7.938 kB / 1.521 GB, free: 14.46 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002448/0.7061, allocations: 1.552 MB / 1.522 GB, free: 12.81 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.7061, allocations: 0 / 1.522 GB, free: 12.81 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002404/0.7063, allocations: 39.98 kB / 1.522 GB, free: 12.77 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.578e-06/0.7063, allocations: 4 kB / 1.522 GB, free: 12.77 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/0.7063, allocations: 4 kB / 1.522 GB, free: 12.76 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.131e-05/0.7063, allocations: 8.312 kB / 1.522 GB, free: 12.75 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.7063, allocations: 11.94 kB / 1.522 GB, free: 12.74 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006137/0.707, allocations: 0.4973 MB / 1.523 GB, free: 12.19 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003978/0.7074, allocations: 167.1 kB / 1.523 GB, free: 12.03 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001395/0.7075, allocations: 4 kB / 1.523 GB, free: 12.02 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007085/0.7082, allocations: 55.94 kB / 1.523 GB, free: 11.97 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.315e-05/0.7082, allocations: 23.86 kB / 1.523 GB, free: 11.95 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.409e-05/0.7083, allocations: 11.98 kB / 1.523 GB, free: 11.93 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.00155/0.7098, allocations: 0.912 MB / 1.524 GB, free: 11.02 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7098, allocations: 0 / 1.524 GB, free: 11.02 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001102/0.7109, allocations: 283.6 kB / 1.524 GB, free: 10.74 MB / 1.232 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.00149/0.7124, allocations: 1.131 MB / 1.525 GB, free: 9.551 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.00126/0.7137, allocations: 441.3 kB / 1.526 GB, free: 9.121 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/0.7137, allocations: 0 / 1.526 GB, free: 9.121 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0001838/0.7139, allocations: 99.92 kB / 1.526 GB, free: 9.023 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002729/0.7166, allocations: 0.5862 MB / 1.527 GB, free: 8.445 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01427/0.7309, allocations: 8.14 MB / 1.534 GB, free: 15.82 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006911/0.7316, allocations: 0.5277 MB / 1.535 GB, free: 15.26 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001096/0.7327, allocations: 237.6 kB / 1.535 GB, free: 15.02 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006175/0.7333, allocations: 419.3 kB / 1.536 GB, free: 14.62 MB / 1.248 GB Notification: Performance of SimCode: time 1.383e-06/0.7333, allocations: 3.938 kB / 1.536 GB, free: 14.61 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0696/0.8029, allocations: 30.38 MB / 1.565 GB, free: 0.9258 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.41/13.21, allocations: 7.875 kB / 1.565 GB, free: 0.918 MB / 1.264 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable senMasFlo.m_flow in file Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState_res.csv. Warning: Get data of variable senMasFlo.m_flow from file Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState_res.csv failed! Error: Could not read variable senSpeEnt.H_flow in file Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState_res.csv. Warning: Get data of variable senSpeEnt.H_flow from file Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 20.46450479514897]