Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",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.004934/0.004934, allocations: 98.77 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.001281/0.001281, allocations: 197.5 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.397/1.397, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.892/2.892, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 59.91 kB / 1.054 GB, free: 7.578 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3237, allocations: 157.4 MB / 1.207 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.9991/1.323, allocations: 190.6 MB / 1.393 GB, free: 15.14 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01158/1.334, allocations: 5.74 MB / 1.399 GB, free: 10.46 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002517/1.337, allocations: 38.59 kB / 1.399 GB, free: 10.45 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.002173/1.339, allocations: 0.5744 MB / 1.4 GB, free: 9.977 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.005687/1.345, allocations: 1.622 MB / 1.401 GB, free: 8.711 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.004925/1.35, allocations: 1.221 MB / 1.402 GB, free: 7.797 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.005034/1.355, allocations: 2.569 MB / 1.405 GB, free: 6.328 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00217/1.357, allocations: 0.8823 MB / 1.406 GB, free: 5.777 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003031/1.36, allocations: 1.059 MB / 1.407 GB, free: 5.148 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002629/1.363, allocations: 0.8146 MB / 1.408 GB, free: 4.672 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0004229/1.363, allocations: 101.1 kB / 1.408 GB, free: 4.668 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003935/1.367, allocations: 1.539 MB / 1.409 GB, free: 3.832 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0007867/1.368, allocations: 407.1 kB / 1.41 GB, free: 3.555 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001665/1.37, allocations: 0.5831 MB / 1.41 GB, free: 3.184 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.004655/1.374, allocations: 2.02 MB / 1.412 GB, free: 1.895 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/1.374, allocations: 3.984 kB / 1.412 GB, free: 1.891 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.472e-06/1.374, allocations: 0 / 1.412 GB, free: 1.891 MB / 1.092 GB Notification: Performance of Transformations before backend: time 6.71e-05/1.374, allocations: 0 / 1.412 GB, free: 1.891 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.003664/1.378, allocations: 1.433 MB / 1.414 GB, free: 0.7969 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/1.378, allocations: 9.781 kB / 1.414 GB, free: 0.7969 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002477/1.378, allocations: 122.2 kB / 1.414 GB, free: 0.6953 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002761/1.381, allocations: 409 kB / 1.414 GB, free: 0.5195 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001885/1.383, allocations: 0.8119 MB / 1.415 GB, free: 15.89 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.707e-05/1.383, allocations: 55.78 kB / 1.415 GB, free: 15.86 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001475/1.383, allocations: 76.2 kB / 1.415 GB, free: 15.83 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002083/1.385, allocations: 0.9877 MB / 1.416 GB, free: 15.25 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.359e-05/1.385, allocations: 0 / 1.416 GB, free: 15.25 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.497e-05/1.386, allocations: 31.28 kB / 1.416 GB, free: 15.23 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.145e-05/1.386, allocations: 32.64 kB / 1.416 GB, free: 15.22 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002029/1.388, allocations: 0.8702 MB / 1.417 GB, free: 14.81 MB / 1.107 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.006994/1.395, allocations: 3.471 MB / 1.42 GB, free: 12.11 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001629/1.396, allocations: 0.6118 MB / 1.421 GB, free: 11.79 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008303/1.397, allocations: 337.4 kB / 1.421 GB, free: 11.62 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002241/1.397, allocations: 96.52 kB / 1.421 GB, free: 11.52 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.503e-05/1.397, allocations: 44.44 kB / 1.421 GB, free: 11.47 MB / 1.107 GB Notification: Performance of pre-optimization done (n=39): time 2.394e-06/1.397, allocations: 0 / 1.421 GB, free: 11.47 MB / 1.107 GB Notification: Performance of matching and sorting (n=41): time 0.008247/1.406, allocations: 2.386 MB / 1.424 GB, free: 9.156 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.843e-05/1.406, allocations: 59.41 kB / 1.424 GB, free: 9.086 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/1.407, allocations: 0.7902 MB / 1.424 GB, free: 8.285 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 7.005e-05/1.407, allocations: 41.69 kB / 1.425 GB, free: 8.238 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003291/1.407, allocations: 447.7 kB / 1.425 GB, free: 7.797 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001504/1.407, allocations: 145.9 kB / 1.425 GB, free: 7.652 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001997/1.408, allocations: 102.2 kB / 1.425 GB, free: 7.547 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001181/1.408, allocations: 330 kB / 1.425 GB, free: 7.219 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007579/1.409, allocations: 304.9 kB / 1.426 GB, free: 6.922 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00083/1.409, allocations: 404.1 kB / 1.426 GB, free: 6.492 MB / 1.107 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.005217/1.415, allocations: 1.879 MB / 1.428 GB, free: 4.555 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/1.415, allocations: 4 kB / 1.428 GB, free: 4.551 MB / 1.107 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00313/1.418, allocations: 1.038 MB / 1.429 GB, free: 3.504 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/1.418, allocations: 4 kB / 1.429 GB, free: 3.5 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/1.418, allocations: 12.03 kB / 1.429 GB, free: 3.488 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006312/1.418, allocations: 180.7 kB / 1.429 GB, free: 3.309 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006802/1.419, allocations: 147 kB / 1.429 GB, free: 3.168 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003977/1.423, allocations: 2.233 MB / 1.432 GB, free: 0.7969 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001026/1.424, allocations: 43.95 kB / 1.432 GB, free: 0.7539 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.85e-05/1.424, allocations: 27.98 kB / 1.432 GB, free: 0.7266 MB / 1.107 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 (59): * Single equations (assignments): 58 * 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 prepare postOptimizeDAE: time 0.0005274/1.425, allocations: 279 kB / 1.432 GB, free: 456 kB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002201/1.425, allocations: 90.91 kB / 1.432 GB, free: 364 kB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002152/1.425, allocations: 96.23 kB / 1.432 GB, free: 264 kB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/1.425, allocations: 4 kB / 1.432 GB, free: 260 kB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/1.425, allocations: 0 / 1.432 GB, free: 260 kB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002861/1.428, allocations: 0.8987 MB / 1.433 GB, free: 15.32 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005516/1.434, allocations: 2.094 MB / 1.435 GB, free: 13.12 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-05/1.434, allocations: 8.609 kB / 1.435 GB, free: 13.12 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006241/1.434, allocations: 124.2 kB / 1.435 GB, free: 13 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005837/1.435, allocations: 189.8 kB / 1.435 GB, free: 12.81 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.54e-05/1.435, allocations: 8 kB / 1.435 GB, free: 12.8 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003778/1.439, allocations: 2.195 MB / 1.437 GB, free: 10.46 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/1.439, allocations: 7.938 kB / 1.437 GB, free: 10.46 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003859/1.443, allocations: 1.405 MB / 1.439 GB, free: 8.988 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005748/1.443, allocations: 247.9 kB / 1.439 GB, free: 8.727 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002021/1.443, allocations: 12.06 kB / 1.439 GB, free: 8.715 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009251/1.444, allocations: 56.59 kB / 1.439 GB, free: 8.66 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/1.445, allocations: 43.83 kB / 1.439 GB, free: 8.617 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.229e-05/1.445, allocations: 27.98 kB / 1.439 GB, free: 8.59 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0008289/1.445, allocations: 0.5537 MB / 1.44 GB, free: 8.043 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.31e-07/1.445, allocations: 0 / 1.44 GB, free: 8.043 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001035/1.446, allocations: 272 kB / 1.44 GB, free: 7.777 MB / 1.123 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 (37): * Single equations (assignments): 36 * 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.004401/1.451, allocations: 2.075 MB / 1.442 GB, free: 5.648 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002323/1.453, allocations: 0.8017 MB / 1.443 GB, free: 4.832 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/1.453, allocations: 4 kB / 1.443 GB, free: 4.828 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0009535/1.454, allocations: 459.5 kB / 1.443 GB, free: 4.367 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002656/1.457, allocations: 0.5491 MB / 1.444 GB, free: 3.824 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01548/1.472, allocations: 7.656 MB / 1.451 GB, free: 11.89 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000679/1.473, allocations: 1.04 MB / 1.452 GB, free: 10.82 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0008125/1.474, allocations: 207.1 kB / 1.452 GB, free: 10.61 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004712/1.474, allocations: 315.3 kB / 1.453 GB, free: 10.3 MB / 1.139 GB Notification: Performance of SimCode: time 8.02e-07/1.474, allocations: 4 kB / 1.453 GB, free: 10.3 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06006/1.534, allocations: 28.31 MB / 1.48 GB, free: 14.46 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.6/15.13, allocations: 10.73 kB / 1.48 GB, free: 14.46 MB / 1.17 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches