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.001263/0.001263, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001334/0.001334, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.514/1.514, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 2.993/2.993, allocations: 0.49 GB / 0.7923 GB, free: 1.336 MB / 0.6231 GB " [Timeout remaining time 176] 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.002523/0.002523, allocations: 63.91 kB / 1.15 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9078/0.9103, allocations: 176.1 MB / 1.322 GB, free: 24.75 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.2454/1.156, allocations: 194.2 MB / 1.511 GB, free: 7.176 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01112/1.167, allocations: 5.735 MB / 1.517 GB, free: 1.426 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002115/1.169, allocations: 59.5 kB / 1.517 GB, free: 1.367 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001951/1.171, allocations: 0.602 MB / 1.517 GB, free: 0.7617 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.006328/1.177, allocations: 1.668 MB / 1.519 GB, free: 15.09 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.004962/1.182, allocations: 1.227 MB / 1.52 GB, free: 13.87 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.005583/1.188, allocations: 2.55 MB / 1.523 GB, free: 11.31 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001946/1.19, allocations: 0.8678 MB / 1.524 GB, free: 10.43 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003412/1.193, allocations: 1.265 MB / 1.525 GB, free: 9.156 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002641/1.196, allocations: 0.9086 MB / 1.526 GB, free: 8.25 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0005139/1.196, allocations: 108 kB / 1.526 GB, free: 8.145 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004097/1.2, allocations: 1.617 MB / 1.527 GB, free: 6.523 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0009224/1.201, allocations: 0.4986 MB / 1.528 GB, free: 6.023 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001595/1.203, allocations: 0.6494 MB / 1.528 GB, free: 5.371 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.005029/1.208, allocations: 2.184 MB / 1.531 GB, free: 3.18 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/1.208, allocations: 4 kB / 1.531 GB, free: 3.176 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.435e-06/1.208, allocations: 0 / 1.531 GB, free: 3.176 MB / 1.201 GB Notification: Performance of Transformations before backend: time 7.28e-05/1.208, allocations: 0 / 1.531 GB, free: 3.176 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.003796/1.212, allocations: 1.552 MB / 1.532 GB, free: 1.566 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.823e-05/1.212, allocations: 15.98 kB / 1.532 GB, free: 1.551 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.767e-05/1.212, allocations: 26 kB / 1.532 GB, free: 1.527 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000336/1.212, allocations: 143.2 kB / 1.532 GB, free: 1.379 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003432/1.216, allocations: 482.8 kB / 1.533 GB, free: 0.9062 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002248/1.218, allocations: 0.8559 MB / 1.534 GB, free: 8 kB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001139/1.218, allocations: 70.03 kB / 1.534 GB, free: 15.93 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002697/1.218, allocations: 87.94 kB / 1.534 GB, free: 15.85 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002909/1.221, allocations: 1.167 MB / 1.535 GB, free: 14.66 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.335e-05/1.221, allocations: 0 / 1.535 GB, free: 14.66 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001521/1.221, allocations: 36 kB / 1.535 GB, free: 14.63 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-05/1.221, allocations: 41.92 kB / 1.535 GB, free: 14.59 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002757/1.224, allocations: 1.07 MB / 1.536 GB, free: 13.52 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.009468/1.234, allocations: 4.471 MB / 1.54 GB, free: 8.75 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002167/1.236, allocations: 0.7263 MB / 1.541 GB, free: 8.016 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00104/1.237, allocations: 397.8 kB / 1.541 GB, free: 7.629 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002244/1.237, allocations: 105.1 kB / 1.542 GB, free: 7.508 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.122e-05/1.237, allocations: 43.22 kB / 1.542 GB, free: 7.457 MB / 1.217 GB Notification: Performance of pre-optimization done (n=43): time 2.214e-06/1.237, allocations: 0 / 1.542 GB, free: 7.457 MB / 1.217 GB Notification: Performance of matching and sorting (n=45): time 0.006959/1.244, allocations: 2.192 MB / 1.544 GB, free: 5.211 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.806e-05/1.244, allocations: 55.41 kB / 1.544 GB, free: 5.145 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001415/1.246, allocations: 0.8647 MB / 1.545 GB, free: 4.27 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001334/1.246, allocations: 37.7 kB / 1.545 GB, free: 4.227 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004857/1.246, allocations: 0.4963 MB / 1.545 GB, free: 3.727 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.000259/1.246, allocations: 162.6 kB / 1.545 GB, free: 3.566 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003006/1.247, allocations: 126.2 kB / 1.545 GB, free: 3.438 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001653/1.247, allocations: 330 kB / 1.546 GB, free: 3.109 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00112/1.248, allocations: 373 kB / 1.546 GB, free: 2.742 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001147/1.249, allocations: 0.4974 MB / 1.547 GB, free: 2.195 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.006657/1.256, allocations: 2.266 MB / 1.549 GB, free: 15.86 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/1.256, allocations: 3.938 kB / 1.549 GB, free: 15.86 MB / 1.232 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002594/1.258, allocations: 0.9904 MB / 1.55 GB, free: 14.86 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/1.258, allocations: 4 kB / 1.55 GB, free: 14.86 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/1.258, allocations: 4 kB / 1.55 GB, free: 14.85 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.826e-05/1.258, allocations: 11.94 kB / 1.55 GB, free: 14.84 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/1.26, allocations: 195.8 kB / 1.55 GB, free: 14.65 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.699e-05/1.26, allocations: 7.938 kB / 1.55 GB, free: 14.64 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001262/1.261, allocations: 71.88 kB / 1.55 GB, free: 14.57 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-05/1.261, allocations: 27.98 kB / 1.55 GB, free: 14.54 MB / 1.232 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.0006781/1.262, allocations: 311.5 kB / 1.55 GB, free: 14.23 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003145/1.262, allocations: 99.39 kB / 1.55 GB, free: 14.13 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003312/1.262, allocations: 112.7 kB / 1.551 GB, free: 14.02 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/1.262, allocations: 4 kB / 1.551 GB, free: 14.02 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/1.262, allocations: 0 / 1.551 GB, free: 14.02 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002264/1.265, allocations: 1.026 MB / 1.552 GB, free: 12.9 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005745/1.27, allocations: 2.133 MB / 1.554 GB, free: 10.67 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-05/1.27, allocations: 4 kB / 1.554 GB, free: 10.67 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009622/1.271, allocations: 168.1 kB / 1.554 GB, free: 10.5 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.449e-05/1.271, allocations: 4 kB / 1.554 GB, free: 10.5 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.951e-05/1.271, allocations: 15.98 kB / 1.554 GB, free: 10.48 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.549e-05/1.271, allocations: 7.938 kB / 1.554 GB, free: 10.48 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.174e-06/1.271, allocations: 4 kB / 1.554 GB, free: 10.47 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003485/1.275, allocations: 1.419 MB / 1.555 GB, free: 8.996 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006516/1.275, allocations: 260.5 kB / 1.555 GB, free: 8.723 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002688/1.276, allocations: 15.94 kB / 1.555 GB, free: 8.707 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001094/1.277, allocations: 75.81 kB / 1.556 GB, free: 8.633 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/1.277, allocations: 27.97 kB / 1.556 GB, free: 8.605 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001026/1.277, allocations: 31.97 kB / 1.556 GB, free: 8.574 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001017/1.278, allocations: 0.6044 MB / 1.556 GB, free: 7.977 MB / 1.232 GB Notification: Performance of sort global known variables: time 7e-08/1.278, allocations: 0 / 1.556 GB, free: 7.977 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001152/1.279, allocations: 267.9 kB / 1.556 GB, free: 7.715 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.004305/1.284, allocations: 2.079 MB / 1.559 GB, free: 5.57 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002377/1.286, allocations: 0.7915 MB / 1.559 GB, free: 4.777 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 9.939e-06/1.286, allocations: 0 / 1.559 GB, free: 4.777 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001085/1.287, allocations: 389 kB / 1.56 GB, free: 4.398 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003399/1.29, allocations: 0.5718 MB / 1.56 GB, free: 3.828 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01854/1.309, allocations: 8.212 MB / 1.568 GB, free: 11.3 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001001/1.31, allocations: 1.114 MB / 1.569 GB, free: 10.16 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001115/1.311, allocations: 259.8 kB / 1.57 GB, free: 9.906 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007128/1.312, allocations: 355.3 kB / 1.57 GB, free: 9.559 MB / 1.248 GB Notification: Performance of SimCode: time 9.82e-07/1.312, allocations: 0 / 1.57 GB, free: 9.559 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06736/1.379, allocations: 28.96 MB / 1.598 GB, free: 13.14 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.718/11.1, allocations: 7.938 kB / 1.598 GB, free: 13.13 MB / 1.279 GB " [Timeout remaining time 289] (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: 17.592097964021377]