Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="Buildings_latest_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.006905/0.006905, allocations: 103.6 kB / 15.74 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.00168/0.00168, allocations: 192 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.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.671/2.671, allocations: 469.4 MB / 0.7421 GB, free: 7.625 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 67.84 kB / 1.064 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2567/0.258, allocations: 159.1 MB / 1.22 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.7444/1.002, allocations: 190.6 MB / 1.406 GB, free: 424 kB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.00885/1.011, allocations: 5.744 MB / 1.411 GB, free: 11.73 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001188/1.013, allocations: 45.84 kB / 1.412 GB, free: 11.71 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001411/1.014, allocations: 0.5961 MB / 1.412 GB, free: 11.23 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.004253/1.018, allocations: 1.91 MB / 1.414 GB, free: 9.746 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002782/1.021, allocations: 1.207 MB / 1.415 GB, free: 8.828 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.003298/1.024, allocations: 2.96 MB / 1.418 GB, free: 7.129 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001391/1.026, allocations: 0.9477 MB / 1.419 GB, free: 6.547 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001856/1.028, allocations: 1.104 MB / 1.42 GB, free: 5.895 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001751/1.029, allocations: 0.9117 MB / 1.421 GB, free: 5.363 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001493/1.03, allocations: 107.3 kB / 1.421 GB, free: 5.363 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002426/1.032, allocations: 1.437 MB / 1.422 GB, free: 4.594 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0004155/1.032, allocations: 467.9 kB / 1.423 GB, free: 4.277 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0006432/1.033, allocations: 0.6572 MB / 1.424 GB, free: 3.859 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002293/1.035, allocations: 2.138 MB / 1.426 GB, free: 2.473 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/1.035, allocations: 0 / 1.426 GB, free: 2.473 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.233e-06/1.035, allocations: 0 / 1.426 GB, free: 2.473 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.387e-05/1.035, allocations: 0 / 1.426 GB, free: 2.473 MB / 1.107 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.002224/1.038, allocations: 1.541 MB / 1.427 GB, free: 1.305 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/1.038, allocations: 10.44 kB / 1.427 GB, free: 1.305 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001577/1.038, allocations: 139.3 kB / 1.427 GB, free: 1.191 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001966/1.04, allocations: 317 kB / 1.428 GB, free: 1.051 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001325/1.041, allocations: 0.8728 MB / 1.428 GB, free: 312 kB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.344e-05/1.041, allocations: 66 kB / 1.428 GB, free: 248 kB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001278/1.041, allocations: 83.98 kB / 1.429 GB, free: 164 kB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001503/1.043, allocations: 0.9144 MB / 1.429 GB, free: 15.24 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.439e-05/1.043, allocations: 3.953 kB / 1.429 GB, free: 15.24 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.086e-05/1.043, allocations: 36 kB / 1.43 GB, free: 15.2 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.393e-05/1.043, allocations: 33.94 kB / 1.43 GB, free: 15.17 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001378/1.044, allocations: 0.8315 MB / 1.43 GB, free: 14.34 MB / 1.123 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.004952/1.049, allocations: 3.511 MB / 1.434 GB, free: 10.6 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007373/1.05, allocations: 0.4925 MB / 1.434 GB, free: 10.1 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004509/1.051, allocations: 303 kB / 1.435 GB, free: 9.805 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001708/1.051, allocations: 105.5 kB / 1.435 GB, free: 9.684 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/1.051, allocations: 39 kB / 1.435 GB, free: 9.637 MB / 1.123 GB Notification: Performance of pre-optimization done (n=47): time 2.004e-06/1.051, allocations: 3.938 kB / 1.435 GB, free: 9.633 MB / 1.123 GB Notification: Performance of matching and sorting (n=49): time 0.003761/1.055, allocations: 1.936 MB / 1.437 GB, free: 7.602 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.322e-05/1.055, allocations: 63.78 kB / 1.437 GB, free: 7.527 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008799/1.056, allocations: 0.7981 MB / 1.437 GB, free: 6.723 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 5.244e-05/1.056, allocations: 41.7 kB / 1.437 GB, free: 6.676 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003103/1.056, allocations: 484.2 kB / 1.438 GB, free: 6.199 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001419/1.056, allocations: 186.4 kB / 1.438 GB, free: 6.016 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001842/1.056, allocations: 110.3 kB / 1.438 GB, free: 5.902 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 9.68e-05/1.056, allocations: 333.9 kB / 1.439 GB, free: 5.57 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004406/1.057, allocations: 241.2 kB / 1.439 GB, free: 5.336 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004988/1.057, allocations: 353.3 kB / 1.439 GB, free: 4.953 MB / 1.123 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.003741/1.061, allocations: 1.538 MB / 1.441 GB, free: 3.367 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/1.061, allocations: 0.6875 kB / 1.441 GB, free: 3.367 MB / 1.123 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001265/1.062, allocations: 0.7812 MB / 1.441 GB, free: 2.57 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/1.062, allocations: 8 kB / 1.441 GB, free: 2.562 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.916e-06/1.062, allocations: 4 kB / 1.441 GB, free: 2.559 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002908/1.063, allocations: 101.6 kB / 1.441 GB, free: 2.453 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006777/1.063, allocations: 141.2 kB / 1.442 GB, free: 2.316 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002726/1.066, allocations: 3.307 MB / 1.445 GB, free: 14.73 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007984/1.067, allocations: 23.92 kB / 1.445 GB, free: 14.71 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.91e-05/1.067, allocations: 24 kB / 1.445 GB, free: 14.69 MB / 1.139 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.0003736/1.067, allocations: 304.4 kB / 1.445 GB, free: 14.38 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001533/1.068, allocations: 95.44 kB / 1.445 GB, free: 14.29 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001749/1.068, allocations: 104.7 kB / 1.445 GB, free: 14.18 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/1.068, allocations: 4 kB / 1.445 GB, free: 14.18 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.554e-06/1.068, allocations: 0 / 1.445 GB, free: 14.18 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001009/1.069, allocations: 0.8426 MB / 1.446 GB, free: 13.24 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002797/1.072, allocations: 1.799 MB / 1.448 GB, free: 11.34 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/1.072, allocations: 0 / 1.448 GB, free: 11.34 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006372/1.072, allocations: 132.4 kB / 1.448 GB, free: 11.21 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002151/1.072, allocations: 72.81 kB / 1.448 GB, free: 11.14 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.015e-05/1.072, allocations: 19.98 kB / 1.448 GB, free: 11.12 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001557/1.074, allocations: 1.773 MB / 1.45 GB, free: 9.203 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/1.074, allocations: 13.52 kB / 1.45 GB, free: 9.191 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001502/1.076, allocations: 1.07 MB / 1.451 GB, free: 8.066 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004055/1.076, allocations: 244.3 kB / 1.451 GB, free: 7.809 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001278/1.076, allocations: 12 kB / 1.451 GB, free: 7.797 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00075/1.077, allocations: 36.22 kB / 1.451 GB, free: 7.762 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/1.077, allocations: 51.83 kB / 1.451 GB, free: 7.711 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.796e-05/1.077, allocations: 23.98 kB / 1.451 GB, free: 7.688 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0006663/1.078, allocations: 0.5615 MB / 1.452 GB, free: 7.133 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.61e-07/1.078, allocations: 0 / 1.452 GB, free: 7.133 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0008139/1.079, allocations: 287.9 kB / 1.452 GB, free: 6.852 MB / 1.139 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.002044/1.081, allocations: 1.694 MB / 1.454 GB, free: 5.094 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001256/1.082, allocations: 0.8117 MB / 1.455 GB, free: 4.25 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/1.082, allocations: 0 / 1.455 GB, free: 4.25 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0005633/1.082, allocations: 407.5 kB / 1.455 GB, free: 3.84 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002676/1.085, allocations: 0.619 MB / 1.456 GB, free: 3.234 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009248/1.094, allocations: 7.012 MB / 1.462 GB, free: 11.94 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007099/1.095, allocations: 1.084 MB / 1.463 GB, free: 10.82 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0007918/1.096, allocations: 211.7 kB / 1.464 GB, free: 10.61 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004463/1.096, allocations: 347.3 kB / 1.464 GB, free: 10.27 MB / 1.154 GB Notification: Performance of SimCode: time 3.41e-07/1.096, allocations: 0 / 1.464 GB, free: 10.27 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08224/1.179, allocations: 28.01 MB / 1.491 GB, free: 14.71 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.35/13.53, allocations: 2.031 kB / 1.491 GB, free: 14.71 MB / 1.186 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches