Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.MixingVolumeMoistureReverseFlow,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="Buildings_10_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.008155/0.008155, allocations: 95.42 kB / 15.73 MB, free: 6.039 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.002061/0.002061, allocations: 200.6 kB / 16.68 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.354/1.354, 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 10.1.1-maint.10.0.x/package.mo): time 2.643/2.643, allocations: 437 MB / 0.7105 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 71.89 kB / 1.018 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2511/0.2523, allocations: 151.6 MB / 1.166 GB, free: 7.395 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.7452/0.9976, allocations: 221.1 MB / 1.382 GB, free: 12.36 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.009322/1.007, allocations: 5.72 MB / 1.388 GB, free: 7.695 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001325/1.008, allocations: 47.06 kB / 1.388 GB, free: 7.676 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001644/1.01, allocations: 0.5991 MB / 1.388 GB, free: 7.184 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.004653/1.015, allocations: 1.908 MB / 1.39 GB, free: 5.707 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002937/1.018, allocations: 1.206 MB / 1.391 GB, free: 4.785 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.003395/1.021, allocations: 2.961 MB / 1.394 GB, free: 3.094 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001183/1.022, allocations: 1.025 MB / 1.395 GB, free: 2.461 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001529/1.024, allocations: 1.114 MB / 1.396 GB, free: 1.805 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001831/1.026, allocations: 0.9469 MB / 1.397 GB, free: 1.254 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001901/1.026, allocations: 112.1 kB / 1.397 GB, free: 1.25 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002686/1.028, allocations: 1.437 MB / 1.399 GB, free: 492 kB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0004381/1.029, allocations: 461.3 kB / 1.399 GB, free: 176 kB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0007017/1.03, allocations: 0.6519 MB / 1.4 GB, free: 15.76 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002669/1.032, allocations: 2.136 MB / 1.402 GB, free: 14.37 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/1.032, allocations: 0 / 1.402 GB, free: 14.37 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.363e-06/1.032, allocations: 0 / 1.402 GB, free: 14.37 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.737e-05/1.032, allocations: 1.906 kB / 1.402 GB, free: 14.37 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: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.002321/1.035, allocations: 1.544 MB / 1.403 GB, free: 13.2 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/1.035, allocations: 9.469 kB / 1.403 GB, free: 13.2 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000164/1.035, allocations: 140.6 kB / 1.404 GB, free: 13.08 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001908/1.037, allocations: 332 kB / 1.404 GB, free: 12.93 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001392/1.038, allocations: 0.8555 MB / 1.405 GB, free: 12.27 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.214e-05/1.038, allocations: 65.12 kB / 1.405 GB, free: 12.24 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001265/1.038, allocations: 83.88 kB / 1.405 GB, free: 12.21 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001443/1.04, allocations: 0.9074 MB / 1.406 GB, free: 11.7 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.299e-05/1.04, allocations: 4 kB / 1.406 GB, free: 11.7 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.635e-05/1.04, allocations: 42.45 kB / 1.406 GB, free: 11.67 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.521e-05/1.04, allocations: 33.25 kB / 1.406 GB, free: 11.66 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001343/1.041, allocations: 0.8359 MB / 1.407 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.004956/1.046, allocations: 3.522 MB / 1.41 GB, free: 8.473 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007263/1.047, allocations: 499.6 kB / 1.411 GB, free: 8.211 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004325/1.048, allocations: 300.1 kB / 1.411 GB, free: 8.062 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000176/1.048, allocations: 102.9 kB / 1.411 GB, free: 7.961 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/1.048, allocations: 43.78 kB / 1.411 GB, free: 7.914 MB / 1.076 GB Notification: Performance of pre-optimization done (n=47): time 1.973e-06/1.048, allocations: 0 / 1.411 GB, free: 7.914 MB / 1.076 GB Notification: Performance of matching and sorting (n=49): time 0.003305/1.051, allocations: 1.896 MB / 1.413 GB, free: 6.645 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/1.051, allocations: 60.72 kB / 1.413 GB, free: 6.578 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008556/1.052, allocations: 0.8082 MB / 1.414 GB, free: 6.129 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.051e-05/1.052, allocations: 36.52 kB / 1.414 GB, free: 6.09 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003133/1.052, allocations: 486.2 kB / 1.414 GB, free: 5.668 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001437/1.053, allocations: 181.1 kB / 1.414 GB, free: 5.512 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001798/1.053, allocations: 120.5 kB / 1.414 GB, free: 5.438 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001092/1.053, allocations: 333.6 kB / 1.415 GB, free: 5.113 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004185/1.053, allocations: 241.9 kB / 1.415 GB, free: 4.992 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004988/1.054, allocations: 387.5 kB / 1.415 GB, free: 4.715 MB / 1.076 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.00357/1.057, allocations: 1.547 MB / 1.417 GB, free: 3.566 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/1.057, allocations: 0 / 1.417 GB, free: 3.566 MB / 1.076 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001293/1.059, allocations: 0.8008 MB / 1.418 GB, free: 2.75 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/1.059, allocations: 5.406 kB / 1.418 GB, free: 2.746 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/1.059, allocations: 9.5 kB / 1.418 GB, free: 2.738 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001579/1.059, allocations: 65.67 kB / 1.418 GB, free: 2.668 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006774/1.06, allocations: 147.8 kB / 1.418 GB, free: 2.523 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002397/1.062, allocations: 3.121 MB / 1.421 GB, free: 15.12 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007409/1.063, allocations: 31.94 kB / 1.421 GB, free: 15.09 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.153e-05/1.063, allocations: 32.09 kB / 1.421 GB, free: 15.06 MB / 1.092 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.0003953/1.063, allocations: 309.8 kB / 1.421 GB, free: 14.75 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001432/1.063, allocations: 95.44 kB / 1.421 GB, free: 14.66 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001618/1.064, allocations: 100.7 kB / 1.422 GB, free: 14.55 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/1.064, allocations: 4 kB / 1.422 GB, free: 14.55 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/1.064, allocations: 0 / 1.422 GB, free: 14.55 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001015/1.065, allocations: 0.8427 MB / 1.422 GB, free: 13.62 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002824/1.067, allocations: 1.788 MB / 1.424 GB, free: 11.73 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/1.067, allocations: 4.406 kB / 1.424 GB, free: 11.73 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006222/1.068, allocations: 139.8 kB / 1.424 GB, free: 11.59 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.374e-05/1.068, allocations: 40.88 kB / 1.424 GB, free: 11.55 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.773e-05/1.068, allocations: 15.98 kB / 1.424 GB, free: 11.54 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001235/1.069, allocations: 1.594 MB / 1.426 GB, free: 9.801 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/1.069, allocations: 4 kB / 1.426 GB, free: 9.797 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001511/1.071, allocations: 1.07 MB / 1.427 GB, free: 8.668 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004247/1.071, allocations: 240.5 kB / 1.427 GB, free: 8.414 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/1.072, allocations: 12 kB / 1.427 GB, free: 8.402 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006689/1.072, allocations: 37.7 kB / 1.427 GB, free: 8.367 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.14e-05/1.072, allocations: 40.02 kB / 1.427 GB, free: 8.328 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.135e-05/1.072, allocations: 23.98 kB / 1.427 GB, free: 8.305 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0007003/1.073, allocations: 0.5654 MB / 1.428 GB, free: 7.746 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.973e-06/1.073, allocations: 0 / 1.428 GB, free: 7.746 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0008124/1.074, allocations: 283.9 kB / 1.428 GB, free: 7.469 MB / 1.092 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.002155/1.076, allocations: 1.71 MB / 1.43 GB, free: 5.695 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001297/1.077, allocations: 0.8078 MB / 1.43 GB, free: 4.863 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/1.077, allocations: 0 / 1.43 GB, free: 4.863 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0005897/1.078, allocations: 411.9 kB / 1.431 GB, free: 4.449 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002633/1.081, allocations: 0.5932 MB / 1.431 GB, free: 3.863 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00988/1.091, allocations: 7.036 MB / 1.438 GB, free: 12.53 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000671/1.091, allocations: 1.088 MB / 1.439 GB, free: 11.41 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.000818/1.092, allocations: 215.7 kB / 1.44 GB, free: 11.2 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000466/1.093, allocations: 347.3 kB / 1.44 GB, free: 10.86 MB / 1.107 GB Notification: Performance of SimCode: time 6.81e-07/1.093, allocations: 3.938 kB / 1.44 GB, free: 10.86 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05666/1.149, allocations: 27.44 MB / 1.467 GB, free: 15.92 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.54/13.69, allocations: 3.938 kB / 1.467 GB, free: 15.92 MB / 1.139 GB (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.fmu > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches