Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_9_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.005692/0.005692, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001323/0.001323, allocations: 193 kB / 16.67 MB, free: 5.52 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.324/1.324, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.239/2.239, allocations: 390.3 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 71.89 kB / 0.9504 GB, free: 8.16 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7596/0.7608, allocations: 140.4 MB / 1.087 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.2207/0.9816, allocations: 190.3 MB / 1.273 GB, free: 15.21 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.009135/0.9908, allocations: 5.688 MB / 1.279 GB, free: 9.512 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001185/0.992, allocations: 39.75 kB / 1.279 GB, free: 9.473 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001526/0.9936, allocations: 0.5669 MB / 1.279 GB, free: 8.902 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003807/0.9974, allocations: 1.61 MB / 1.281 GB, free: 7.285 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002921/1, allocations: 1.202 MB / 1.282 GB, free: 6.09 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002777/1.003, allocations: 2.523 MB / 1.285 GB, free: 3.562 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001147/1.004, allocations: 0.9925 MB / 1.286 GB, free: 2.551 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001535/1.006, allocations: 1.023 MB / 1.287 GB, free: 1.523 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001452/1.007, allocations: 0.8179 MB / 1.287 GB, free: 0.707 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001511/1.007, allocations: 100 kB / 1.288 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00265/1.01, allocations: 1.536 MB / 1.289 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004785/1.011, allocations: 490.8 kB / 1.29 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0006523/1.011, allocations: 0.6183 MB / 1.29 GB, free: 13.97 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002717/1.014, allocations: 2.107 MB / 1.292 GB, free: 11.86 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/1.014, allocations: 0 / 1.292 GB, free: 11.86 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.425e-06/1.014, allocations: 4 kB / 1.292 GB, free: 11.85 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.536e-05/1.014, allocations: 0 / 1.292 GB, free: 11.85 MB / 1.029 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.002334/1.016, allocations: 1.476 MB / 1.294 GB, free: 10.32 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/1.016, allocations: 8.031 kB / 1.294 GB, free: 10.32 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001572/1.017, allocations: 139.2 kB / 1.294 GB, free: 10.17 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001931/1.019, allocations: 330.3 kB / 1.294 GB, free: 9.848 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001308/1.02, allocations: 0.8077 MB / 1.295 GB, free: 8.996 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.16e-05/1.02, allocations: 70 kB / 1.295 GB, free: 8.93 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001321/1.02, allocations: 87.91 kB / 1.295 GB, free: 8.844 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001674/1.022, allocations: 1.073 MB / 1.296 GB, free: 7.73 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.62e-05/1.022, allocations: 0 / 1.296 GB, free: 7.73 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.634e-05/1.022, allocations: 43.94 kB / 1.296 GB, free: 7.688 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.269e-05/1.022, allocations: 30 kB / 1.296 GB, free: 7.66 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00163/1.024, allocations: 0.8314 MB / 1.297 GB, free: 6.824 MB / 1.029 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.005834/1.029, allocations: 4.258 MB / 1.301 GB, free: 2.293 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000607/1.03, allocations: 367.6 kB / 1.301 GB, free: 1.926 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003012/1.03, allocations: 214.6 kB / 1.302 GB, free: 1.715 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001812/1.031, allocations: 105 kB / 1.302 GB, free: 1.594 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/1.031, allocations: 38.56 kB / 1.302 GB, free: 1.547 MB / 1.029 GB Notification: Performance of pre-optimization done (n=36): time 2.054e-06/1.031, allocations: 0 / 1.302 GB, free: 1.547 MB / 1.029 GB Notification: Performance of matching and sorting (n=38): time 0.002609/1.033, allocations: 1.328 MB / 1.303 GB, free: 168 kB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.955e-05/1.033, allocations: 55.41 kB / 1.303 GB, free: 100 kB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001358/1.035, allocations: 1.008 MB / 1.304 GB, free: 15.07 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.451e-05/1.035, allocations: 37.7 kB / 1.304 GB, free: 15.02 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.00041/1.035, allocations: 0.4914 MB / 1.305 GB, free: 14.53 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.000134/1.035, allocations: 138 kB / 1.305 GB, free: 14.39 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001981/1.035, allocations: 122.2 kB / 1.305 GB, free: 14.27 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001935/1.036, allocations: 334 kB / 1.305 GB, free: 13.93 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004825/1.036, allocations: 237.2 kB / 1.305 GB, free: 13.7 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006055/1.037, allocations: 419.8 kB / 1.306 GB, free: 13.21 MB / 1.045 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.002493/1.039, allocations: 1.221 MB / 1.307 GB, free: 11.9 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/1.039, allocations: 0 / 1.307 GB, free: 11.9 MB / 1.045 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001422/1.041, allocations: 0.7651 MB / 1.308 GB, free: 11.12 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/1.041, allocations: 11.94 kB / 1.308 GB, free: 11.11 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/1.041, allocations: 8.016 kB / 1.308 GB, free: 11.11 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.587e-05/1.041, allocations: 11.98 kB / 1.308 GB, free: 11.09 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005912/1.041, allocations: 144.1 kB / 1.308 GB, free: 10.95 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.583e-05/1.041, allocations: 23.91 kB / 1.308 GB, free: 10.93 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009081/1.042, allocations: 51.95 kB / 1.308 GB, free: 10.88 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.553e-05/1.042, allocations: 28 kB / 1.308 GB, free: 10.85 MB / 1.045 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.0004702/1.043, allocations: 317.5 kB / 1.308 GB, free: 10.53 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000158/1.043, allocations: 98.88 kB / 1.308 GB, free: 10.43 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001924/1.043, allocations: 105 kB / 1.309 GB, free: 10.33 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/1.043, allocations: 8 kB / 1.309 GB, free: 10.32 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/1.043, allocations: 3.984 kB / 1.309 GB, free: 10.32 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006759/1.044, allocations: 0.675 MB / 1.309 GB, free: 9.555 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00232/1.046, allocations: 1.583 MB / 1.311 GB, free: 7.867 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/1.046, allocations: 4 kB / 1.311 GB, free: 7.863 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003947/1.047, allocations: 87.89 kB / 1.311 GB, free: 7.777 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.398e-06/1.047, allocations: 4 kB / 1.311 GB, free: 7.773 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.004e-05/1.047, allocations: 12 kB / 1.311 GB, free: 7.762 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.087e-06/1.047, allocations: 16.38 kB / 1.311 GB, free: 7.746 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/1.047, allocations: 8 kB / 1.311 GB, free: 7.738 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001056/1.048, allocations: 0.841 MB / 1.312 GB, free: 6.832 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003896/1.048, allocations: 231.9 kB / 1.312 GB, free: 6.586 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001193/1.048, allocations: 19.94 kB / 1.312 GB, free: 6.566 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006656/1.049, allocations: 31.97 kB / 1.312 GB, free: 6.535 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.887e-05/1.049, allocations: 39.84 kB / 1.312 GB, free: 6.496 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.459e-05/1.049, allocations: 23.98 kB / 1.312 GB, free: 6.473 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001027/1.05, allocations: 0.7077 MB / 1.313 GB, free: 5.754 MB / 1.045 GB Notification: Performance of sort global known variables: time 3.41e-07/1.05, allocations: 4 kB / 1.313 GB, free: 5.75 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0009767/1.051, allocations: 256 kB / 1.313 GB, free: 5.5 MB / 1.045 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.002017/1.053, allocations: 1.468 MB / 1.314 GB, free: 3.961 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001171/1.054, allocations: 0.5004 MB / 1.315 GB, free: 3.461 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 6.102e-06/1.054, allocations: 0 / 1.315 GB, free: 3.461 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002608/1.055, allocations: 183.7 kB / 1.315 GB, free: 3.281 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00285/1.058, allocations: 0.6143 MB / 1.316 GB, free: 2.68 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01106/1.069, allocations: 7.599 MB / 1.323 GB, free: 10.71 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000722/1.069, allocations: 1.102 MB / 1.324 GB, free: 9.574 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0009177/1.07, allocations: 248.3 kB / 1.324 GB, free: 9.328 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004771/1.071, allocations: 351.3 kB / 1.325 GB, free: 8.984 MB / 1.061 GB Notification: Performance of SimCode: time 7.71e-07/1.071, allocations: 0 / 1.325 GB, free: 8.984 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05774/1.129, allocations: 27.8 MB / 1.352 GB, free: 13.66 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/12.2, allocations: 9.219 kB / 1.352 GB, free: 13.65 MB / 1.092 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches