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.001454/0.001454, allocations: 108 kB / 15.61 MB, free: 152 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.00172/0.00172, allocations: 199.7 kB / 16.54 MB, free: 6.664 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.369/1.369, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.539/2.539, allocations: 461.9 MB / 0.7347 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 67.28 kB / 0.8992 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2501/0.2516, allocations: 157.4 MB / 1.053 GB, free: 8.324 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.1821/0.4337, allocations: 190.3 MB / 1.239 GB, free: 9.262 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.008286/0.4421, allocations: 5.7 MB / 1.244 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001137/0.4432, allocations: 43.75 kB / 1.244 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001445/0.4447, allocations: 0.5708 MB / 1.245 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004887/0.4496, allocations: 1.598 MB / 1.246 GB, free: 1.328 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00355/0.4532, allocations: 1.189 MB / 1.248 GB, free: 148 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.5247/0.9779, allocations: 2.496 MB / 1.25 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001292/0.9793, allocations: 1.004 MB / 1.251 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001516/0.9808, allocations: 1.018 MB / 1.252 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001204/0.982, allocations: 0.8128 MB / 1.253 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001352/0.9822, allocations: 102.4 kB / 1.253 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002231/0.9844, allocations: 1.521 MB / 1.254 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003855/0.9848, allocations: 0.4895 MB / 1.255 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005819/0.9854, allocations: 0.6202 MB / 1.256 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002287/0.9877, allocations: 2.094 MB / 1.258 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.9877, allocations: 0 / 1.258 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.162e-06/0.9877, allocations: 0.9062 kB / 1.258 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.274e-05/0.9877, allocations: 0 / 1.258 GB, free: 4.324 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.002031/0.9898, allocations: 1.474 MB / 1.259 GB, free: 19.57 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.9898, allocations: 12.19 kB / 1.259 GB, free: 19.57 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001601/0.99, allocations: 141.9 kB / 1.259 GB, free: 19.53 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001788/0.9918, allocations: 330.2 kB / 1.259 GB, free: 19.47 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001011/0.9928, allocations: 0.7744 MB / 1.26 GB, free: 19.15 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003275/0.9931, allocations: 116.4 kB / 1.26 GB, free: 19.15 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/0.9932, allocations: 85.55 kB / 1.26 GB, free: 19.15 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001546/0.9948, allocations: 1.087 MB / 1.261 GB, free: 19 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.109e-05/0.9948, allocations: 4.516 kB / 1.261 GB, free: 19 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.193e-05/0.9949, allocations: 37.31 kB / 1.262 GB, free: 19 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.685e-05/0.9949, allocations: 35.36 kB / 1.262 GB, free: 19 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001582/0.9965, allocations: 0.8378 MB / 1.262 GB, free: 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.005309/1.002, allocations: 4.299 MB / 1.267 GB, free: 16.8 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005422/1.002, allocations: 368.8 kB / 1.267 GB, free: 16.78 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002792/1.003, allocations: 217.8 kB / 1.267 GB, free: 16.77 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001658/1.003, allocations: 102.9 kB / 1.267 GB, free: 16.67 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/1.003, allocations: 39.94 kB / 1.267 GB, free: 16.63 MB / 1.014 GB Notification: Performance of pre-optimization done (n=36): time 2.475e-06/1.003, allocations: 3.984 kB / 1.267 GB, free: 16.63 MB / 1.014 GB Notification: Performance of matching and sorting (n=38): time 0.002274/1.005, allocations: 1.328 MB / 1.269 GB, free: 16.18 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.145e-05/1.005, allocations: 66.03 kB / 1.269 GB, free: 16.11 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001569/1.007, allocations: 1.001 MB / 1.27 GB, free: 15.96 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.839e-05/1.007, allocations: 37.14 kB / 1.27 GB, free: 15.93 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003549/1.007, allocations: 0.4898 MB / 1.27 GB, free: 15.72 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001239/1.007, allocations: 144.8 kB / 1.27 GB, free: 15.63 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002252/1.008, allocations: 121.4 kB / 1.27 GB, free: 15.61 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001185/1.008, allocations: 328.2 kB / 1.271 GB, free: 15.3 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005635/1.008, allocations: 242.9 kB / 1.271 GB, free: 15.3 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006703/1.009, allocations: 430.5 kB / 1.271 GB, free: 15.11 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.002475/1.011, allocations: 1.228 MB / 1.273 GB, free: 14.8 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/1.011, allocations: 1.719 kB / 1.273 GB, free: 14.8 MB / 1.014 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001322/1.013, allocations: 0.7765 MB / 1.273 GB, free: 14.71 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/1.013, allocations: 12.28 kB / 1.273 GB, free: 14.71 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/1.013, allocations: 6.406 kB / 1.273 GB, free: 14.71 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/1.013, allocations: 9.562 kB / 1.273 GB, free: 14.71 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005455/1.013, allocations: 145.6 kB / 1.273 GB, free: 14.71 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.382e-05/1.013, allocations: 13.52 kB / 1.273 GB, free: 14.71 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008508/1.014, allocations: 68.42 kB / 1.274 GB, free: 14.7 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.823e-05/1.014, allocations: 27.67 kB / 1.274 GB, free: 14.7 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: 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.0003681/1.015, allocations: 319.2 kB / 1.274 GB, free: 14.59 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001376/1.015, allocations: 103.1 kB / 1.274 GB, free: 14.54 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000154/1.015, allocations: 101.2 kB / 1.274 GB, free: 14.52 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/1.015, allocations: 3.531 kB / 1.274 GB, free: 14.52 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/1.015, allocations: 1.844 kB / 1.274 GB, free: 14.52 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000599/1.016, allocations: 0.6793 MB / 1.275 GB, free: 14.07 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002078/1.018, allocations: 1.581 MB / 1.276 GB, free: 13.63 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/1.018, allocations: 3.875 kB / 1.276 GB, free: 13.63 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003625/1.018, allocations: 84.44 kB / 1.276 GB, free: 13.63 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.224e-06/1.018, allocations: 10.28 kB / 1.276 GB, free: 13.63 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.891e-05/1.018, allocations: 20.11 kB / 1.276 GB, free: 13.63 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.454e-06/1.018, allocations: 7.406 kB / 1.276 GB, free: 13.63 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/1.018, allocations: 8.031 kB / 1.276 GB, free: 13.63 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008855/1.019, allocations: 0.8179 MB / 1.277 GB, free: 13.32 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003012/1.019, allocations: 245.8 kB / 1.277 GB, free: 13.17 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001255/1.02, allocations: 12.7 kB / 1.277 GB, free: 13.17 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006628/1.02, allocations: 40.23 kB / 1.277 GB, free: 13.17 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.239e-05/1.02, allocations: 35.09 kB / 1.278 GB, free: 13.17 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.164e-05/1.02, allocations: 30.25 kB / 1.278 GB, free: 13.17 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009534/1.021, allocations: 0.7132 MB / 1.278 GB, free: 13.06 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.61e-07/1.021, allocations: 0.8438 kB / 1.278 GB, free: 13.06 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0007639/1.022, allocations: 260.7 kB / 1.278 GB, free: 13.05 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.001428/1.023, allocations: 1.475 MB / 1.28 GB, free: 12.2 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0009229/1.024, allocations: 0.5342 MB / 1.28 GB, free: 12.19 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/1.024, allocations: 1.75 kB / 1.28 GB, free: 12.19 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002382/1.025, allocations: 189.9 kB / 1.281 GB, free: 12.19 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00254/1.027, allocations: 0.6186 MB / 1.281 GB, free: 12.11 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009084/1.036, allocations: 8.033 MB / 1.289 GB, free: 9 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005918/1.037, allocations: 1.097 MB / 1.29 GB, free: 8.285 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008884/1.038, allocations: 247.7 kB / 1.29 GB, free: 8.23 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003548/1.038, allocations: 345.2 kB / 1.291 GB, free: 8.223 MB / 1.014 GB Notification: Performance of SimCode: time 3.41e-07/1.038, allocations: 1.203 kB / 1.291 GB, free: 8.223 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.202/3.24, allocations: 27.61 MB / 1.318 GB, free: 4.375 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.538/12.78, allocations: 10.38 kB / 1.318 GB, free: 4.367 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