Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.001235/0.001235, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001349/0.001349, allocations: 211.3 kB / 22.24 MB, free: 4.855 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.31/1.31, allocations: 230.6 MB / 256 MB, free: 7.797 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.942/2.942, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 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.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",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.00191/0.00191, allocations: 73.48 kB / 1.186 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2899/0.2918, allocations: 181.9 MB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.1939/0.4857, allocations: 168.3 MB / 1.528 GB, free: 5.129 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.009406/0.4951, allocations: 5.403 MB / 1.533 GB, free: 15.71 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001197/0.4963, allocations: 51.56 kB / 1.533 GB, free: 15.66 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.001485/0.4978, allocations: 0.5475 MB / 1.534 GB, free: 15.11 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.004039/0.5018, allocations: 1.684 MB / 1.535 GB, free: 13.42 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.003195/0.505, allocations: 1.222 MB / 1.536 GB, free: 12.21 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.003509/0.5085, allocations: 2.547 MB / 1.539 GB, free: 9.648 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001187/0.5097, allocations: 0.7084 MB / 1.54 GB, free: 8.922 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002435/0.5121, allocations: 1.269 MB / 1.541 GB, free: 7.648 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00197/0.5141, allocations: 0.8273 MB / 1.542 GB, free: 6.824 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0002052/0.5143, allocations: 104 kB / 1.542 GB, free: 6.723 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00264/0.5169, allocations: 1.247 MB / 1.543 GB, free: 5.473 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0005832/0.5175, allocations: 0.4908 MB / 1.544 GB, free: 4.98 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0006759/0.5182, allocations: 0.5212 MB / 1.544 GB, free: 4.457 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.002839/0.521, allocations: 2.087 MB / 1.546 GB, free: 2.363 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.521, allocations: 0 / 1.546 GB, free: 2.363 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.863e-06/0.521, allocations: 4 kB / 1.546 GB, free: 2.359 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.358e-05/0.521, allocations: 0 / 1.546 GB, free: 2.359 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002228/0.5233, allocations: 1.434 MB / 1.547 GB, free: 0.8867 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.5233, allocations: 8.031 kB / 1.547 GB, free: 0.8789 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001694/0.5235, allocations: 139.2 kB / 1.548 GB, free: 0.7344 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001828/0.5253, allocations: 331 kB / 1.548 GB, free: 420 kB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001433/0.5267, allocations: 0.7557 MB / 1.549 GB, free: 15.62 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.632e-05/0.5268, allocations: 62 kB / 1.549 GB, free: 15.56 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001295/0.5269, allocations: 88 kB / 1.549 GB, free: 15.48 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001955/0.5289, allocations: 1.472 MB / 1.55 GB, free: 13.87 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.446e-05/0.5289, allocations: 3.938 kB / 1.55 GB, free: 13.86 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.395e-05/0.529, allocations: 39.91 kB / 1.55 GB, free: 13.83 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.81e-05/0.5291, allocations: 34 kB / 1.55 GB, free: 13.79 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001492/0.5305, allocations: 0.8275 MB / 1.551 GB, free: 12.97 MB / 1.248 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.005053/0.5356, allocations: 3.268 MB / 1.554 GB, free: 9.602 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000591/0.5362, allocations: 354.5 kB / 1.555 GB, free: 9.246 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002982/0.5365, allocations: 196.8 kB / 1.555 GB, free: 9.051 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001362/0.5366, allocations: 27.98 kB / 1.555 GB, free: 9.023 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.663e-05/0.5367, allocations: 38.56 kB / 1.555 GB, free: 8.977 MB / 1.248 GB Notification: Performance of pre-optimization done (n=36): time 1.974e-06/0.5367, allocations: 0 / 1.555 GB, free: 8.977 MB / 1.248 GB Notification: Performance of matching and sorting (n=38): time 0.00233/0.539, allocations: 1.269 MB / 1.556 GB, free: 7.672 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/0.539, allocations: 63.09 kB / 1.556 GB, free: 7.598 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00136/0.5404, allocations: 1.012 MB / 1.557 GB, free: 6.562 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 4.797e-05/0.5404, allocations: 33.7 kB / 1.557 GB, free: 6.523 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004013/0.5408, allocations: 0.5002 MB / 1.558 GB, free: 6.02 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001379/0.541, allocations: 154.7 kB / 1.558 GB, free: 5.867 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001868/0.5412, allocations: 122.2 kB / 1.558 GB, free: 5.742 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.5413, allocations: 330 kB / 1.558 GB, free: 5.414 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004649/0.5418, allocations: 237.2 kB / 1.559 GB, free: 5.184 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006345/0.5424, allocations: 471.2 kB / 1.559 GB, free: 4.633 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.002424/0.5448, allocations: 1.139 MB / 1.56 GB, free: 3.414 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.94e-06/0.5448, allocations: 4 kB / 1.56 GB, free: 3.41 MB / 1.248 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001368/0.5462, allocations: 0.7696 MB / 1.561 GB, free: 2.633 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.5462, allocations: 11.94 kB / 1.561 GB, free: 2.621 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.5462, allocations: 12.44 kB / 1.561 GB, free: 2.609 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.5463, allocations: 12 kB / 1.561 GB, free: 2.598 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005578/0.5468, allocations: 143.7 kB / 1.561 GB, free: 2.457 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.496e-05/0.5468, allocations: 8 kB / 1.561 GB, free: 2.449 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008221/0.5477, allocations: 55.95 kB / 1.561 GB, free: 2.395 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.269e-05/0.5477, allocations: 31.92 kB / 1.561 GB, free: 2.363 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: 25 * 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 (74): * Single equations (assignments): 74 * 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.0004189/0.5481, allocations: 316.2 kB / 1.561 GB, free: 2.047 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001489/0.5483, allocations: 99.39 kB / 1.561 GB, free: 1.949 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001704/0.5484, allocations: 109 kB / 1.562 GB, free: 1.844 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.5485, allocations: 4 kB / 1.562 GB, free: 1.84 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.5485, allocations: 4 kB / 1.562 GB, free: 1.836 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007143/0.5492, allocations: 0.6753 MB / 1.562 GB, free: 1.074 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002332/0.5515, allocations: 1.437 MB / 1.564 GB, free: 15.54 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.5515, allocations: 4 kB / 1.564 GB, free: 15.54 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003714/0.5519, allocations: 87.86 kB / 1.564 GB, free: 15.45 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/0.5519, allocations: 4 kB / 1.564 GB, free: 15.45 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.083e-05/0.5519, allocations: 16 kB / 1.564 GB, free: 15.43 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.096e-05/0.5519, allocations: 15.88 kB / 1.564 GB, free: 15.41 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.5519, allocations: 4 kB / 1.564 GB, free: 15.41 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001075/0.553, allocations: 0.8464 MB / 1.565 GB, free: 14.5 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004088/0.5534, allocations: 167.3 kB / 1.565 GB, free: 14.34 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000117/0.5535, allocations: 19.94 kB / 1.565 GB, free: 14.32 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000631/0.5542, allocations: 38.2 kB / 1.565 GB, free: 14.28 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.041e-05/0.5542, allocations: 31.89 kB / 1.565 GB, free: 14.25 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.177e-05/0.5543, allocations: 27.98 kB / 1.565 GB, free: 14.22 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.00101/0.5553, allocations: 0.7077 MB / 1.566 GB, free: 13.5 MB / 1.264 GB Notification: Performance of sort global known variables: time 1e-07/0.5553, allocations: 3.938 kB / 1.566 GB, free: 13.5 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.000772/0.5561, allocations: 259.9 kB / 1.566 GB, free: 13.25 MB / 1.264 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (38): * Single equations (assignments): 38 * 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.001591/0.5576, allocations: 1.464 MB / 1.567 GB, free: 11.7 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.0009036/0.5585, allocations: 488.6 kB / 1.568 GB, free: 11.23 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.5586, allocations: 4 kB / 1.568 GB, free: 11.22 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0002656/0.5588, allocations: 179.7 kB / 1.568 GB, free: 11.05 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00249/0.5613, allocations: 0.6183 MB / 1.568 GB, free: 10.44 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01023/0.5715, allocations: 7.634 MB / 1.576 GB, free: 2.434 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005468/0.5721, allocations: 0.5041 MB / 1.576 GB, free: 1.895 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0008037/0.5729, allocations: 248.4 kB / 1.577 GB, free: 1.648 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000458/0.5733, allocations: 339.3 kB / 1.577 GB, free: 1.316 MB / 1.264 GB Notification: Performance of SimCode: time 9.32e-07/0.5733, allocations: 3.938 kB / 1.577 GB, free: 1.312 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06539/0.6387, allocations: 30.89 MB / 1.607 GB, free: 3.055 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.65, allocations: 11.94 kB / 1.607 GB, free: 3.043 MB / 1.295 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.14484544703737]