Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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.MixingVolumeHeatReverseFlow,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",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.007971/0.007971, allocations: 102 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.002134/0.002134, allocations: 192 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.386/1.386, 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 11.1.0-maint.11.x/package.mo): time 2.69/2.69, allocations: 469.8 MB / 0.7425 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00203/0.00203, allocations: 67.89 kB / 1.065 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6718/0.6739, allocations: 159.1 MB / 1.22 GB, free: 2.047 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.2114/0.8854, allocations: 190.6 MB / 1.406 GB, free: 2.742 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.009442/0.8948, allocations: 5.741 MB / 1.412 GB, free: 12.99 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001079/0.896, allocations: 35.81 kB / 1.412 GB, free: 12.95 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001561/0.8976, allocations: 0.5902 MB / 1.413 GB, free: 12.36 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.004478/0.9021, allocations: 1.835 MB / 1.414 GB, free: 10.52 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.00306/0.9051, allocations: 1.178 MB / 1.415 GB, free: 9.344 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.003954/0.9091, allocations: 2.958 MB / 1.418 GB, free: 6.379 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001445/0.9106, allocations: 0.946 MB / 1.419 GB, free: 5.422 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001905/0.9125, allocations: 1.054 MB / 1.42 GB, free: 4.363 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001979/0.9145, allocations: 0.922 MB / 1.421 GB, free: 3.445 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0002499/0.9147, allocations: 108 kB / 1.421 GB, free: 3.34 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002841/0.9176, allocations: 1.43 MB / 1.423 GB, free: 1.906 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0005592/0.9181, allocations: 454.8 kB / 1.423 GB, free: 1.461 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0009271/0.9191, allocations: 0.6534 MB / 1.424 GB, free: 0.8047 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002996/0.9221, allocations: 2.141 MB / 1.426 GB, free: 14.66 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.9221, allocations: 0 / 1.426 GB, free: 14.66 MB / 1.154 GB Notification: Performance of FrontEnd: time 9.71e-07/0.9221, allocations: 0 / 1.426 GB, free: 14.66 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.328e-05/0.9221, allocations: 0 / 1.426 GB, free: 14.66 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.002485/0.9246, allocations: 1.552 MB / 1.427 GB, free: 13.05 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.9247, allocations: 8.031 kB / 1.427 GB, free: 13.04 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001845/0.9248, allocations: 139.2 kB / 1.428 GB, free: 12.89 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002019/0.9269, allocations: 319 kB / 1.428 GB, free: 12.58 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001378/0.9283, allocations: 0.8637 MB / 1.429 GB, free: 11.68 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.04e-05/0.9283, allocations: 62 kB / 1.429 GB, free: 11.62 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001309/0.9285, allocations: 83.98 kB / 1.429 GB, free: 11.54 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001647/0.9301, allocations: 0.913 MB / 1.43 GB, free: 10.61 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.549e-05/0.9302, allocations: 3.953 kB / 1.43 GB, free: 10.61 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.111e-05/0.9303, allocations: 39.94 kB / 1.43 GB, free: 10.57 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.184e-05/0.9303, allocations: 37.98 kB / 1.43 GB, free: 10.53 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001529/0.9318, allocations: 0.8237 MB / 1.431 GB, free: 9.711 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.005488/0.9373, allocations: 3.523 MB / 1.434 GB, free: 5.965 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008394/0.9382, allocations: 0.5029 MB / 1.435 GB, free: 5.457 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004904/0.9387, allocations: 294 kB / 1.435 GB, free: 5.168 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001906/0.9389, allocations: 101.5 kB / 1.435 GB, free: 5.051 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.046e-05/0.9389, allocations: 46.98 kB / 1.435 GB, free: 4.996 MB / 1.154 GB Notification: Performance of pre-optimization done (n=47): time 1.954e-06/0.939, allocations: 0 / 1.435 GB, free: 4.996 MB / 1.154 GB Notification: Performance of matching and sorting (n=49): time 0.004079/0.943, allocations: 1.936 MB / 1.437 GB, free: 2.961 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.409e-05/0.9431, allocations: 55.84 kB / 1.437 GB, free: 2.895 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001027/0.9441, allocations: 0.7981 MB / 1.438 GB, free: 2.086 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 5.504e-05/0.9442, allocations: 37.7 kB / 1.438 GB, free: 2.043 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003832/0.9446, allocations: 488.2 kB / 1.438 GB, free: 1.562 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001659/0.9448, allocations: 182.4 kB / 1.438 GB, free: 1.383 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001944/0.945, allocations: 110.3 kB / 1.438 GB, free: 1.27 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.9451, allocations: 341.9 kB / 1.439 GB, free: 0.9297 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004663/0.9456, allocations: 241.1 kB / 1.439 GB, free: 0.6914 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005526/0.9461, allocations: 349.2 kB / 1.439 GB, free: 324 kB / 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.003979/0.9501, allocations: 1.537 MB / 1.441 GB, free: 14.73 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.9502, allocations: 8 kB / 1.441 GB, free: 14.72 MB / 1.17 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001434/0.9516, allocations: 0.781 MB / 1.442 GB, free: 13.93 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.9516, allocations: 8.344 kB / 1.442 GB, free: 13.92 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.9516, allocations: 4 kB / 1.442 GB, free: 13.91 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003103/0.952, allocations: 97.59 kB / 1.442 GB, free: 13.81 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000684/0.9527, allocations: 143.8 kB / 1.442 GB, free: 13.67 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003292/0.956, allocations: 3.311 MB / 1.445 GB, free: 10.08 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007781/0.9567, allocations: 27.92 kB / 1.445 GB, free: 10.05 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.395e-05/0.9568, allocations: 20 kB / 1.445 GB, free: 10.04 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: 12 * 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 (67): * Single equations (assignments): 65 * 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,4), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004743/0.9573, allocations: 301.6 kB / 1.445 GB, free: 9.73 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001618/0.9575, allocations: 95.44 kB / 1.446 GB, free: 9.637 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001951/0.9577, allocations: 104.7 kB / 1.446 GB, free: 9.531 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.9577, allocations: 4 kB / 1.446 GB, free: 9.527 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.9577, allocations: 4 kB / 1.446 GB, free: 9.523 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001156/0.9588, allocations: 0.8426 MB / 1.446 GB, free: 8.594 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002942/0.9618, allocations: 1.791 MB / 1.448 GB, free: 6.703 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.062e-06/0.9618, allocations: 4 kB / 1.448 GB, free: 6.699 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006415/0.9625, allocations: 131.8 kB / 1.448 GB, free: 6.57 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002305/0.9627, allocations: 64.81 kB / 1.448 GB, free: 6.504 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.713e-05/0.9628, allocations: 12.12 kB / 1.448 GB, free: 6.492 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001815/0.9646, allocations: 1.793 MB / 1.45 GB, free: 4.555 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/0.9646, allocations: 7.984 kB / 1.45 GB, free: 4.547 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001689/0.9663, allocations: 1.074 MB / 1.451 GB, free: 3.418 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003597/0.9667, allocations: 240.3 kB / 1.451 GB, free: 3.164 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001141/0.9668, allocations: 16 kB / 1.451 GB, free: 3.148 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006924/0.9675, allocations: 30.61 kB / 1.451 GB, free: 3.121 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.9676, allocations: 47.95 kB / 1.452 GB, free: 3.074 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.58e-05/0.9677, allocations: 27.98 kB / 1.452 GB, free: 3.047 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0007365/0.9684, allocations: 0.5576 MB / 1.452 GB, free: 2.496 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9684, allocations: 0 / 1.452 GB, free: 2.496 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0008221/0.9693, allocations: 287.9 kB / 1.452 GB, free: 2.215 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 (45): * Single equations (assignments): 44 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002311/0.9716, allocations: 1.702 MB / 1.454 GB, free: 456 kB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001405/0.973, allocations: 0.8078 MB / 1.455 GB, free: 15.61 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.019e-05/0.973, allocations: 4 kB / 1.455 GB, free: 15.61 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0006525/0.9737, allocations: 403.8 kB / 1.455 GB, free: 15.2 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00277/0.9765, allocations: 0.6142 MB / 1.456 GB, free: 14.6 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01002/0.9865, allocations: 7.016 MB / 1.463 GB, free: 7.297 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008154/0.9873, allocations: 1.091 MB / 1.464 GB, free: 6.176 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0007087/0.988, allocations: 219.6 kB / 1.464 GB, free: 5.957 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004939/0.9885, allocations: 343.3 kB / 1.464 GB, free: 5.621 MB / 1.186 GB Notification: Performance of SimCode: time 5.31e-07/0.9885, allocations: 0 / 1.464 GB, free: 5.621 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06503/1.054, allocations: 28.01 MB / 1.492 GB, free: 10.1 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.71/13.76, allocations: 13.22 kB / 1.492 GB, free: 10.1 MB / 1.217 GB (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches