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.001167/0.001167, allocations: 98.33 kB / 19.73 MB, free: 2.23 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.001291/0.001291, allocations: 217 kB / 23.04 MB, free: 5.074 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.311/1.311, allocations: 230.6 MB / 256.8 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 179] 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 2.853/2.853, allocations: 0.49 GB / 0.7959 GB, free: 33.51 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.001802/0.001802, allocations: 65.41 kB / 1.155 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2886/0.2904, allocations: 176.1 MB / 1.327 GB, free: 1.945 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.2035/0.4939, allocations: 194.5 MB / 1.517 GB, free: 14.72 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.008722/0.5026, allocations: 5.759 MB / 1.522 GB, free: 8.945 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000743/0.5034, allocations: 51.56 kB / 1.522 GB, free: 8.895 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.00131/0.5047, allocations: 0.602 MB / 1.523 GB, free: 8.289 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.00342/0.5081, allocations: 1.707 MB / 1.525 GB, free: 6.574 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.002771/0.5109, allocations: 1.256 MB / 1.526 GB, free: 5.324 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.002978/0.5139, allocations: 2.626 MB / 1.528 GB, free: 2.691 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001017/0.5149, allocations: 0.7552 MB / 1.529 GB, free: 1.918 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002018/0.5169, allocations: 1.269 MB / 1.53 GB, free: 0.6445 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001601/0.5185, allocations: 0.9113 MB / 1.531 GB, free: 15.74 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0001574/0.5187, allocations: 108 kB / 1.531 GB, free: 15.63 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002676/0.5213, allocations: 1.637 MB / 1.533 GB, free: 13.99 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0005167/0.5219, allocations: 0.5063 MB / 1.533 GB, free: 13.48 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0006747/0.5225, allocations: 0.6456 MB / 1.534 GB, free: 12.84 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.002862/0.5254, allocations: 2.188 MB / 1.536 GB, free: 10.64 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.5254, allocations: 7.938 kB / 1.536 GB, free: 10.63 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.443e-06/0.5254, allocations: 0 / 1.536 GB, free: 10.63 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.975e-05/0.5254, allocations: 0 / 1.536 GB, free: 10.63 MB / 1.232 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.002572/0.528, allocations: 1.475 MB / 1.538 GB, free: 9.121 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.528, allocations: 8.031 kB / 1.538 GB, free: 9.113 MB / 1.232 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.99e-05/0.5281, allocations: 29.94 kB / 1.538 GB, free: 9.086 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001754/0.5282, allocations: 139.3 kB / 1.538 GB, free: 8.941 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002936/0.5312, allocations: 482.8 kB / 1.538 GB, free: 8.469 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001606/0.5328, allocations: 0.7838 MB / 1.539 GB, free: 7.656 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.747e-05/0.5328, allocations: 66 kB / 1.539 GB, free: 7.59 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001459/0.533, allocations: 87.94 kB / 1.539 GB, free: 7.504 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002191/0.5352, allocations: 1.175 MB / 1.54 GB, free: 6.309 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.242e-05/0.5352, allocations: 0 / 1.54 GB, free: 6.309 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-05/0.5353, allocations: 40 kB / 1.54 GB, free: 6.27 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.533e-05/0.5353, allocations: 30 kB / 1.54 GB, free: 6.238 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002326/0.5377, allocations: 1.07 MB / 1.541 GB, free: 5.172 MB / 1.232 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.006926/0.5446, allocations: 4.421 MB / 1.546 GB, free: 464 kB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001892/0.5465, allocations: 0.7286 MB / 1.546 GB, free: 15.71 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009257/0.5474, allocations: 391.9 kB / 1.547 GB, free: 15.33 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001358/0.5476, allocations: 31.98 kB / 1.547 GB, free: 15.3 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/0.5476, allocations: 38.56 kB / 1.547 GB, free: 15.25 MB / 1.248 GB Notification: Performance of pre-optimization done (n=43): time 1.653e-06/0.5476, allocations: 0 / 1.547 GB, free: 15.25 MB / 1.248 GB Notification: Performance of matching and sorting (n=45): time 0.005523/0.5531, allocations: 2.12 MB / 1.549 GB, free: 13.1 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.307e-05/0.5532, allocations: 55.41 kB / 1.549 GB, free: 13.03 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00105/0.5542, allocations: 0.8608 MB / 1.55 GB, free: 12.16 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 6.83e-05/0.5543, allocations: 37.7 kB / 1.55 GB, free: 12.12 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003815/0.5547, allocations: 0.5001 MB / 1.55 GB, free: 11.61 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001508/0.5548, allocations: 158.6 kB / 1.551 GB, free: 11.46 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00022/0.555, allocations: 126.3 kB / 1.551 GB, free: 11.33 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.5552, allocations: 330 kB / 1.551 GB, free: 11 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000919/0.5561, allocations: 373 kB / 1.551 GB, free: 10.64 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001032/0.5571, allocations: 0.4974 MB / 1.552 GB, free: 10.09 MB / 1.248 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.00596/0.5631, allocations: 2.192 MB / 1.554 GB, free: 7.84 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.5631, allocations: 0 / 1.554 GB, free: 7.84 MB / 1.248 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002274/0.5653, allocations: 0.9888 MB / 1.555 GB, free: 6.844 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.5654, allocations: 4 kB / 1.555 GB, free: 6.84 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.5654, allocations: 12.12 kB / 1.555 GB, free: 6.828 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.513e-05/0.5654, allocations: 15.92 kB / 1.555 GB, free: 6.812 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009083/0.5663, allocations: 187.7 kB / 1.555 GB, free: 6.629 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.5663, allocations: 7.938 kB / 1.555 GB, free: 6.621 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008908/0.5672, allocations: 71.92 kB / 1.555 GB, free: 6.551 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.99e-05/0.5673, allocations: 24 kB / 1.555 GB, free: 6.527 MB / 1.248 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.0004726/0.5678, allocations: 313.5 kB / 1.556 GB, free: 6.211 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001655/0.5679, allocations: 99.39 kB / 1.556 GB, free: 6.113 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000208/0.5681, allocations: 112.7 kB / 1.556 GB, free: 6 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.5681, allocations: 8 kB / 1.556 GB, free: 5.992 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.5681, allocations: 4 kB / 1.556 GB, free: 5.988 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001977/0.5701, allocations: 1.018 MB / 1.557 GB, free: 4.883 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004418/0.5745, allocations: 2.109 MB / 1.559 GB, free: 2.684 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.5745, allocations: 4 kB / 1.559 GB, free: 2.68 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008251/0.5754, allocations: 159.9 kB / 1.559 GB, free: 2.523 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.945e-06/0.5754, allocations: 8 kB / 1.559 GB, free: 2.516 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.648e-05/0.5754, allocations: 15.98 kB / 1.559 GB, free: 2.5 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.883e-06/0.5754, allocations: 7.938 kB / 1.559 GB, free: 2.492 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/0.5754, allocations: 7.938 kB / 1.559 GB, free: 2.484 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003006/0.5784, allocations: 1.427 MB / 1.56 GB, free: 1 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003999/0.5788, allocations: 175.4 kB / 1.561 GB, free: 0.8281 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001302/0.579, allocations: 19.92 kB / 1.561 GB, free: 0.8086 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008349/0.5798, allocations: 67.88 kB / 1.561 GB, free: 0.7422 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.55e-05/0.5799, allocations: 39.88 kB / 1.561 GB, free: 0.7031 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.37e-05/0.58, allocations: 35.97 kB / 1.561 GB, free: 0.668 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0007278/0.5807, allocations: 0.6005 MB / 1.561 GB, free: 76 kB / 1.248 GB Notification: Performance of sort global known variables: time 7e-08/0.5807, allocations: 0 / 1.561 GB, free: 76 kB / 1.248 GB Notification: Performance of remove unused functions: time 0.0007812/0.5815, allocations: 271.9 kB / 1.562 GB, free: 15.8 MB / 1.264 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.003489/0.585, allocations: 2.058 MB / 1.564 GB, free: 13.68 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.002005/0.587, allocations: 0.7886 MB / 1.564 GB, free: 12.89 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.587, allocations: 8.062 kB / 1.564 GB, free: 12.89 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0009476/0.5879, allocations: 380.5 kB / 1.565 GB, free: 12.52 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002413/0.5903, allocations: 0.5839 MB / 1.565 GB, free: 11.94 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01406/0.6044, allocations: 8.214 MB / 1.573 GB, free: 3.418 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007516/0.6051, allocations: 1.11 MB / 1.574 GB, free: 2.281 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0008625/0.606, allocations: 259.8 kB / 1.575 GB, free: 2.023 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005434/0.6065, allocations: 355.3 kB / 1.575 GB, free: 1.676 MB / 1.264 GB Notification: Performance of SimCode: time 6.81e-07/0.6065, allocations: 0 / 1.575 GB, free: 1.676 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06016/0.6667, allocations: 29.42 MB / 1.604 GB, free: 4.738 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.51, allocations: 6.016 kB / 1.604 GB, free: 4.734 MB / 1.295 GB " [Timeout remaining time 287] (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: 19.03075505804736]