Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001209/0.001209, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001293/0.001293, allocations: 218.9 kB / 22.26 MB, free: 5.121 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.324/1.324, allocations: 230.6 MB / 256 MB, free: 7.957 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.968/2.968, allocations: 0.505 GB / 0.8101 GB, free: 22.04 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="me",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.00187/0.00187, allocations: 62.97 kB / 1.177 GB, free: 17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2954/0.2972, allocations: 180.2 MB / 1.353 GB, free: 8.426 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.2079/0.5051, allocations: 194.5 MB / 1.543 GB, free: 5.199 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.009408/0.5145, allocations: 5.75 MB / 1.548 GB, free: 15.44 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001183/0.5157, allocations: 59.5 kB / 1.549 GB, free: 15.38 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.001593/0.5173, allocations: 0.5981 MB / 1.549 GB, free: 14.78 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.003865/0.5212, allocations: 1.704 MB / 1.551 GB, free: 13.07 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.003045/0.5242, allocations: 1.263 MB / 1.552 GB, free: 11.81 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.003274/0.5275, allocations: 2.612 MB / 1.555 GB, free: 9.191 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001198/0.5287, allocations: 0.7591 MB / 1.555 GB, free: 8.414 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002242/0.5309, allocations: 1.269 MB / 1.557 GB, free: 7.141 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001851/0.5328, allocations: 0.9136 MB / 1.557 GB, free: 6.23 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0002134/0.533, allocations: 108 kB / 1.558 GB, free: 6.125 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002627/0.5356, allocations: 1.637 MB / 1.559 GB, free: 4.484 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0005528/0.5362, allocations: 0.5025 MB / 1.56 GB, free: 3.98 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.0008306/0.537, allocations: 0.6455 MB / 1.56 GB, free: 3.332 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.002746/0.5397, allocations: 2.191 MB / 1.562 GB, free: 1.137 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.5397, allocations: 0 / 1.562 GB, free: 1.137 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.202e-06/0.5397, allocations: 0 / 1.562 GB, free: 1.137 MB / 1.248 GB Notification: Performance of Transformations before backend: time 1.608e-05/0.5398, allocations: 4 kB / 1.562 GB, free: 1.133 MB / 1.248 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.002339/0.5421, allocations: 1.481 MB / 1.564 GB, free: 15.61 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.5421, allocations: 8.031 kB / 1.564 GB, free: 15.61 MB / 1.264 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000212/0.5423, allocations: 143.3 kB / 1.564 GB, free: 15.46 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002766/0.5451, allocations: 482.7 kB / 1.564 GB, free: 14.98 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001548/0.5467, allocations: 0.7876 MB / 1.565 GB, free: 14.17 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.932e-05/0.5467, allocations: 62 kB / 1.565 GB, free: 14.11 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001345/0.5468, allocations: 88 kB / 1.565 GB, free: 14.02 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002074/0.5489, allocations: 1.179 MB / 1.566 GB, free: 12.82 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.661e-05/0.549, allocations: 3.953 kB / 1.566 GB, free: 12.82 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.918e-05/0.549, allocations: 36 kB / 1.567 GB, free: 12.78 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.762e-05/0.5491, allocations: 49.86 kB / 1.567 GB, free: 12.73 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002217/0.5513, allocations: 1.062 MB / 1.568 GB, free: 11.67 MB / 1.264 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.007066/0.5584, allocations: 4.421 MB / 1.572 GB, free: 6.957 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001831/0.5602, allocations: 0.7163 MB / 1.573 GB, free: 6.234 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008784/0.5611, allocations: 385.6 kB / 1.573 GB, free: 5.855 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001451/0.5612, allocations: 19.98 kB / 1.573 GB, free: 5.836 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.586e-05/0.5613, allocations: 50.48 kB / 1.573 GB, free: 5.777 MB / 1.264 GB Notification: Performance of pre-optimization done (n=43): time 3.727e-06/0.5613, allocations: 3.984 kB / 1.573 GB, free: 5.773 MB / 1.264 GB Notification: Performance of matching and sorting (n=45): time 0.00531/0.5666, allocations: 2.12 MB / 1.575 GB, free: 3.621 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/0.5666, allocations: 55.41 kB / 1.575 GB, free: 3.555 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00105/0.5677, allocations: 0.8686 MB / 1.576 GB, free: 2.68 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 7.719e-05/0.5677, allocations: 37.7 kB / 1.576 GB, free: 2.637 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003745/0.5681, allocations: 0.4924 MB / 1.577 GB, free: 2.137 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001545/0.5683, allocations: 170.6 kB / 1.577 GB, free: 1.969 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002003/0.5685, allocations: 122.2 kB / 1.577 GB, free: 1.844 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.5686, allocations: 334 kB / 1.577 GB, free: 1.512 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008668/0.5695, allocations: 365 kB / 1.578 GB, free: 1.152 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009744/0.5705, allocations: 0.4974 MB / 1.578 GB, free: 0.6055 MB / 1.264 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.005605/0.5761, allocations: 2.188 MB / 1.58 GB, free: 14.36 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.5761, allocations: 0 / 1.58 GB, free: 14.36 MB / 1.279 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002153/0.5782, allocations: 0.9888 MB / 1.581 GB, free: 13.37 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.5782, allocations: 8 kB / 1.581 GB, free: 13.36 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.5782, allocations: 4 kB / 1.581 GB, free: 13.36 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/0.5783, allocations: 11.94 kB / 1.581 GB, free: 13.34 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008741/0.5791, allocations: 187.8 kB / 1.581 GB, free: 13.16 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.632e-05/0.5792, allocations: 11.94 kB / 1.581 GB, free: 13.15 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008147/0.58, allocations: 67.92 kB / 1.581 GB, free: 13.08 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.555e-05/0.58, allocations: 24 kB / 1.581 GB, free: 13.06 MB / 1.279 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.0004178/0.5804, allocations: 321.5 kB / 1.582 GB, free: 12.73 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001535/0.5806, allocations: 99.39 kB / 1.582 GB, free: 12.64 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001955/0.5808, allocations: 100.8 kB / 1.582 GB, free: 12.54 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/0.5808, allocations: 15.88 kB / 1.582 GB, free: 12.52 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.5808, allocations: 0 / 1.582 GB, free: 12.52 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001853/0.5827, allocations: 1.034 MB / 1.583 GB, free: 11.4 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004283/0.5869, allocations: 2.101 MB / 1.585 GB, free: 9.207 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.643e-06/0.5869, allocations: 7.984 kB / 1.585 GB, free: 9.199 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008161/0.5878, allocations: 164.1 kB / 1.585 GB, free: 9.039 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.201e-06/0.5878, allocations: 4 kB / 1.585 GB, free: 9.035 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.532e-05/0.5878, allocations: 27.97 kB / 1.585 GB, free: 9.008 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.698e-06/0.5878, allocations: 8 kB / 1.585 GB, free: 9 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.5878, allocations: 7.875 kB / 1.585 GB, free: 8.992 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002858/0.5907, allocations: 1.411 MB / 1.587 GB, free: 7.52 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004274/0.5911, allocations: 183.3 kB / 1.587 GB, free: 7.34 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001199/0.5912, allocations: 12 kB / 1.587 GB, free: 7.328 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008129/0.592, allocations: 77.03 kB / 1.587 GB, free: 7.254 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.853e-05/0.5921, allocations: 35.88 kB / 1.587 GB, free: 7.219 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.619e-05/0.5922, allocations: 31.98 kB / 1.587 GB, free: 7.188 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.0007328/0.5929, allocations: 0.6005 MB / 1.587 GB, free: 6.59 MB / 1.279 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5929, allocations: 0 / 1.587 GB, free: 6.59 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.0007452/0.5937, allocations: 275.9 kB / 1.588 GB, free: 6.32 MB / 1.279 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.003385/0.5971, allocations: 2.057 MB / 1.59 GB, free: 4.191 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.001859/0.5989, allocations: 0.7872 MB / 1.591 GB, free: 3.402 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.5989, allocations: 4 kB / 1.591 GB, free: 3.398 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.000874/0.5998, allocations: 385.3 kB / 1.591 GB, free: 3.023 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0022/0.602, allocations: 0.5817 MB / 1.591 GB, free: 2.453 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01349/0.6155, allocations: 8.211 MB / 1.599 GB, free: 9.93 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007202/0.6162, allocations: 1.107 MB / 1.601 GB, free: 8.797 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0007945/0.617, allocations: 263.8 kB / 1.601 GB, free: 8.535 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005356/0.6175, allocations: 355.3 kB / 1.601 GB, free: 8.188 MB / 1.295 GB Notification: Performance of SimCode: time 5.61e-07/0.6175, allocations: 4 kB / 1.601 GB, free: 8.184 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5969/1.214, allocations: 29.37 MB / 1.63 GB, free: 252.9 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/12.9, allocations: 4.812 kB / 1.63 GB, free: 252.9 MB / 1.295 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 18.96015045279637]