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.00151/0.00151, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001821/0.001821, allocations: 195 kB / 16.25 MB, free: 6.621 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.561/1.561, allocations: 222.9 MB / 239.9 MB, free: 4.582 MB / 190.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.277/2.277, allocations: 390.2 MB / 0.6644 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 59.91 kB / 0.8122 GB, free: 14.71 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5548/0.5562, allocations: 140.4 MB / 0.9492 GB, free: 9.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.1764/0.7327, allocations: 187.9 MB / 1.133 GB, free: 5.512 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.008344/0.7411, allocations: 5.645 MB / 1.138 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001221/0.7423, allocations: 35.81 kB / 1.138 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.00155/0.7439, allocations: 0.5014 MB / 1.139 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.004136/0.7481, allocations: 1.509 MB / 1.14 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003111/0.7512, allocations: 1.111 MB / 1.141 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.00304/0.7543, allocations: 2.504 MB / 1.144 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001288/0.7556, allocations: 0.9652 MB / 1.145 GB, free: 9.199 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001855/0.7574, allocations: 1.02 MB / 1.146 GB, free: 8.176 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001765/0.7592, allocations: 0.8763 MB / 1.147 GB, free: 7.301 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001749/0.7594, allocations: 100 kB / 1.147 GB, free: 7.203 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002544/0.762, allocations: 1.594 MB / 1.148 GB, free: 5.605 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004591/0.7624, allocations: 0.4948 MB / 1.149 GB, free: 5.109 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0006265/0.7631, allocations: 0.6261 MB / 1.149 GB, free: 4.48 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002433/0.7655, allocations: 2.174 MB / 1.151 GB, free: 2.301 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.7655, allocations: 4 kB / 1.151 GB, free: 2.297 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.172e-06/0.7655, allocations: 0 / 1.151 GB, free: 2.297 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.51e-05/0.7656, allocations: 4 kB / 1.151 GB, free: 2.293 MB / 0.9044 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.002129/0.7677, allocations: 1.468 MB / 1.153 GB, free: 0.7734 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.7677, allocations: 15.97 kB / 1.153 GB, free: 0.7578 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001595/0.7679, allocations: 139.2 kB / 1.153 GB, free: 0.6133 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001959/0.7699, allocations: 326.3 kB / 1.153 GB, free: 300 kB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00118/0.7711, allocations: 0.7765 MB / 1.154 GB, free: 15.47 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003343/0.7714, allocations: 117.9 kB / 1.154 GB, free: 15.36 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001273/0.7716, allocations: 91.92 kB / 1.154 GB, free: 15.27 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001883/0.7734, allocations: 1.07 MB / 1.155 GB, free: 14.16 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.933e-05/0.7735, allocations: 3.984 kB / 1.155 GB, free: 14.16 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.416e-05/0.7736, allocations: 40 kB / 1.155 GB, free: 14.12 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.44e-05/0.7736, allocations: 33.94 kB / 1.155 GB, free: 14.09 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001534/0.7752, allocations: 0.8314 MB / 1.156 GB, free: 13.25 MB / 0.92 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.005444/0.7806, allocations: 4.058 MB / 1.16 GB, free: 8.934 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005814/0.7812, allocations: 370.6 kB / 1.161 GB, free: 8.562 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000288/0.7815, allocations: 212.8 kB / 1.161 GB, free: 8.352 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001824/0.7817, allocations: 101.1 kB / 1.161 GB, free: 8.234 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.7818, allocations: 42.56 kB / 1.161 GB, free: 8.184 MB / 0.92 GB Notification: Performance of pre-optimization done (n=36): time 2.204e-06/0.7818, allocations: 0 / 1.161 GB, free: 8.184 MB / 0.92 GB Notification: Performance of matching and sorting (n=38): time 0.002656/0.7844, allocations: 1.332 MB / 1.162 GB, free: 6.797 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.927e-05/0.7845, allocations: 59.41 kB / 1.162 GB, free: 6.727 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001382/0.7859, allocations: 0.992 MB / 1.163 GB, free: 5.711 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 5.591e-05/0.7859, allocations: 37.64 kB / 1.163 GB, free: 5.668 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003261/0.7863, allocations: 0.4915 MB / 1.164 GB, free: 5.172 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.00012/0.7864, allocations: 142 kB / 1.164 GB, free: 5.031 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001823/0.7866, allocations: 110.2 kB / 1.164 GB, free: 4.918 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.537e-05/0.7867, allocations: 330 kB / 1.164 GB, free: 4.59 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004628/0.7872, allocations: 241.2 kB / 1.164 GB, free: 4.352 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005714/0.7877, allocations: 401.2 kB / 1.165 GB, free: 3.895 MB / 0.92 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.002444/0.7902, allocations: 1.203 MB / 1.166 GB, free: 2.605 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.7902, allocations: 4 kB / 1.166 GB, free: 2.602 MB / 0.92 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001346/0.7916, allocations: 0.7536 MB / 1.167 GB, free: 1.84 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.7916, allocations: 4 kB / 1.167 GB, free: 1.836 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.7916, allocations: 8 kB / 1.167 GB, free: 1.828 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.7916, allocations: 8 kB / 1.167 GB, free: 1.82 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005618/0.7922, allocations: 136 kB / 1.167 GB, free: 1.688 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.63e-05/0.7922, allocations: 15.94 kB / 1.167 GB, free: 1.672 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001009/0.7932, allocations: 87.77 kB / 1.167 GB, free: 1.586 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.582e-05/0.7933, allocations: 24 kB / 1.167 GB, free: 1.562 MB / 0.92 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.0004177/0.7937, allocations: 313.5 kB / 1.167 GB, free: 1.246 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001688/0.7939, allocations: 106.7 kB / 1.167 GB, free: 1.141 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001736/0.7941, allocations: 101 kB / 1.168 GB, free: 1.039 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.7941, allocations: 7.984 kB / 1.168 GB, free: 1.031 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.7941, allocations: 0 / 1.168 GB, free: 1.031 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006204/0.7947, allocations: 0.6713 MB / 1.168 GB, free: 280 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00236/0.7971, allocations: 1.581 MB / 1.17 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.201e-06/0.7971, allocations: 4 kB / 1.17 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003891/0.7975, allocations: 79.89 kB / 1.17 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.335e-06/0.7976, allocations: 11.94 kB / 1.17 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.377e-05/0.7976, allocations: 16 kB / 1.17 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.155e-06/0.7976, allocations: 8.438 kB / 1.17 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.7976, allocations: 8 kB / 1.17 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000967/0.7986, allocations: 0.8376 MB / 1.171 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003569/0.799, allocations: 239.9 kB / 1.171 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001415/0.7991, allocations: 12 kB / 1.171 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007583/0.7999, allocations: 61.98 kB / 1.171 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.036e-05/0.7999, allocations: 31.84 kB / 1.171 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.809e-05/0.8, allocations: 31.98 kB / 1.171 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001015/0.801, allocations: 0.7074 MB / 1.172 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2e-07/0.801, allocations: 3.938 kB / 1.172 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0008402/0.8019, allocations: 252 kB / 1.172 GB, free: 12.2 MB / 0.9356 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.001588/0.8035, allocations: 1.477 MB / 1.173 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0009509/0.8044, allocations: 0.5278 MB / 1.174 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.8045, allocations: 4 kB / 1.174 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000252/0.8047, allocations: 187.7 kB / 1.174 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00261/0.8073, allocations: 0.6201 MB / 1.175 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01084/0.8182, allocations: 8.221 MB / 1.183 GB, free: 0.6758 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006226/0.8188, allocations: 1.099 MB / 1.184 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0008706/0.8197, allocations: 248.2 kB / 1.184 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004152/0.8201, allocations: 339.3 kB / 1.184 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of SimCode: time 6.12e-07/0.8201, allocations: 0 / 1.184 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4253/1.245, allocations: 27.29 MB / 1.211 GB, free: 4.164 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003425/1.246, allocations: 274.2 kB / 1.211 GB, free: 3.801 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.828/4.073, allocations: 0 / 1.211 GB, free: 3.801 MB / 0.9669 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