Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001471/0.001471, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001663/0.001663, allocations: 217.2 kB / 22.24 MB, free: 5.258 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.347/1.347, allocations: 230.6 MB / 256 MB, free: 7.793 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.905/2.905, allocations: 0.49 GB / 0.7951 GB, free: 35.42 MB / 0.6231 GB " [Timeout remaining time 177] 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.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_12_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.001884/0.001884, allocations: 63.72 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.3226, allocations: 176.1 MB / 1.326 GB, free: 1.488 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.2018/0.5244, allocations: 168.3 MB / 1.49 GB, free: 8.531 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.008697/0.5331, allocations: 5.404 MB / 1.496 GB, free: 3.113 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008167/0.5339, allocations: 59.5 kB / 1.496 GB, free: 3.055 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001354/0.5353, allocations: 0.5436 MB / 1.496 GB, free: 2.508 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.003557/0.5388, allocations: 1.676 MB / 1.498 GB, free: 0.8242 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002826/0.5417, allocations: 1.238 MB / 1.499 GB, free: 15.59 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.003465/0.5451, allocations: 2.569 MB / 1.501 GB, free: 13.02 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001169/0.5463, allocations: 0.72 MB / 1.502 GB, free: 12.28 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002411/0.5487, allocations: 1.257 MB / 1.503 GB, free: 11.02 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001855/0.5506, allocations: 0.8664 MB / 1.504 GB, free: 10.15 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001551/0.5507, allocations: 104 kB / 1.504 GB, free: 10.05 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00245/0.5532, allocations: 1.27 MB / 1.506 GB, free: 8.777 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0005523/0.5537, allocations: 0.4985 MB / 1.506 GB, free: 8.277 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0006594/0.5544, allocations: 0.5135 MB / 1.507 GB, free: 7.762 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002832/0.5572, allocations: 2.083 MB / 1.509 GB, free: 5.672 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.5572, allocations: 0 / 1.509 GB, free: 5.672 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.443e-06/0.5572, allocations: 0 / 1.509 GB, free: 5.672 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.366e-05/0.5572, allocations: 0 / 1.509 GB, free: 5.672 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002371/0.5596, allocations: 1.438 MB / 1.51 GB, free: 4.195 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.5596, allocations: 12.03 kB / 1.51 GB, free: 4.184 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000183/0.5598, allocations: 143.2 kB / 1.51 GB, free: 4.035 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001952/0.5618, allocations: 330.9 kB / 1.51 GB, free: 3.711 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001437/0.5632, allocations: 0.744 MB / 1.511 GB, free: 2.938 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.097e-05/0.5633, allocations: 66 kB / 1.511 GB, free: 2.871 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001381/0.5634, allocations: 87.98 kB / 1.511 GB, free: 2.785 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00201/0.5654, allocations: 1.476 MB / 1.513 GB, free: 1.172 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.618e-05/0.5655, allocations: 4 kB / 1.513 GB, free: 1.168 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-05/0.5655, allocations: 36 kB / 1.513 GB, free: 1.133 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.049e-05/0.5656, allocations: 37.98 kB / 1.513 GB, free: 1.094 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00152/0.5671, allocations: 0.8235 MB / 1.514 GB, free: 276 kB / 1.201 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.00547/0.5726, allocations: 3.276 MB / 1.517 GB, free: 12.89 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006263/0.5732, allocations: 351.8 kB / 1.517 GB, free: 12.54 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003185/0.5735, allocations: 205.8 kB / 1.517 GB, free: 12.34 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001481/0.5737, allocations: 19.98 kB / 1.517 GB, free: 12.32 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.24e-05/0.5737, allocations: 50.48 kB / 1.517 GB, free: 12.26 MB / 1.217 GB Notification: Performance of pre-optimization done (n=36): time 2.014e-06/0.5737, allocations: 0 / 1.517 GB, free: 12.26 MB / 1.217 GB Notification: Performance of matching and sorting (n=38): time 0.002551/0.5763, allocations: 1.276 MB / 1.519 GB, free: 10.95 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.589e-05/0.5764, allocations: 55.41 kB / 1.519 GB, free: 10.88 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001363/0.5777, allocations: 1.012 MB / 1.52 GB, free: 9.848 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 5.366e-05/0.5778, allocations: 37.7 kB / 1.52 GB, free: 9.805 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004133/0.5782, allocations: 0.4963 MB / 1.52 GB, free: 9.305 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001416/0.5783, allocations: 142.8 kB / 1.52 GB, free: 9.164 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002069/0.5785, allocations: 126.2 kB / 1.521 GB, free: 9.035 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.5787, allocations: 334 kB / 1.521 GB, free: 8.703 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004734/0.5792, allocations: 229.2 kB / 1.521 GB, free: 8.48 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006433/0.5798, allocations: 479.2 kB / 1.522 GB, free: 7.922 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.002502/0.5823, allocations: 1.142 MB / 1.523 GB, free: 6.699 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-06/0.5823, allocations: 0 / 1.523 GB, free: 6.699 MB / 1.217 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001368/0.5837, allocations: 0.7699 MB / 1.523 GB, free: 5.922 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.5837, allocations: 9.562 kB / 1.523 GB, free: 5.914 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.5837, allocations: 7.938 kB / 1.523 GB, free: 5.906 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/0.5837, allocations: 12 kB / 1.523 GB, free: 5.895 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000594/0.5843, allocations: 140.2 kB / 1.524 GB, free: 5.758 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.906e-05/0.5843, allocations: 19.92 kB / 1.524 GB, free: 5.738 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008655/0.5852, allocations: 55.91 kB / 1.524 GB, free: 5.684 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.085e-05/0.5853, allocations: 28 kB / 1.524 GB, free: 5.656 MB / 1.217 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.000414/0.5857, allocations: 314.6 kB / 1.524 GB, free: 5.34 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001532/0.5858, allocations: 103.4 kB / 1.524 GB, free: 5.238 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001776/0.586, allocations: 109 kB / 1.524 GB, free: 5.133 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.586, allocations: 4 kB / 1.524 GB, free: 5.129 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.586, allocations: 0 / 1.524 GB, free: 5.129 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007154/0.5867, allocations: 0.6752 MB / 1.525 GB, free: 4.367 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00234/0.5891, allocations: 1.434 MB / 1.526 GB, free: 2.836 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.5891, allocations: 4 kB / 1.526 GB, free: 2.832 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003922/0.5895, allocations: 79.91 kB / 1.526 GB, free: 2.754 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.613e-06/0.5895, allocations: 8 kB / 1.526 GB, free: 2.746 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.506e-05/0.5895, allocations: 16.48 kB / 1.526 GB, free: 2.73 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.763e-06/0.5895, allocations: 15.88 kB / 1.526 GB, free: 2.715 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/0.5895, allocations: 8.016 kB / 1.526 GB, free: 2.707 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001067/0.5906, allocations: 0.83 MB / 1.527 GB, free: 1.812 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004082/0.591, allocations: 167.3 kB / 1.527 GB, free: 1.648 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001254/0.5911, allocations: 23.88 kB / 1.527 GB, free: 1.625 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006546/0.5918, allocations: 31.95 kB / 1.527 GB, free: 1.594 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.24e-05/0.5918, allocations: 47.83 kB / 1.527 GB, free: 1.547 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.413e-05/0.5919, allocations: 27.98 kB / 1.527 GB, free: 1.52 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001023/0.5929, allocations: 0.7038 MB / 1.528 GB, free: 0.8047 MB / 1.217 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5929, allocations: 0 / 1.528 GB, free: 0.8047 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0007864/0.5937, allocations: 255.9 kB / 1.528 GB, free: 0.5547 MB / 1.217 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.001652/0.5954, allocations: 1.484 MB / 1.53 GB, free: 14.99 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0009338/0.5963, allocations: 488.2 kB / 1.53 GB, free: 14.52 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/0.5963, allocations: 4.375 kB / 1.53 GB, free: 14.51 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0002659/0.5966, allocations: 189.7 kB / 1.53 GB, free: 14.33 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002559/0.5991, allocations: 0.6153 MB / 1.531 GB, free: 13.72 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01063/0.6097, allocations: 7.631 MB / 1.539 GB, free: 5.719 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005787/0.6103, allocations: 0.4924 MB / 1.539 GB, free: 5.191 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0008473/0.6112, allocations: 260.4 kB / 1.539 GB, free: 4.934 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004833/0.6117, allocations: 339.3 kB / 1.54 GB, free: 4.602 MB / 1.232 GB Notification: Performance of SimCode: time 9.61e-07/0.6117, allocations: 0 / 1.54 GB, free: 4.602 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06636/0.678, allocations: 31.11 MB / 1.57 GB, free: 6.156 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.71, allocations: 15.92 kB / 1.57 GB, free: 6.141 MB / 1.264 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.790598720981507]