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.009341/0.009341, allocations: 101 kB / 15.73 MB, free: 6.012 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.002191/0.002191, allocations: 198.7 kB / 16.68 MB, free: 5.93 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.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 4.148 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.708/2.708, allocations: 461.9 MB / 0.7348 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001526, allocations: 75.81 kB / 1.054 GB, free: 7.613 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3668/0.3683, allocations: 157.4 MB / 1.207 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.9423/1.311, allocations: 190.3 MB / 1.393 GB, free: 15.38 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.0102/1.321, allocations: 5.696 MB / 1.399 GB, free: 10.73 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00143/1.322, allocations: 41.34 kB / 1.399 GB, free: 10.72 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001447/1.324, allocations: 0.5631 MB / 1.399 GB, free: 10.25 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.004048/1.328, allocations: 1.608 MB / 1.401 GB, free: 9 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003259/1.331, allocations: 1.215 MB / 1.402 GB, free: 8.094 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.003166/1.334, allocations: 2.511 MB / 1.405 GB, free: 6.656 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001229/1.336, allocations: 0.9934 MB / 1.405 GB, free: 6.07 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001758/1.337, allocations: 1.043 MB / 1.406 GB, free: 5.449 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001477/1.339, allocations: 0.8128 MB / 1.407 GB, free: 4.977 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001381/1.339, allocations: 99.94 kB / 1.407 GB, free: 4.977 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002835/1.342, allocations: 1.527 MB / 1.409 GB, free: 4.148 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0005113/1.342, allocations: 492.8 kB / 1.409 GB, free: 3.828 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0007096/1.343, allocations: 0.615 MB / 1.41 GB, free: 3.438 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002876/1.346, allocations: 2.116 MB / 1.412 GB, free: 2.09 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/1.346, allocations: 4 kB / 1.412 GB, free: 2.086 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.024e-06/1.346, allocations: 3.938 kB / 1.412 GB, free: 2.082 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.709e-05/1.346, allocations: 0 / 1.412 GB, free: 2.082 MB / 1.092 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.002466/1.349, allocations: 1.472 MB / 1.413 GB, free: 0.9648 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/1.349, allocations: 10.25 kB / 1.413 GB, free: 0.9648 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001872/1.349, allocations: 136.4 kB / 1.414 GB, free: 0.8555 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001987/1.351, allocations: 335.8 kB / 1.414 GB, free: 0.707 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001333/1.352, allocations: 0.8159 MB / 1.415 GB, free: 76 kB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.596e-05/1.352, allocations: 63.03 kB / 1.415 GB, free: 48 kB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001204/1.352, allocations: 84 kB / 1.415 GB, free: 20 kB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001761/1.354, allocations: 1.073 MB / 1.416 GB, free: 15.36 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.741e-05/1.354, allocations: 1.812 kB / 1.416 GB, free: 15.36 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.9e-05/1.354, allocations: 42.83 kB / 1.416 GB, free: 15.32 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.518e-05/1.354, allocations: 36.27 kB / 1.416 GB, free: 15.32 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001477/1.356, allocations: 0.8293 MB / 1.417 GB, free: 14.92 MB / 1.107 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.005426/1.361, allocations: 4.254 MB / 1.421 GB, free: 11.32 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006031/1.362, allocations: 370.4 kB / 1.421 GB, free: 11.13 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000294/1.362, allocations: 217.9 kB / 1.422 GB, free: 11.02 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002079/1.362, allocations: 99.69 kB / 1.422 GB, free: 10.92 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.481e-05/1.362, allocations: 41.44 kB / 1.422 GB, free: 10.88 MB / 1.107 GB Notification: Performance of pre-optimization done (n=36): time 1.903e-06/1.362, allocations: 0 / 1.422 GB, free: 10.88 MB / 1.107 GB Notification: Performance of matching and sorting (n=38): time 0.002457/1.365, allocations: 1.329 MB / 1.423 GB, free: 9.766 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.721e-05/1.365, allocations: 59.16 kB / 1.423 GB, free: 9.695 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001267/1.366, allocations: 0.9966 MB / 1.424 GB, free: 8.676 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 4.911e-05/1.366, allocations: 37.7 kB / 1.424 GB, free: 8.633 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003535/1.367, allocations: 0.4914 MB / 1.424 GB, free: 8.137 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001182/1.367, allocations: 138 kB / 1.425 GB, free: 8 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002334/1.367, allocations: 126.1 kB / 1.425 GB, free: 7.871 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001288/1.367, allocations: 337.9 kB / 1.425 GB, free: 7.535 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004436/1.368, allocations: 233.2 kB / 1.425 GB, free: 7.309 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005613/1.368, allocations: 423.9 kB / 1.426 GB, free: 6.816 MB / 1.107 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.002459/1.371, allocations: 1.212 MB / 1.427 GB, free: 5.508 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.134e-05/1.371, allocations: 4.875 kB / 1.427 GB, free: 5.504 MB / 1.107 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001347/1.372, allocations: 0.7577 MB / 1.428 GB, free: 4.738 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/1.372, allocations: 8 kB / 1.428 GB, free: 4.73 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/1.372, allocations: 8 kB / 1.428 GB, free: 4.723 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.232e-05/1.372, allocations: 11.94 kB / 1.428 GB, free: 4.711 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005932/1.373, allocations: 156.1 kB / 1.428 GB, free: 4.559 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.604e-05/1.373, allocations: 8 kB / 1.428 GB, free: 4.551 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009624/1.374, allocations: 59.95 kB / 1.428 GB, free: 4.492 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.848e-05/1.374, allocations: 29.11 kB / 1.428 GB, free: 4.465 MB / 1.107 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.0004505/1.374, allocations: 317.6 kB / 1.428 GB, free: 4.145 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001888/1.374, allocations: 102.7 kB / 1.428 GB, free: 4.043 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001982/1.375, allocations: 109 kB / 1.428 GB, free: 3.93 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/1.375, allocations: 4 kB / 1.428 GB, free: 3.926 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/1.375, allocations: 0 / 1.428 GB, free: 3.926 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006298/1.375, allocations: 0.6753 MB / 1.429 GB, free: 3.164 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00252/1.378, allocations: 1.577 MB / 1.431 GB, free: 1.48 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.128e-06/1.378, allocations: 7.984 kB / 1.431 GB, free: 1.473 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004096/1.378, allocations: 83.91 kB / 1.431 GB, free: 1.391 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.937e-06/1.378, allocations: 12.44 kB / 1.431 GB, free: 1.379 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.198e-05/1.378, allocations: 16 kB / 1.431 GB, free: 1.363 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.359e-05/1.378, allocations: 19.84 kB / 1.431 GB, free: 1.344 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/1.378, allocations: 4 kB / 1.431 GB, free: 1.34 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/1.379, allocations: 0.8216 MB / 1.432 GB, free: 464 kB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003887/1.38, allocations: 235.9 kB / 1.432 GB, free: 208 kB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001818/1.38, allocations: 23.92 kB / 1.432 GB, free: 184 kB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007488/1.381, allocations: 34.22 kB / 1.432 GB, free: 152 kB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.251e-05/1.381, allocations: 35.84 kB / 1.432 GB, free: 116 kB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.537e-05/1.381, allocations: 27.98 kB / 1.432 GB, free: 88 kB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001251/1.382, allocations: 0.7117 MB / 1.433 GB, free: 15.36 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.232e-06/1.382, allocations: 0 / 1.433 GB, free: 15.36 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001243/1.383, allocations: 252 kB / 1.433 GB, free: 15.11 MB / 1.123 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.002043/1.386, allocations: 1.488 MB / 1.434 GB, free: 13.56 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001022/1.387, allocations: 0.4999 MB / 1.435 GB, free: 13.06 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/1.387, allocations: 0 / 1.435 GB, free: 13.06 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0002532/1.387, allocations: 189.1 kB / 1.435 GB, free: 12.88 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002669/1.39, allocations: 0.6101 MB / 1.436 GB, free: 12.27 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01073/1.4, allocations: 7.595 MB / 1.443 GB, free: 4.309 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007114/1.401, allocations: 1.099 MB / 1.444 GB, free: 3.18 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.000861/1.402, allocations: 252.3 kB / 1.444 GB, free: 2.93 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004706/1.402, allocations: 347.3 kB / 1.445 GB, free: 2.59 MB / 1.123 GB Notification: Performance of SimCode: time 2.595e-06/1.402, allocations: 0 / 1.445 GB, free: 2.59 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05707/1.459, allocations: 28.23 MB / 1.472 GB, free: 6.781 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.801/11.26, allocations: 10.17 kB / 1.472 GB, free: 6.773 MB / 1.154 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