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.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.001312/0.001312, allocations: 108.2 kB / 16.46 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.001301/0.001301, allocations: 191.8 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.4/1.4, allocations: 225.6 MB / 247.8 MB, free: 13.92 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.055/3.055, allocations: 497.2 MB / 0.7811 GB, free: 33.64 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.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: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 67.61 kB / 1.134 GB, free: 33.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3681/0.37, allocations: 173.9 MB / 1.304 GB, free: 1.5 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.2632/0.6332, allocations: 191.1 MB / 1.491 GB, free: 1.715 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01171/0.6449, allocations: 5.729 MB / 1.496 GB, free: 11.97 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002106/0.647, allocations: 39.75 kB / 1.496 GB, free: 11.93 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.002117/0.6491, allocations: 0.602 MB / 1.497 GB, free: 11.33 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.005466/0.6546, allocations: 1.669 MB / 1.498 GB, free: 9.652 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003942/0.6586, allocations: 1.213 MB / 1.5 GB, free: 8.449 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.004266/0.6628, allocations: 2.5 MB / 1.502 GB, free: 5.938 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001725/0.6645, allocations: 0.8248 MB / 1.503 GB, free: 5.094 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003004/0.6676, allocations: 1.23 MB / 1.504 GB, free: 3.859 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002468/0.67, allocations: 0.8658 MB / 1.505 GB, free: 2.996 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0003987/0.6704, allocations: 100 kB / 1.505 GB, free: 2.898 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004328/0.6747, allocations: 1.59 MB / 1.507 GB, free: 1.305 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.001179/0.6759, allocations: 0.4908 MB / 1.507 GB, free: 0.8125 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001901/0.6778, allocations: 0.6261 MB / 1.508 GB, free: 188 kB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.005618/0.6834, allocations: 2.118 MB / 1.51 GB, free: 14.06 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.6835, allocations: 0 / 1.51 GB, free: 14.06 MB / 1.217 GB Notification: Performance of FrontEnd: time 2.304e-06/0.6835, allocations: 3.938 kB / 1.51 GB, free: 14.05 MB / 1.217 GB Notification: Performance of Transformations before backend: time 7.219e-05/0.6835, allocations: 0 / 1.51 GB, free: 14.05 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.004035/0.6876, allocations: 1.513 MB / 1.511 GB, free: 12.48 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.6876, allocations: 8.625 kB / 1.511 GB, free: 12.48 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002848/0.6879, allocations: 135.2 kB / 1.511 GB, free: 12.34 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002245/0.6901, allocations: 343 kB / 1.512 GB, free: 12 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001899/0.692, allocations: 0.82 MB / 1.512 GB, free: 11.14 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.746e-05/0.6921, allocations: 66 kB / 1.512 GB, free: 11.07 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000177/0.6923, allocations: 84 kB / 1.513 GB, free: 10.99 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002072/0.6944, allocations: 1.071 MB / 1.514 GB, free: 9.879 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.773e-05/0.6944, allocations: 0 / 1.514 GB, free: 9.879 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001069/0.6945, allocations: 47.92 kB / 1.514 GB, free: 9.832 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-05/0.6946, allocations: 37.98 kB / 1.514 GB, free: 9.793 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001657/0.6962, allocations: 0.8275 MB / 1.515 GB, free: 8.965 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.006539/0.7028, allocations: 4.418 MB / 1.519 GB, free: 4.238 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006338/0.7034, allocations: 349.6 kB / 1.519 GB, free: 3.891 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003225/0.7037, allocations: 204.8 kB / 1.519 GB, free: 3.688 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002242/0.7039, allocations: 97.09 kB / 1.519 GB, free: 3.574 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.086e-05/0.704, allocations: 42.56 kB / 1.519 GB, free: 3.523 MB / 1.217 GB Notification: Performance of pre-optimization done (n=36): time 3.767e-06/0.704, allocations: 3.984 kB / 1.519 GB, free: 3.52 MB / 1.217 GB Notification: Performance of matching and sorting (n=38): time 0.002757/0.7067, allocations: 1.353 MB / 1.521 GB, free: 2.113 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.672e-05/0.7068, allocations: 59.41 kB / 1.521 GB, free: 2.043 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001569/0.7084, allocations: 1.004 MB / 1.522 GB, free: 1.016 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 4.964e-05/0.7084, allocations: 37.7 kB / 1.522 GB, free: 0.9727 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.000428/0.7088, allocations: 0.4963 MB / 1.522 GB, free: 484 kB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001488/0.709, allocations: 146.7 kB / 1.523 GB, free: 336 kB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002117/0.7092, allocations: 126.2 kB / 1.523 GB, free: 204 kB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0003549/0.7095, allocations: 330 kB / 1.523 GB, free: 15.87 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004791/0.71, allocations: 233.2 kB / 1.523 GB, free: 15.64 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006334/0.7107, allocations: 423.8 kB / 1.524 GB, free: 15.15 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.002586/0.7132, allocations: 1.222 MB / 1.525 GB, free: 13.83 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.7132, allocations: 4 kB / 1.525 GB, free: 13.83 MB / 1.232 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001437/0.7147, allocations: 0.7581 MB / 1.526 GB, free: 13.06 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.7147, allocations: 8 kB / 1.526 GB, free: 13.05 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.474e-05/0.7147, allocations: 12.42 kB / 1.526 GB, free: 13.04 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.58e-05/0.7147, allocations: 16 kB / 1.526 GB, free: 13.03 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005744/0.7153, allocations: 139.8 kB / 1.526 GB, free: 12.89 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.99e-05/0.7153, allocations: 12.06 kB / 1.526 GB, free: 12.88 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008637/0.7162, allocations: 63.94 kB / 1.526 GB, free: 12.82 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.912e-05/0.7163, allocations: 24 kB / 1.526 GB, free: 12.79 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: 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.0004953/0.7168, allocations: 313.5 kB / 1.526 GB, free: 12.48 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001572/0.7169, allocations: 107.3 kB / 1.526 GB, free: 12.37 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001778/0.7171, allocations: 101 kB / 1.526 GB, free: 12.27 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.7171, allocations: 11.92 kB / 1.526 GB, free: 12.26 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.7171, allocations: 0 / 1.526 GB, free: 12.26 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007863/0.7179, allocations: 0.6789 MB / 1.527 GB, free: 11.49 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002646/0.7205, allocations: 1.584 MB / 1.528 GB, free: 9.801 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/0.7205, allocations: 4.5 kB / 1.528 GB, free: 9.797 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003972/0.7209, allocations: 87.89 kB / 1.529 GB, free: 9.711 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.658e-06/0.721, allocations: 8 kB / 1.529 GB, free: 9.703 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.31e-05/0.721, allocations: 16 kB / 1.529 GB, free: 9.688 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.858e-06/0.721, allocations: 11.88 kB / 1.529 GB, free: 9.676 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.721, allocations: 4 kB / 1.529 GB, free: 9.672 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00114/0.7221, allocations: 0.83 MB / 1.529 GB, free: 8.777 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004711/0.7226, allocations: 244.5 kB / 1.53 GB, free: 8.52 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/0.7227, allocations: 11.94 kB / 1.53 GB, free: 8.508 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006436/0.7234, allocations: 45.59 kB / 1.53 GB, free: 8.465 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.02e-05/0.7234, allocations: 35.84 kB / 1.53 GB, free: 8.43 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.98e-05/0.7235, allocations: 27.98 kB / 1.53 GB, free: 8.402 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001085/0.7246, allocations: 0.7077 MB / 1.53 GB, free: 7.684 MB / 1.232 GB Notification: Performance of sort global known variables: time 1e-07/0.7246, allocations: 0 / 1.53 GB, free: 7.684 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0008681/0.7254, allocations: 259.9 kB / 1.531 GB, free: 7.43 MB / 1.232 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.001868/0.7273, allocations: 1.484 MB / 1.532 GB, free: 5.875 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001005/0.7283, allocations: 495.5 kB / 1.533 GB, free: 5.391 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.7283, allocations: 0 / 1.533 GB, free: 5.391 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0002804/0.7286, allocations: 181.3 kB / 1.533 GB, free: 5.215 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002564/0.7312, allocations: 0.6196 MB / 1.533 GB, free: 4.609 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01169/0.7429, allocations: 7.643 MB / 1.541 GB, free: 12.59 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009078/0.7438, allocations: 1.095 MB / 1.542 GB, free: 11.46 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0009537/0.7447, allocations: 252.3 kB / 1.542 GB, free: 11.21 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004906/0.7452, allocations: 343.3 kB / 1.543 GB, free: 10.88 MB / 1.248 GB Notification: Performance of SimCode: time 1.322e-06/0.7452, allocations: 0 / 1.543 GB, free: 10.88 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06997/0.8152, allocations: 27.92 MB / 1.57 GB, free: 15.39 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.06/10.87, allocations: 8.531 kB / 1.57 GB, free: 15.38 MB / 1.279 GB " [Timeout remaining time 289] (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_2/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: 17.323178262915462]