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) 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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001631/0.001631, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001949/0.001949, allocations: 190.9 kB / 16.25 MB, free: 6.633 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.608/1.608, allocations: 222.9 MB / 239.9 MB, free: 4.492 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.877/2.877, allocations: 461.9 MB / 0.7343 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 64.34 kB / 0.8987 GB, free: 37.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3094/0.3108, allocations: 157.4 MB / 1.052 GB, free: 8.672 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.1728/0.4837, allocations: 187.9 MB / 1.236 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00852/0.4922, allocations: 5.652 MB / 1.241 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001256/0.4935, allocations: 39.75 kB / 1.241 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00163/0.4952, allocations: 0.5052 MB / 1.242 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003848/0.4991, allocations: 1.51 MB / 1.243 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003014/0.5021, allocations: 1.095 MB / 1.244 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002786/0.5049, allocations: 2.496 MB / 1.247 GB, free: 0.7891 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.5099/1.015, allocations: 0.968 MB / 1.248 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002074/1.017, allocations: 1.028 MB / 1.249 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002017/1.019, allocations: 0.8745 MB / 1.25 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000254/1.019, allocations: 104.3 kB / 1.25 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002369/1.022, allocations: 1.591 MB / 1.251 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003805/1.022, allocations: 499.9 kB / 1.252 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005424/1.023, allocations: 0.6237 MB / 1.252 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001984/1.025, allocations: 2.174 MB / 1.255 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/1.025, allocations: 2.75 kB / 1.255 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.172e-06/1.025, allocations: 0 / 1.255 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.223e-05/1.025, allocations: 0.5625 kB / 1.255 GB, free: 4.496 MB / 0.9981 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.00185/1.026, allocations: 1.481 MB / 1.256 GB, free: 19.73 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.119e-05/1.026, allocations: 9.656 kB / 1.256 GB, free: 19.73 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001485/1.027, allocations: 142.1 kB / 1.256 GB, free: 19.69 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001738/1.028, allocations: 328.8 kB / 1.256 GB, free: 19.63 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009585/1.029, allocations: 0.7738 MB / 1.257 GB, free: 19.32 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003167/1.03, allocations: 119.5 kB / 1.257 GB, free: 19.32 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/1.03, allocations: 87.84 kB / 1.257 GB, free: 19.32 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00153/1.031, allocations: 1.066 MB / 1.258 GB, free: 19.2 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.106e-05/1.031, allocations: 4.109 kB / 1.258 GB, free: 19.2 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-05/1.031, allocations: 39.3 kB / 1.259 GB, free: 19.2 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.285e-05/1.031, allocations: 34.83 kB / 1.259 GB, free: 19.2 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001327/1.033, allocations: 0.8392 MB / 1.259 GB, free: 19.19 MB / 1.014 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.004432/1.037, allocations: 4.052 MB / 1.263 GB, free: 17.23 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005456/1.038, allocations: 368.5 kB / 1.264 GB, free: 17.21 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002942/1.038, allocations: 212.4 kB / 1.264 GB, free: 17.2 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001597/1.038, allocations: 104.5 kB / 1.264 GB, free: 17.11 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/1.038, allocations: 39.92 kB / 1.264 GB, free: 17.07 MB / 1.014 GB Notification: Performance of pre-optimization done (n=36): time 1.493e-06/1.038, allocations: 1.875 kB / 1.264 GB, free: 17.07 MB / 1.014 GB Notification: Performance of matching and sorting (n=38): time 0.00223/1.041, allocations: 1.329 MB / 1.265 GB, free: 16.62 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/1.041, allocations: 56.48 kB / 1.265 GB, free: 16.55 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001295/1.042, allocations: 0.9924 MB / 1.266 GB, free: 16.4 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.533e-05/1.042, allocations: 38.27 kB / 1.266 GB, free: 16.37 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002696/1.042, allocations: 496.6 kB / 1.267 GB, free: 16.17 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 9.525e-05/1.042, allocations: 137.7 kB / 1.267 GB, free: 16.08 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001705/1.042, allocations: 118 kB / 1.267 GB, free: 16.06 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 9.201e-05/1.043, allocations: 329.9 kB / 1.267 GB, free: 15.76 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004444/1.043, allocations: 237.2 kB / 1.268 GB, free: 15.76 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005181/1.044, allocations: 400.3 kB / 1.268 GB, free: 15.58 MB / 1.014 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.002256/1.046, allocations: 1.193 MB / 1.269 GB, free: 15.3 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/1.046, allocations: 4.219 kB / 1.269 GB, free: 15.3 MB / 1.014 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001411/1.047, allocations: 0.7616 MB / 1.27 GB, free: 15.2 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/1.047, allocations: 7.844 kB / 1.27 GB, free: 15.2 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/1.047, allocations: 5.281 kB / 1.27 GB, free: 15.2 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.227e-05/1.047, allocations: 9.641 kB / 1.27 GB, free: 15.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005829/1.048, allocations: 137.7 kB / 1.27 GB, free: 15.2 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.801e-05/1.048, allocations: 13.86 kB / 1.27 GB, free: 15.2 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008424/1.049, allocations: 89.88 kB / 1.27 GB, free: 15.2 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-05/1.049, allocations: 27.48 kB / 1.27 GB, free: 15.2 MB / 1.014 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: 22 * 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 (71): * Single equations (assignments): 71 * 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.000389/1.049, allocations: 312.1 kB / 1.271 GB, free: 15.08 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001618/1.049, allocations: 104.5 kB / 1.271 GB, free: 15.02 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000178/1.05, allocations: 102.7 kB / 1.271 GB, free: 15.01 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/1.05, allocations: 6.188 kB / 1.271 GB, free: 15.01 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/1.05, allocations: 2.344 kB / 1.271 GB, free: 15.01 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006614/1.05, allocations: 0.6815 MB / 1.271 GB, free: 14.56 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002025/1.052, allocations: 1.582 MB / 1.273 GB, free: 14.12 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/1.052, allocations: 4.125 kB / 1.273 GB, free: 14.12 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003567/1.053, allocations: 86.89 kB / 1.273 GB, free: 14.12 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/1.053, allocations: 6.312 kB / 1.273 GB, free: 14.12 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.85e-05/1.053, allocations: 16.86 kB / 1.273 GB, free: 14.12 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/1.053, allocations: 10.42 kB / 1.273 GB, free: 14.12 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/1.053, allocations: 8.812 kB / 1.273 GB, free: 14.12 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008409/1.054, allocations: 0.8309 MB / 1.274 GB, free: 13.8 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002907/1.054, allocations: 236.9 kB / 1.274 GB, free: 13.66 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001191/1.054, allocations: 15.19 kB / 1.274 GB, free: 13.66 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006628/1.055, allocations: 56.97 kB / 1.274 GB, free: 13.65 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.218e-05/1.055, allocations: 41.59 kB / 1.274 GB, free: 13.65 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-05/1.055, allocations: 24.83 kB / 1.274 GB, free: 13.65 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008699/1.056, allocations: 0.7071 MB / 1.275 GB, free: 13.54 MB / 1.014 GB Notification: Performance of sort global known variables: time 5.41e-07/1.056, allocations: 0.9062 kB / 1.275 GB, free: 13.54 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006935/1.056, allocations: 252.1 kB / 1.275 GB, free: 13.54 MB / 1.014 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.001339/1.058, allocations: 1.48 MB / 1.277 GB, free: 12.68 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000847/1.059, allocations: 0.5261 MB / 1.277 GB, free: 12.67 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/1.059, allocations: 5.062 kB / 1.277 GB, free: 12.67 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002232/1.059, allocations: 186.7 kB / 1.277 GB, free: 12.67 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002357/1.061, allocations: 0.6226 MB / 1.278 GB, free: 12.61 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009516/1.071, allocations: 8.205 MB / 1.286 GB, free: 9.312 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005894/1.071, allocations: 1.104 MB / 1.287 GB, free: 8.609 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008153/1.072, allocations: 241 kB / 1.287 GB, free: 8.57 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003464/1.073, allocations: 340.9 kB / 1.288 GB, free: 8.562 MB / 1.014 GB Notification: Performance of SimCode: time 3.3e-07/1.073, allocations: 0 / 1.288 GB, free: 8.562 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6617/1.734, allocations: 27.29 MB / 1.314 GB, free: 5.324 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003605/1.735, allocations: 275 kB / 1.314 GB, free: 4.969 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.502/4.237, allocations: 0 / 1.314 GB, free: 4.969 MB / 1.014 GB (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 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) 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) Reference file matches