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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 103.7 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001618/0.001618, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.095/3.095, allocations: 497.2 MB / 0.7811 GB, free: 33.6 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.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: Performance of FrontEnd - loaded program: time 0.002243/0.002243, allocations: 58.97 kB / 1.134 GB, free: 33.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3655/0.3677, allocations: 173.9 MB / 1.304 GB, free: 1.477 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.2292/0.597, allocations: 191.2 MB / 1.491 GB, free: 1.555 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01071/0.6077, allocations: 5.752 MB / 1.496 GB, free: 11.79 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001478/0.6092, allocations: 39.81 kB / 1.496 GB, free: 11.75 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001718/0.6109, allocations: 0.5981 MB / 1.497 GB, free: 11.15 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.004366/0.6152, allocations: 1.672 MB / 1.499 GB, free: 9.473 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003389/0.6186, allocations: 1.219 MB / 1.5 GB, free: 8.262 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.003432/0.6221, allocations: 2.558 MB / 1.502 GB, free: 5.695 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001205/0.6233, allocations: 0.86 MB / 1.503 GB, free: 4.816 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002327/0.6256, allocations: 1.257 MB / 1.504 GB, free: 3.555 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001666/0.6273, allocations: 0.8971 MB / 1.505 GB, free: 2.66 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001684/0.6274, allocations: 108 kB / 1.505 GB, free: 2.555 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003056/0.6305, allocations: 1.614 MB / 1.507 GB, free: 0.9375 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0005934/0.6311, allocations: 0.5024 MB / 1.507 GB, free: 444 kB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0008537/0.6319, allocations: 0.6456 MB / 1.508 GB, free: 15.78 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.003892/0.6358, allocations: 2.187 MB / 1.51 GB, free: 13.59 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.6358, allocations: 0 / 1.51 GB, free: 13.59 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.994e-06/0.6358, allocations: 0 / 1.51 GB, free: 13.59 MB / 1.217 GB Notification: Performance of Transformations before backend: time 2.229e-05/0.6359, allocations: 3.938 kB / 1.51 GB, free: 13.59 MB / 1.217 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.002882/0.6387, allocations: 1.56 MB / 1.512 GB, free: 11.97 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.6388, allocations: 8.922 kB / 1.512 GB, free: 11.96 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001902/0.639, allocations: 143.3 kB / 1.512 GB, free: 11.82 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003053/0.642, allocations: 482.8 kB / 1.512 GB, free: 11.34 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001855/0.6439, allocations: 0.8598 MB / 1.513 GB, free: 10.44 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.798e-05/0.644, allocations: 66 kB / 1.513 GB, free: 10.38 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000153/0.6441, allocations: 84 kB / 1.513 GB, free: 10.3 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00229/0.6464, allocations: 1.18 MB / 1.514 GB, free: 9.094 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.518e-05/0.6464, allocations: 0 / 1.514 GB, free: 9.094 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.951e-05/0.6465, allocations: 36 kB / 1.514 GB, free: 9.059 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.804e-05/0.6466, allocations: 37.98 kB / 1.514 GB, free: 9.023 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002383/0.6489, allocations: 1.066 MB / 1.516 GB, free: 7.953 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.00792/0.6569, allocations: 4.475 MB / 1.52 GB, free: 3.184 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001966/0.6588, allocations: 0.7308 MB / 1.521 GB, free: 2.445 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009101/0.6597, allocations: 392.4 kB / 1.521 GB, free: 2.059 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000212/0.66, allocations: 109.1 kB / 1.521 GB, free: 1.934 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.885e-05/0.66, allocations: 42.5 kB / 1.521 GB, free: 1.883 MB / 1.217 GB Notification: Performance of pre-optimization done (n=43): time 2.204e-06/0.66, allocations: 0 / 1.521 GB, free: 1.883 MB / 1.217 GB Notification: Performance of matching and sorting (n=45): time 0.00597/0.666, allocations: 2.19 MB / 1.523 GB, free: 15.64 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.07e-05/0.666, allocations: 55.41 kB / 1.523 GB, free: 15.57 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001205/0.6672, allocations: 0.8647 MB / 1.524 GB, free: 14.7 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 6.913e-05/0.6673, allocations: 37.7 kB / 1.524 GB, free: 14.66 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.00043/0.6677, allocations: 0.4924 MB / 1.525 GB, free: 14.16 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.000187/0.6679, allocations: 178.5 kB / 1.525 GB, free: 13.98 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002372/0.6681, allocations: 118.3 kB / 1.525 GB, free: 13.86 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001658/0.6683, allocations: 326 kB / 1.525 GB, free: 13.54 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009324/0.6692, allocations: 377 kB / 1.526 GB, free: 13.17 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001034/0.6703, allocations: 0.5013 MB / 1.526 GB, free: 12.62 MB / 1.232 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.006048/0.6763, allocations: 2.266 MB / 1.528 GB, free: 10.28 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.217e-06/0.6763, allocations: 4 kB / 1.528 GB, free: 10.27 MB / 1.232 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002551/0.6789, allocations: 0.9864 MB / 1.529 GB, free: 9.281 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/0.6789, allocations: 8.062 kB / 1.529 GB, free: 9.273 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.6789, allocations: 8 kB / 1.529 GB, free: 9.266 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.898e-05/0.679, allocations: 11.75 kB / 1.529 GB, free: 9.258 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009475/0.6799, allocations: 195.7 kB / 1.53 GB, free: 9.066 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.372e-05/0.6799, allocations: 4 kB / 1.53 GB, free: 9.062 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001052/0.681, allocations: 67.94 kB / 1.53 GB, free: 8.996 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.875e-05/0.681, allocations: 31.97 kB / 1.53 GB, free: 8.965 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.0005606/0.6816, allocations: 305.6 kB / 1.53 GB, free: 8.656 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000167/0.6818, allocations: 103.3 kB / 1.53 GB, free: 8.555 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002204/0.682, allocations: 104.7 kB / 1.53 GB, free: 8.449 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.846e-06/0.682, allocations: 12 kB / 1.53 GB, free: 8.438 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.682, allocations: 0 / 1.53 GB, free: 8.438 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001996/0.684, allocations: 1.026 MB / 1.531 GB, free: 7.324 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004799/0.6888, allocations: 2.141 MB / 1.533 GB, free: 5.082 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.6888, allocations: 0 / 1.533 GB, free: 5.082 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008699/0.6897, allocations: 167.9 kB / 1.533 GB, free: 4.918 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.636e-06/0.6897, allocations: 4 kB / 1.533 GB, free: 4.914 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.548e-05/0.6897, allocations: 15.98 kB / 1.533 GB, free: 4.898 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.866e-06/0.6897, allocations: 7.938 kB / 1.533 GB, free: 4.891 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.6897, allocations: 7.938 kB / 1.533 GB, free: 4.883 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003108/0.6928, allocations: 1.415 MB / 1.535 GB, free: 3.41 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000589/0.6934, allocations: 260.4 kB / 1.535 GB, free: 3.137 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001271/0.6936, allocations: 12 kB / 1.535 GB, free: 3.125 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000858/0.6944, allocations: 73.03 kB / 1.535 GB, free: 3.055 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.261e-05/0.6945, allocations: 35.95 kB / 1.535 GB, free: 3.02 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-05/0.6946, allocations: 27.98 kB / 1.535 GB, free: 2.992 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0008366/0.6954, allocations: 0.6043 MB / 1.536 GB, free: 2.391 MB / 1.232 GB Notification: Performance of sort global known variables: time 7e-08/0.6954, allocations: 0 / 1.536 GB, free: 2.391 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0008747/0.6963, allocations: 267.9 kB / 1.536 GB, free: 2.129 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.003749/0.7, allocations: 2.069 MB / 1.538 GB, free: 15.99 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.00209/0.7021, allocations: 0.7914 MB / 1.539 GB, free: 15.21 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 1.077e-05/0.7021, allocations: 4 kB / 1.539 GB, free: 15.2 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0009284/0.7031, allocations: 389.3 kB / 1.539 GB, free: 14.82 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002543/0.7056, allocations: 0.5707 MB / 1.54 GB, free: 14.27 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01522/0.7208, allocations: 8.223 MB / 1.548 GB, free: 5.73 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008157/0.7216, allocations: 1.114 MB / 1.549 GB, free: 4.59 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.00101/0.7227, allocations: 259.8 kB / 1.549 GB, free: 4.332 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005784/0.7232, allocations: 355.3 kB / 1.549 GB, free: 3.984 MB / 1.248 GB Notification: Performance of SimCode: time 1.183e-06/0.7232, allocations: 0 / 1.549 GB, free: 3.984 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07109/0.7943, allocations: 28.85 MB / 1.578 GB, free: 7.617 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.959/10.75, allocations: 17.02 kB / 1.578 GB, free: 7.605 MB / 1.279 GB " [Timeout remaining time 289] (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_2/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: 17.350816132035106]