Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001526/0.001526, allocations: 97.88 kB / 19.73 MB, free: 2.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001694/0.001694, allocations: 215.2 kB / 23.03 MB, free: 4.922 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.409/1.409, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.062/3.062, allocations: 0.49 GB / 0.7959 GB, free: 35.54 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00203/0.00203, allocations: 68.39 kB / 1.155 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/0.3208, allocations: 176.1 MB / 1.327 GB, free: 1.484 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.2029/0.5237, allocations: 168.4 MB / 1.491 GB, free: 8.508 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.009392/0.5331, allocations: 5.405 MB / 1.496 GB, free: 3.09 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001232/0.5343, allocations: 63.5 kB / 1.496 GB, free: 3.027 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0016/0.5359, allocations: 0.5396 MB / 1.497 GB, free: 2.484 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.004697/0.5406, allocations: 1.688 MB / 1.499 GB, free: 0.7891 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003552/0.5442, allocations: 1.236 MB / 1.5 GB, free: 15.56 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.004025/0.5482, allocations: 2.618 MB / 1.502 GB, free: 12.93 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001197/0.5494, allocations: 0.7474 MB / 1.503 GB, free: 12.17 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002416/0.5518, allocations: 1.281 MB / 1.504 GB, free: 10.88 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002106/0.5539, allocations: 0.9237 MB / 1.505 GB, free: 9.965 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002431/0.5541, allocations: 108 kB / 1.505 GB, free: 9.859 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003089/0.5572, allocations: 1.298 MB / 1.507 GB, free: 8.559 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0007747/0.558, allocations: 0.5064 MB / 1.507 GB, free: 8.051 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0009354/0.5589, allocations: 0.5369 MB / 1.508 GB, free: 7.512 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.004404/0.5633, allocations: 2.157 MB / 1.51 GB, free: 5.348 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 7.824e-06/0.5634, allocations: 0 / 1.51 GB, free: 5.348 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.505e-06/0.5634, allocations: 0 / 1.51 GB, free: 5.348 MB / 1.201 GB Notification: Performance of Transformations before backend: time 3.433e-05/0.5634, allocations: 0 / 1.51 GB, free: 5.348 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.003046/0.5664, allocations: 1.477 MB / 1.511 GB, free: 3.832 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 6.189e-05/0.5665, allocations: 12.03 kB / 1.511 GB, free: 3.82 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.145e-05/0.5665, allocations: 22 kB / 1.511 GB, free: 3.801 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001896/0.5667, allocations: 139.3 kB / 1.511 GB, free: 3.656 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003172/0.5699, allocations: 486.8 kB / 1.512 GB, free: 3.18 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002124/0.572, allocations: 0.7838 MB / 1.513 GB, free: 2.367 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.448e-05/0.5721, allocations: 69.98 kB / 1.513 GB, free: 2.297 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001624/0.5723, allocations: 87.94 kB / 1.513 GB, free: 2.211 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002957/0.5752, allocations: 1.547 MB / 1.514 GB, free: 0.5508 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.709e-05/0.5753, allocations: 0 / 1.514 GB, free: 0.5508 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001257/0.5754, allocations: 39.98 kB / 1.514 GB, free: 0.5117 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.717e-05/0.5754, allocations: 34 kB / 1.514 GB, free: 488 kB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002471/0.5779, allocations: 1.066 MB / 1.515 GB, free: 15.41 MB / 1.217 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.007537/0.5855, allocations: 3.308 MB / 1.519 GB, free: 12.01 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002023/0.5875, allocations: 0.7218 MB / 1.519 GB, free: 11.28 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009329/0.5884, allocations: 388.4 kB / 1.52 GB, free: 10.9 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001685/0.5886, allocations: 27.92 kB / 1.52 GB, free: 10.87 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.126e-05/0.5886, allocations: 38.56 kB / 1.52 GB, free: 10.82 MB / 1.217 GB Notification: Performance of pre-optimization done (n=43): time 3.406e-06/0.5886, allocations: 0 / 1.52 GB, free: 10.82 MB / 1.217 GB Notification: Performance of matching and sorting (n=45): time 0.006058/0.5947, allocations: 2.124 MB / 1.522 GB, free: 8.664 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/0.5947, allocations: 55.41 kB / 1.522 GB, free: 8.598 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001167/0.5959, allocations: 0.8686 MB / 1.523 GB, free: 7.719 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 6.259e-05/0.596, allocations: 45.64 kB / 1.523 GB, free: 7.668 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003951/0.5964, allocations: 0.4924 MB / 1.523 GB, free: 7.172 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001749/0.5965, allocations: 170.6 kB / 1.523 GB, free: 7.004 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000228/0.5968, allocations: 118.3 kB / 1.523 GB, free: 6.883 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.5969, allocations: 333.9 kB / 1.524 GB, free: 6.551 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009009/0.5978, allocations: 365 kB / 1.524 GB, free: 6.195 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001045/0.5989, allocations: 0.5487 MB / 1.525 GB, free: 5.582 MB / 1.217 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.006216/0.6051, allocations: 2.192 MB / 1.527 GB, free: 3.336 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.6051, allocations: 4 kB / 1.527 GB, free: 3.332 MB / 1.217 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002277/0.6073, allocations: 0.9927 MB / 1.528 GB, free: 2.332 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.6074, allocations: 8 kB / 1.528 GB, free: 2.324 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.6074, allocations: 8 kB / 1.528 GB, free: 2.316 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.238e-05/0.6074, allocations: 7.938 kB / 1.528 GB, free: 2.309 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009291/0.6083, allocations: 191.8 kB / 1.528 GB, free: 2.121 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.349e-05/0.6083, allocations: 8 kB / 1.528 GB, free: 2.113 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009236/0.6093, allocations: 59.94 kB / 1.528 GB, free: 2.055 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.521e-05/0.6093, allocations: 27.98 kB / 1.528 GB, free: 2.027 MB / 1.217 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: 17 * 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 (73): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005242/0.6099, allocations: 321.5 kB / 1.528 GB, free: 1.703 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001765/0.61, allocations: 99.39 kB / 1.528 GB, free: 1.605 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002338/0.6103, allocations: 112.7 kB / 1.529 GB, free: 1.492 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.72e-06/0.6103, allocations: 4 kB / 1.529 GB, free: 1.488 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.6103, allocations: 0 / 1.529 GB, free: 1.488 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001931/0.6122, allocations: 1.014 MB / 1.53 GB, free: 396 kB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004376/0.6166, allocations: 1.98 MB / 1.532 GB, free: 14.32 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.6166, allocations: 4 kB / 1.532 GB, free: 14.31 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008431/0.6174, allocations: 160.2 kB / 1.532 GB, free: 14.16 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.546e-06/0.6174, allocations: 4 kB / 1.532 GB, free: 14.15 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.599e-05/0.6175, allocations: 15.98 kB / 1.532 GB, free: 14.14 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.08e-05/0.6175, allocations: 19.88 kB / 1.532 GB, free: 14.12 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.6175, allocations: 4 kB / 1.532 GB, free: 14.11 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002972/0.6205, allocations: 1.419 MB / 1.533 GB, free: 12.64 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000457/0.6209, allocations: 175.4 kB / 1.533 GB, free: 12.46 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000129/0.6211, allocations: 19.98 kB / 1.533 GB, free: 12.45 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008531/0.6219, allocations: 71.75 kB / 1.533 GB, free: 12.38 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.958e-05/0.622, allocations: 43.88 kB / 1.533 GB, free: 12.33 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.382e-05/0.6221, allocations: 31.98 kB / 1.533 GB, free: 12.3 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0007856/0.6229, allocations: 0.6005 MB / 1.534 GB, free: 11.71 MB / 1.232 GB Notification: Performance of sort global known variables: time 8e-08/0.6229, allocations: 0 / 1.534 GB, free: 11.71 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0008789/0.6238, allocations: 271.9 kB / 1.534 GB, free: 11.44 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * 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): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00367/0.6274, allocations: 2.05 MB / 1.536 GB, free: 9.324 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002017/0.6294, allocations: 0.7999 MB / 1.537 GB, free: 8.523 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.6294, allocations: 0 / 1.537 GB, free: 8.523 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0009174/0.6304, allocations: 377 kB / 1.537 GB, free: 8.156 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002642/0.633, allocations: 0.5765 MB / 1.538 GB, free: 7.586 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01472/0.6477, allocations: 8.221 MB / 1.546 GB, free: 15.06 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000561/0.6483, allocations: 0.5125 MB / 1.546 GB, free: 14.52 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.000925/0.6492, allocations: 255.7 kB / 1.547 GB, free: 14.26 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005956/0.6498, allocations: 355.3 kB / 1.547 GB, free: 13.91 MB / 1.248 GB Notification: Performance of SimCode: time 9.31e-07/0.6498, allocations: 4 kB / 1.547 GB, free: 13.91 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06659/0.7164, allocations: 31.46 MB / 1.578 GB, free: 15.24 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.77/13.49, allocations: 6.125 kB / 1.578 GB, free: 15.23 MB / 1.279 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.fmu > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 20.053660372970626]