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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001018/0.001018, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007995/0.007995, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.366/1.366, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.671/2.671, allocations: 437.8 MB / 0.7121 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003613/0.0003613, allocations: 16 kB / 0.8729 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6097/0.6101, allocations: 153.8 MB / 1.023 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.1748/0.7849, allocations: 185.6 MB / 1.204 GB, free: 5.586 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.009563/0.7945, allocations: 5.705 MB / 1.21 GB, free: 15.87 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001435/0.796, allocations: 35.75 kB / 1.21 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001642/0.7977, allocations: 0.4897 MB / 1.21 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003975/0.8017, allocations: 1.513 MB / 1.212 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002757/0.8044, allocations: 1.088 MB / 1.213 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003981/0.8084, allocations: 3.484 MB / 1.216 GB, free: 9.25 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001193/0.8096, allocations: 0.8236 MB / 1.217 GB, free: 8.406 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00175/0.8114, allocations: 0.8595 MB / 1.218 GB, free: 7.543 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001816/0.8132, allocations: 0.8062 MB / 1.219 GB, free: 6.738 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002779/0.8135, allocations: 40 kB / 1.219 GB, free: 6.699 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002797/0.8163, allocations: 1.699 MB / 1.221 GB, free: 4.996 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.000511/0.8168, allocations: 434.7 kB / 1.221 GB, free: 4.57 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0008291/0.8177, allocations: 0.5653 MB / 1.222 GB, free: 3.996 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003023/0.8208, allocations: 2.107 MB / 1.224 GB, free: 1.883 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.8208, allocations: 0 / 1.224 GB, free: 1.883 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.733e-06/0.8208, allocations: 3.938 kB / 1.224 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.533e-05/0.8209, allocations: 0 / 1.224 GB, free: 1.879 MB / 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.00255/0.8234, allocations: 1.243 MB / 1.225 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.8235, allocations: 8.031 kB / 1.225 GB, free: 0.5742 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002324/0.8237, allocations: 147.2 kB / 1.225 GB, free: 432 kB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00215/0.8259, allocations: 342.3 kB / 1.225 GB, free: 88 kB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001498/0.8274, allocations: 0.7765 MB / 1.226 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003748/0.8278, allocations: 129.9 kB / 1.226 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001441/0.8279, allocations: 91.84 kB / 1.226 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002074/0.83, allocations: 1.072 MB / 1.227 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.983e-05/0.83, allocations: 4 kB / 1.227 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.454e-05/0.8301, allocations: 35.94 kB / 1.227 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.414e-05/0.8302, allocations: 41.98 kB / 1.227 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001954/0.8321, allocations: 0.847 MB / 1.228 GB, free: 13.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.006546/0.8387, allocations: 4.054 MB / 1.232 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007487/0.8395, allocations: 375.2 kB / 1.232 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000319/0.8398, allocations: 216.4 kB / 1.233 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002181/0.84, allocations: 108.9 kB / 1.233 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.8401, allocations: 38.56 kB / 1.233 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=36): time 2.164e-06/0.8401, allocations: 4 kB / 1.233 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of matching and sorting (n=38): time 0.002699/0.8428, allocations: 1.333 MB / 1.234 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.157e-05/0.8428, allocations: 55.41 kB / 1.234 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001767/0.8446, allocations: 0.9999 MB / 1.235 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.102e-05/0.8447, allocations: 33.7 kB / 1.235 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003724/0.8451, allocations: 495.3 kB / 1.236 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001284/0.8452, allocations: 134 kB / 1.236 GB, free: 4.797 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.802e-05/0.8453, allocations: 61.69 kB / 1.236 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.8454, allocations: 326 kB / 1.236 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004981/0.8459, allocations: 241.2 kB / 1.236 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005925/0.8465, allocations: 413.2 kB / 1.237 GB, free: 3.699 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.002557/0.8491, allocations: 1.195 MB / 1.238 GB, free: 2.418 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.8491, allocations: 4 kB / 1.238 GB, free: 2.414 MB / 0.9825 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001343/0.8504, allocations: 0.7654 MB / 1.239 GB, free: 1.641 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.8505, allocations: 11.94 kB / 1.239 GB, free: 1.629 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.8505, allocations: 8 kB / 1.239 GB, free: 1.621 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.8505, allocations: 8 kB / 1.239 GB, free: 1.613 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005469/0.8511, allocations: 139.8 kB / 1.239 GB, free: 1.477 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.512e-05/0.8511, allocations: 12.09 kB / 1.239 GB, free: 1.465 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009823/0.8521, allocations: 95.77 kB / 1.239 GB, free: 1.371 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-05/0.8521, allocations: 28 kB / 1.239 GB, free: 1.344 MB / 0.9825 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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.0003956/0.8525, allocations: 313.5 kB / 1.239 GB, free: 1.027 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002472/0.8528, allocations: 98.81 kB / 1.239 GB, free: 0.9297 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001837/0.853, allocations: 101 kB / 1.239 GB, free: 0.8242 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.411e-06/0.853, allocations: 4 kB / 1.239 GB, free: 0.8203 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.853, allocations: 0 / 1.239 GB, free: 0.8203 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006389/0.8536, allocations: 0.6752 MB / 1.24 GB, free: 60 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002569/0.8562, allocations: 1.587 MB / 1.242 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.8562, allocations: 4 kB / 1.242 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003755/0.8566, allocations: 87.83 kB / 1.242 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.183e-06/0.8566, allocations: 4.5 kB / 1.242 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.391e-05/0.8567, allocations: 20 kB / 1.242 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/0.8567, allocations: 7.938 kB / 1.242 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.8567, allocations: 12 kB / 1.242 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000988/0.8577, allocations: 0.8294 MB / 1.243 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003508/0.8581, allocations: 239.8 kB / 1.243 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001225/0.8582, allocations: 12 kB / 1.243 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007941/0.859, allocations: 61.06 kB / 1.243 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.546e-05/0.8591, allocations: 31.91 kB / 1.243 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.398e-05/0.8591, allocations: 27.98 kB / 1.243 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001034/0.8602, allocations: 0.7151 MB / 1.244 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8602, allocations: 4 kB / 1.244 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007876/0.861, allocations: 251.9 kB / 1.244 GB, free: 11.98 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.001905/0.8629, allocations: 1.484 MB / 1.245 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001005/0.8639, allocations: 495.8 kB / 1.246 GB, free: 9.945 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/0.8639, allocations: 4 kB / 1.246 GB, free: 9.941 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002605/0.8642, allocations: 185.2 kB / 1.246 GB, free: 9.762 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004264/0.8684, allocations: 0.6198 MB / 1.247 GB, free: 9.152 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01142/0.8799, allocations: 8.312 MB / 1.255 GB, free: 416 kB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4347/1.315, allocations: 1.097 MB / 1.256 GB, free: 230.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001092/1.316, allocations: 236.2 kB / 1.256 GB, free: 230.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005337/1.316, allocations: 344.6 kB / 1.256 GB, free: 230.4 MB / 0.9981 GB Notification: Performance of SimCode: time 8.42e-07/1.316, allocations: 0 / 1.256 GB, free: 230.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04504/1.361, allocations: 26.96 MB / 1.283 GB, free: 222 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001427/1.361, allocations: 274.4 kB / 1.283 GB, free: 221.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.35/3.711, allocations: 0 / 1.283 GB, free: 221.6 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