Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.MixingVolumeMoistureReverseFlow,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",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.005414/0.005415, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001555/0.001555, allocations: 194.8 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.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.843/2.843, allocations: 469.8 MB / 0.7425 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001886/0.001887, allocations: 71.83 kB / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.2898, allocations: 159.1 MB / 1.22 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.7801/1.07, allocations: 221.1 MB / 1.436 GB, free: 7.258 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.0091/1.079, allocations: 5.723 MB / 1.442 GB, free: 2.594 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001018/1.08, allocations: 47.09 kB / 1.442 GB, free: 2.574 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001467/1.082, allocations: 0.5768 MB / 1.442 GB, free: 2.023 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.004279/1.086, allocations: 1.832 MB / 1.444 GB, free: 188 kB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002814/1.089, allocations: 1.202 MB / 1.445 GB, free: 14.99 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.003669/1.092, allocations: 2.951 MB / 1.448 GB, free: 12.04 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001365/1.094, allocations: 1.027 MB / 1.449 GB, free: 10.99 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001686/1.096, allocations: 1.058 MB / 1.45 GB, free: 9.93 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002065/1.098, allocations: 0.9565 MB / 1.451 GB, free: 8.988 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0002009/1.098, allocations: 108 kB / 1.451 GB, free: 8.883 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002881/1.101, allocations: 1.43 MB / 1.453 GB, free: 7.449 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.000519/1.101, allocations: 466.7 kB / 1.453 GB, free: 6.992 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.000801/1.102, allocations: 0.6534 MB / 1.454 GB, free: 6.336 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.003076/1.105, allocations: 2.134 MB / 1.456 GB, free: 4.195 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/1.105, allocations: 0 / 1.456 GB, free: 4.195 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.593e-06/1.105, allocations: 3.938 kB / 1.456 GB, free: 4.191 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.697e-05/1.105, allocations: 0 / 1.456 GB, free: 4.191 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.002466/1.108, allocations: 1.533 MB / 1.457 GB, free: 2.602 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/1.108, allocations: 12.03 kB / 1.457 GB, free: 2.59 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001846/1.108, allocations: 143.3 kB / 1.457 GB, free: 2.441 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002026/1.11, allocations: 326.8 kB / 1.458 GB, free: 2.121 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001374/1.111, allocations: 0.8599 MB / 1.459 GB, free: 1.219 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.799e-05/1.111, allocations: 69.94 kB / 1.459 GB, free: 1.152 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001305/1.112, allocations: 84 kB / 1.459 GB, free: 1.07 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001618/1.113, allocations: 0.9131 MB / 1.46 GB, free: 152 kB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.364e-05/1.113, allocations: 0 / 1.46 GB, free: 152 kB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001015/1.113, allocations: 40 kB / 1.46 GB, free: 112 kB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.233e-05/1.113, allocations: 33.94 kB / 1.46 GB, free: 76 kB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001524/1.115, allocations: 0.8354 MB / 1.461 GB, free: 15.24 MB / 1.154 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.005381/1.12, allocations: 3.522 MB / 1.464 GB, free: 11.5 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008397/1.121, allocations: 496.9 kB / 1.464 GB, free: 11 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005071/1.122, allocations: 306.5 kB / 1.465 GB, free: 10.7 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001837/1.122, allocations: 97.53 kB / 1.465 GB, free: 10.59 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.225e-05/1.122, allocations: 43.5 kB / 1.465 GB, free: 10.54 MB / 1.154 GB Notification: Performance of pre-optimization done (n=47): time 1.884e-06/1.122, allocations: 0 / 1.465 GB, free: 10.54 MB / 1.154 GB Notification: Performance of matching and sorting (n=49): time 0.003722/1.126, allocations: 1.897 MB / 1.467 GB, free: 8.543 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/1.126, allocations: 55.84 kB / 1.467 GB, free: 8.477 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001021/1.127, allocations: 0.8058 MB / 1.468 GB, free: 7.66 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 5.442e-05/1.127, allocations: 37.7 kB / 1.468 GB, free: 7.617 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003939/1.127, allocations: 492.2 kB / 1.468 GB, free: 7.133 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001819/1.127, allocations: 182.4 kB / 1.468 GB, free: 6.953 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002054/1.128, allocations: 126.2 kB / 1.468 GB, free: 6.824 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001438/1.128, allocations: 326 kB / 1.469 GB, free: 6.5 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004693/1.128, allocations: 253.2 kB / 1.469 GB, free: 6.254 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005864/1.129, allocations: 383.5 kB / 1.469 GB, free: 5.832 MB / 1.154 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003918/1.133, allocations: 1.548 MB / 1.471 GB, free: 4.234 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/1.133, allocations: 0 / 1.471 GB, free: 4.234 MB / 1.154 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001449/1.134, allocations: 0.797 MB / 1.472 GB, free: 3.422 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/1.134, allocations: 4 kB / 1.472 GB, free: 3.418 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/1.134, allocations: 4 kB / 1.472 GB, free: 3.414 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001719/1.134, allocations: 69.61 kB / 1.472 GB, free: 3.34 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007002/1.135, allocations: 151.8 kB / 1.472 GB, free: 3.191 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002763/1.138, allocations: 3.117 MB / 1.475 GB, free: 15.8 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007678/1.139, allocations: 39.47 kB / 1.475 GB, free: 15.76 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.427e-05/1.139, allocations: 25 kB / 1.475 GB, free: 15.74 MB / 1.17 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (71): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004564/1.139, allocations: 309.5 kB / 1.475 GB, free: 15.43 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001556/1.139, allocations: 95.44 kB / 1.475 GB, free: 15.33 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001926/1.14, allocations: 100.7 kB / 1.475 GB, free: 15.23 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/1.14, allocations: 4 kB / 1.475 GB, free: 15.22 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/1.14, allocations: 0 / 1.475 GB, free: 15.22 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001136/1.141, allocations: 0.8427 MB / 1.476 GB, free: 14.29 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002934/1.144, allocations: 1.791 MB / 1.478 GB, free: 12.4 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/1.144, allocations: 1 kB / 1.478 GB, free: 12.4 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006389/1.144, allocations: 132.3 kB / 1.478 GB, free: 12.27 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.976e-05/1.144, allocations: 44.77 kB / 1.478 GB, free: 12.22 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.987e-05/1.145, allocations: 12 kB / 1.478 GB, free: 12.21 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001402/1.146, allocations: 1.602 MB / 1.48 GB, free: 10.47 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/1.146, allocations: 4 kB / 1.48 GB, free: 10.46 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001685/1.148, allocations: 1.062 MB / 1.481 GB, free: 9.348 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003721/1.148, allocations: 244.4 kB / 1.481 GB, free: 9.09 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001109/1.148, allocations: 12 kB / 1.481 GB, free: 9.078 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006845/1.149, allocations: 38.34 kB / 1.481 GB, free: 9.043 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/1.149, allocations: 43.95 kB / 1.481 GB, free: 9 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.473e-05/1.149, allocations: 27.92 kB / 1.481 GB, free: 8.973 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0007646/1.15, allocations: 0.5654 MB / 1.482 GB, free: 8.414 MB / 1.17 GB Notification: Performance of sort global known variables: time 2e-07/1.15, allocations: 0 / 1.482 GB, free: 8.414 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0008214/1.151, allocations: 275.9 kB / 1.482 GB, free: 8.145 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U) * 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 (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002291/1.153, allocations: 1.706 MB / 1.484 GB, free: 6.371 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001393/1.154, allocations: 0.8078 MB / 1.484 GB, free: 5.543 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/1.154, allocations: 0 / 1.484 GB, free: 5.543 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0006212/1.155, allocations: 407.9 kB / 1.485 GB, free: 5.133 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002785/1.158, allocations: 0.6027 MB / 1.485 GB, free: 4.547 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01079/1.169, allocations: 7.034 MB / 1.492 GB, free: 13.21 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007897/1.169, allocations: 1.087 MB / 1.493 GB, free: 12.09 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.000828/1.17, allocations: 211.7 kB / 1.493 GB, free: 11.88 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000502/1.171, allocations: 351.3 kB / 1.494 GB, free: 11.54 MB / 1.186 GB Notification: Performance of SimCode: time 6.11e-07/1.171, allocations: 0 / 1.494 GB, free: 11.54 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06823/1.239, allocations: 27.45 MB / 1.521 GB, free: 0.5703 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.29/14.53, allocations: 0 / 1.521 GB, free: 0.5703 MB / 1.201 GB (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches