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: 93.92 kB / 19.73 MB, free: 2.129 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.001591/0.001591, allocations: 215.6 kB / 23.03 MB, free: 4.953 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.39/1.39, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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 3.08/3.08, allocations: 0.5003 GB / 0.8062 GB, free: 28.29 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="cs",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.001923/0.001923, allocations: 65.73 kB / 1.17 GB, free: 19.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.3263, allocations: 179 MB / 1.345 GB, free: 15.92 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.2027/0.529, allocations: 168.2 MB / 1.51 GB, free: 7.09 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.009313/0.5383, allocations: 5.393 MB / 1.515 GB, free: 1.684 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001218/0.5395, allocations: 51.56 kB / 1.515 GB, free: 1.633 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001554/0.5411, allocations: 0.5435 MB / 1.515 GB, free: 1.086 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.004321/0.5454, allocations: 1.687 MB / 1.517 GB, free: 15.39 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.003266/0.5486, allocations: 1.236 MB / 1.518 GB, free: 14.16 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.0038/0.5524, allocations: 2.57 MB / 1.521 GB, free: 11.58 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001328/0.5538, allocations: 0.7122 MB / 1.521 GB, free: 10.85 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002585/0.5564, allocations: 1.253 MB / 1.523 GB, free: 9.59 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002003/0.5584, allocations: 0.8755 MB / 1.524 GB, free: 8.719 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.000204/0.5586, allocations: 104 kB / 1.524 GB, free: 8.617 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002714/0.5613, allocations: 1.274 MB / 1.525 GB, free: 7.34 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0006536/0.5619, allocations: 0.4946 MB / 1.525 GB, free: 6.844 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0007967/0.5627, allocations: 0.5174 MB / 1.526 GB, free: 6.324 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.003395/0.5661, allocations: 2.079 MB / 1.528 GB, free: 4.238 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.5661, allocations: 0 / 1.528 GB, free: 4.238 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5661, allocations: 0 / 1.528 GB, free: 4.238 MB / 1.217 GB Notification: Performance of Transformations before backend: time 2.075e-05/0.5662, allocations: 0 / 1.528 GB, free: 4.238 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.002579/0.5687, allocations: 1.446 MB / 1.529 GB, free: 2.758 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.5688, allocations: 8.031 kB / 1.529 GB, free: 2.75 MB / 1.217 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.151e-05/0.5688, allocations: 22 kB / 1.529 GB, free: 2.727 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001801/0.569, allocations: 143.2 kB / 1.529 GB, free: 2.578 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00205/0.571, allocations: 335 kB / 1.53 GB, free: 2.25 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001516/0.5726, allocations: 0.744 MB / 1.531 GB, free: 1.48 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.46e-05/0.5726, allocations: 62 kB / 1.531 GB, free: 1.418 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001496/0.5728, allocations: 87.94 kB / 1.531 GB, free: 1.332 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002166/0.5749, allocations: 1.472 MB / 1.532 GB, free: 15.72 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.591e-05/0.575, allocations: 3.984 kB / 1.532 GB, free: 15.72 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001077/0.5751, allocations: 39.98 kB / 1.532 GB, free: 15.68 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-05/0.5751, allocations: 37.94 kB / 1.532 GB, free: 15.64 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001676/0.5768, allocations: 0.8275 MB / 1.533 GB, free: 14.82 MB / 1.232 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.005994/0.5828, allocations: 3.264 MB / 1.536 GB, free: 11.46 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000647/0.5834, allocations: 354.6 kB / 1.537 GB, free: 11.1 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003927/0.5838, allocations: 204.1 kB / 1.537 GB, free: 10.9 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001764/0.584, allocations: 19.98 kB / 1.537 GB, free: 10.88 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.955e-05/0.5841, allocations: 38.56 kB / 1.537 GB, free: 10.84 MB / 1.232 GB Notification: Performance of pre-optimization done (n=36): time 4.578e-06/0.5841, allocations: 3.984 kB / 1.537 GB, free: 10.83 MB / 1.232 GB Notification: Performance of matching and sorting (n=38): time 0.002892/0.587, allocations: 1.274 MB / 1.538 GB, free: 9.523 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.915e-05/0.587, allocations: 55.41 kB / 1.538 GB, free: 9.457 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00153/0.5885, allocations: 0.9967 MB / 1.539 GB, free: 8.438 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 6.731e-05/0.5886, allocations: 41.7 kB / 1.539 GB, free: 8.391 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004144/0.589, allocations: 0.4963 MB / 1.54 GB, free: 7.891 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001474/0.5892, allocations: 142.8 kB / 1.54 GB, free: 7.75 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002098/0.5894, allocations: 130.2 kB / 1.54 GB, free: 7.617 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.5895, allocations: 330 kB / 1.54 GB, free: 7.289 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004699/0.59, allocations: 233.2 kB / 1.54 GB, free: 7.059 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007593/0.5908, allocations: 475.3 kB / 1.541 GB, free: 6.508 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.002611/0.5934, allocations: 1.15 MB / 1.542 GB, free: 5.277 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.5934, allocations: 0 / 1.542 GB, free: 5.277 MB / 1.232 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001571/0.5949, allocations: 0.7697 MB / 1.543 GB, free: 4.5 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/0.595, allocations: 11.94 kB / 1.543 GB, free: 4.488 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/0.595, allocations: 8 kB / 1.543 GB, free: 4.48 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.602e-05/0.595, allocations: 8 kB / 1.543 GB, free: 4.473 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005997/0.5956, allocations: 152.1 kB / 1.543 GB, free: 4.324 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.571e-05/0.5956, allocations: 8 kB / 1.543 GB, free: 4.316 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009144/0.5965, allocations: 51.95 kB / 1.543 GB, free: 4.266 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.945e-05/0.5966, allocations: 28 kB / 1.543 GB, free: 4.238 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.0005882/0.5972, allocations: 319 kB / 1.543 GB, free: 3.918 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002278/0.5974, allocations: 115.3 kB / 1.543 GB, free: 3.805 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001873/0.5976, allocations: 97.03 kB / 1.543 GB, free: 3.707 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.5976, allocations: 7.938 kB / 1.543 GB, free: 3.699 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.5976, allocations: 0 / 1.543 GB, free: 3.699 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007645/0.5984, allocations: 0.6828 MB / 1.544 GB, free: 2.93 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002701/0.6011, allocations: 1.437 MB / 1.546 GB, free: 1.395 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.141e-05/0.6011, allocations: 4 kB / 1.546 GB, free: 1.391 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004346/0.6015, allocations: 83.89 kB / 1.546 GB, free: 1.309 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.211e-05/0.6015, allocations: 8.5 kB / 1.546 GB, free: 1.301 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.078e-05/0.6016, allocations: 15.94 kB / 1.546 GB, free: 1.285 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.726e-06/0.6016, allocations: 11.94 kB / 1.546 GB, free: 1.273 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.6016, allocations: 4 kB / 1.546 GB, free: 1.27 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001246/0.6028, allocations: 0.8336 MB / 1.546 GB, free: 380 kB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004484/0.6033, allocations: 167.2 kB / 1.547 GB, free: 212 kB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001377/0.6034, allocations: 19.98 kB / 1.547 GB, free: 192 kB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007766/0.6042, allocations: 31.97 kB / 1.547 GB, free: 160 kB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.17e-05/0.6043, allocations: 39.83 kB / 1.547 GB, free: 120 kB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-05/0.6043, allocations: 27.98 kB / 1.547 GB, free: 92 kB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001143/0.6055, allocations: 0.7077 MB / 1.547 GB, free: 15.37 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6055, allocations: 0 / 1.547 GB, free: 15.37 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.00102/0.6065, allocations: 251.9 kB / 1.548 GB, free: 15.12 MB / 1.248 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.001994/0.6085, allocations: 1.48 MB / 1.549 GB, free: 13.57 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.001031/0.6095, allocations: 484.8 kB / 1.55 GB, free: 13.09 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.6095, allocations: 0 / 1.55 GB, free: 13.09 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0002863/0.6098, allocations: 187.7 kB / 1.55 GB, free: 12.91 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002854/0.6127, allocations: 0.6203 MB / 1.55 GB, free: 12.3 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01197/0.6246, allocations: 7.648 MB / 1.558 GB, free: 4.273 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006064/0.6252, allocations: 0.5002 MB / 1.558 GB, free: 3.738 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0009403/0.6262, allocations: 248.4 kB / 1.559 GB, free: 3.492 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005089/0.6267, allocations: 339.3 kB / 1.559 GB, free: 3.16 MB / 1.248 GB Notification: Performance of SimCode: time 1.022e-06/0.6267, allocations: 3.938 kB / 1.559 GB, free: 3.156 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06492/0.6916, allocations: 30.5 MB / 1.589 GB, free: 5.332 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.79/13.48, allocations: 4.062 kB / 1.589 GB, free: 5.328 MB / 1.279 GB " [Timeout remaining time 286] (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: 20.052696196944453]