Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 192.3 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.277/1.277, allocations: 222.9 MB / 240.2 MB, free: 4.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.493/2.493, allocations: 437 MB / 0.7104 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 63.91 kB / 0.8693 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6937/0.6951, allocations: 151.6 MB / 1.017 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.2031/0.8982, allocations: 190.3 MB / 1.203 GB, free: 3.414 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.009416/0.9077, allocations: 5.693 MB / 1.209 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001351/0.9091, allocations: 39.75 kB / 1.209 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001697/0.9108, allocations: 0.5669 MB / 1.209 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004268/0.9151, allocations: 1.602 MB / 1.211 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003369/0.9185, allocations: 1.204 MB / 1.212 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003502/0.922, allocations: 2.504 MB / 1.215 GB, free: 7.781 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00154/0.9236, allocations: 0.9965 MB / 1.216 GB, free: 6.762 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002175/0.9258, allocations: 1.016 MB / 1.217 GB, free: 5.742 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00206/0.9278, allocations: 0.804 MB / 1.217 GB, free: 4.941 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002685/0.9281, allocations: 100 kB / 1.217 GB, free: 4.844 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003445/0.9316, allocations: 1.532 MB / 1.219 GB, free: 3.309 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0007221/0.9323, allocations: 498.7 kB / 1.219 GB, free: 2.82 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001347/0.9337, allocations: 0.6261 MB / 1.22 GB, free: 2.191 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003528/0.9372, allocations: 2.088 MB / 1.222 GB, free: 100 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.9372, allocations: 3.938 kB / 1.222 GB, free: 96 kB / 0.9669 GB Notification: Performance of FrontEnd: time 1.303e-06/0.9372, allocations: 0 / 1.222 GB, free: 96 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.656e-05/0.9373, allocations: 0 / 1.222 GB, free: 96 kB / 0.9669 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.0034/0.9407, allocations: 1.48 MB / 1.224 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.9407, allocations: 8.031 kB / 1.224 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003239/0.9411, allocations: 139.2 kB / 1.224 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002246/0.9433, allocations: 326.3 kB / 1.224 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001478/0.9448, allocations: 0.7726 MB / 1.225 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004071/0.9452, allocations: 121.9 kB / 1.225 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001707/0.9454, allocations: 91.92 kB / 1.225 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001997/0.9474, allocations: 1.082 MB / 1.226 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.495e-05/0.9475, allocations: 0 / 1.226 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001001/0.9476, allocations: 44 kB / 1.226 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.145e-05/0.9476, allocations: 37.98 kB / 1.226 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00172/0.9494, allocations: 0.8391 MB / 1.227 GB, free: 11.02 MB / 0.9825 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.006355/0.9557, allocations: 4.297 MB / 1.231 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00062/0.9564, allocations: 375.5 kB / 1.231 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003083/0.9567, allocations: 215.4 kB / 1.232 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001888/0.9569, allocations: 101 kB / 1.232 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.781e-05/0.957, allocations: 38.56 kB / 1.232 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=36): time 2.554e-06/0.957, allocations: 0 / 1.232 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of matching and sorting (n=38): time 0.002823/0.9598, allocations: 1.331 MB / 1.233 GB, free: 4.316 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/0.9599, allocations: 55.41 kB / 1.233 GB, free: 4.25 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001748/0.9616, allocations: 1.016 MB / 1.234 GB, free: 3.211 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.018e-05/0.9617, allocations: 37.64 kB / 1.234 GB, free: 3.168 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003999/0.9621, allocations: 0.4914 MB / 1.235 GB, free: 2.672 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001348/0.9622, allocations: 134.1 kB / 1.235 GB, free: 2.539 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002263/0.9625, allocations: 118.2 kB / 1.235 GB, free: 2.414 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.9626, allocations: 341.9 kB / 1.235 GB, free: 2.074 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005202/0.9631, allocations: 237.2 kB / 1.235 GB, free: 1.844 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000677/0.9638, allocations: 427.8 kB / 1.236 GB, free: 1.348 MB / 0.9825 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.002648/0.9665, allocations: 1.229 MB / 1.237 GB, free: 24 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/0.9665, allocations: 4 kB / 1.237 GB, free: 20 kB / 0.9825 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001572/0.9681, allocations: 0.7731 MB / 1.238 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.9681, allocations: 11.94 kB / 1.238 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.9681, allocations: 4 kB / 1.238 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/0.9682, allocations: 8 kB / 1.238 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006461/0.9688, allocations: 156.1 kB / 1.238 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.959e-05/0.9688, allocations: 11.98 kB / 1.238 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001053/0.9699, allocations: 59.95 kB / 1.238 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.343e-05/0.97, allocations: 24 kB / 1.238 GB, free: 14.97 MB / 0.9981 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.0005457/0.9705, allocations: 317.5 kB / 1.238 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002442/0.9708, allocations: 98.81 kB / 1.238 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002233/0.971, allocations: 109 kB / 1.239 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/0.971, allocations: 4 kB / 1.239 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/0.971, allocations: 4 kB / 1.239 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007046/0.9717, allocations: 0.6674 MB / 1.239 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002723/0.9745, allocations: 1.588 MB / 1.241 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.9745, allocations: 7.938 kB / 1.241 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003854/0.9749, allocations: 87.89 kB / 1.241 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.107e-06/0.9749, allocations: 8 kB / 1.241 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.001e-05/0.9749, allocations: 15.94 kB / 1.241 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.26e-05/0.975, allocations: 7.938 kB / 1.241 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/0.975, allocations: 4 kB / 1.241 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001044/0.976, allocations: 0.8297 MB / 1.242 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004359/0.9765, allocations: 243.8 kB / 1.242 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001673/0.9766, allocations: 16 kB / 1.242 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007399/0.9774, allocations: 35.97 kB / 1.242 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.923e-05/0.9775, allocations: 35.83 kB / 1.242 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.044e-05/0.9775, allocations: 31.98 kB / 1.242 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001084/0.9786, allocations: 0.7116 MB / 1.243 GB, free: 9.867 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.2e-07/0.9786, allocations: 0 / 1.243 GB, free: 9.867 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001/0.9796, allocations: 256 kB / 1.243 GB, free: 9.617 MB / 0.9981 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.002022/0.9817, allocations: 1.491 MB / 1.244 GB, free: 8.059 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00113/0.9828, allocations: 0.5315 MB / 1.245 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.08e-05/0.9828, allocations: 4 kB / 1.245 GB, free: 7.523 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002913/0.9831, allocations: 184.9 kB / 1.245 GB, free: 7.344 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00291/0.986, allocations: 0.6296 MB / 1.246 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4374/1.423, allocations: 8.01 MB / 1.254 GB, free: 231.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006418/1.424, allocations: 1.097 MB / 1.255 GB, free: 231.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009993/1.425, allocations: 245.2 kB / 1.255 GB, free: 231.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000371/1.426, allocations: 344.8 kB / 1.255 GB, free: 231.2 MB / 0.9981 GB Notification: Performance of SimCode: time 8.31e-07/1.426, allocations: 0.75 kB / 1.255 GB, free: 231.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.141/1.567, allocations: 27.6 MB / 1.282 GB, free: 221.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.246/10.81, allocations: 11.47 kB / 1.282 GB, free: 221.5 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches