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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001166/0.001167, allocations: 97.64 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.006787/0.006787, allocations: 170.1 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.319/1.319, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.286/2.286, allocations: 390.9 MB / 0.6664 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003159/0.0003159, allocations: 12 kB / 0.8161 GB, free: 13.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5549/0.5552, allocations: 142.4 MB / 0.9552 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.1807/0.7359, allocations: 185.6 MB / 1.136 GB, free: 5.062 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.008362/0.7443, allocations: 5.698 MB / 1.142 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007259/0.7451, allocations: 31.81 kB / 1.142 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001226/0.7463, allocations: 497.4 kB / 1.142 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.003258/0.7496, allocations: 1.513 MB / 1.144 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002444/0.752, allocations: 1.081 MB / 1.145 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003309/0.7553, allocations: 3.486 MB / 1.148 GB, free: 8.742 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001023/0.7564, allocations: 0.8236 MB / 1.149 GB, free: 7.898 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001514/0.7579, allocations: 0.8479 MB / 1.15 GB, free: 7.047 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001548/0.7595, allocations: 0.817 MB / 1.151 GB, free: 6.23 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 9.819e-05/0.7596, allocations: 40 kB / 1.151 GB, free: 6.191 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002696/0.7623, allocations: 1.695 MB / 1.153 GB, free: 4.492 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004102/0.7627, allocations: 438.6 kB / 1.153 GB, free: 4.062 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0005582/0.7633, allocations: 0.573 MB / 1.154 GB, free: 3.48 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002238/0.7655, allocations: 2.099 MB / 1.156 GB, free: 1.375 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/0.7655, allocations: 8 kB / 1.156 GB, free: 1.367 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.513e-06/0.7655, allocations: 4 kB / 1.156 GB, free: 1.363 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.388e-05/0.7655, allocations: 0 / 1.156 GB, free: 1.363 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.001888/0.7674, allocations: 1.239 MB / 1.157 GB, free: 72 kB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.7675, allocations: 12.03 kB / 1.157 GB, free: 60 kB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001791/0.7677, allocations: 139.2 kB / 1.157 GB, free: 15.91 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001899/0.7696, allocations: 342.3 kB / 1.157 GB, free: 15.58 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001075/0.7707, allocations: 0.7726 MB / 1.158 GB, free: 14.76 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003567/0.771, allocations: 137.9 kB / 1.158 GB, free: 14.62 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001281/0.7712, allocations: 83.94 kB / 1.158 GB, free: 14.54 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001703/0.7729, allocations: 1.076 MB / 1.159 GB, free: 13.44 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/0.7729, allocations: 0 / 1.159 GB, free: 13.44 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-05/0.773, allocations: 40 kB / 1.159 GB, free: 13.4 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.27e-05/0.7731, allocations: 33.98 kB / 1.159 GB, free: 13.36 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00154/0.7746, allocations: 0.8509 MB / 1.16 GB, free: 12.51 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.004933/0.7795, allocations: 4.073 MB / 1.164 GB, free: 8.172 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005568/0.7801, allocations: 366.7 kB / 1.165 GB, free: 7.805 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002923/0.7804, allocations: 212.8 kB / 1.165 GB, free: 7.594 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001601/0.7806, allocations: 101.1 kB / 1.165 GB, free: 7.477 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.7806, allocations: 38.56 kB / 1.165 GB, free: 7.43 MB / 0.92 GB Notification: Performance of pre-optimization done (n=36): time 1.533e-06/0.7806, allocations: 0 / 1.165 GB, free: 7.43 MB / 0.92 GB Notification: Performance of matching and sorting (n=38): time 0.002322/0.783, allocations: 1.336 MB / 1.166 GB, free: 6.039 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.364e-05/0.783, allocations: 59.34 kB / 1.166 GB, free: 5.969 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001284/0.7843, allocations: 0.9921 MB / 1.167 GB, free: 4.953 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 5.096e-05/0.7844, allocations: 37.7 kB / 1.167 GB, free: 4.91 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003486/0.7847, allocations: 491.3 kB / 1.168 GB, free: 4.426 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001134/0.7848, allocations: 142 kB / 1.168 GB, free: 4.285 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.672e-05/0.7849, allocations: 53.69 kB / 1.168 GB, free: 4.227 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.785, allocations: 334 kB / 1.168 GB, free: 3.895 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004774/0.7855, allocations: 237.2 kB / 1.168 GB, free: 3.664 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000594/0.7861, allocations: 407.2 kB / 1.169 GB, free: 3.199 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.002445/0.7886, allocations: 1.203 MB / 1.17 GB, free: 1.91 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.7886, allocations: 3.984 kB / 1.17 GB, free: 1.906 MB / 0.92 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001336/0.7899, allocations: 0.7692 MB / 1.171 GB, free: 1.129 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.79, allocations: 9.969 kB / 1.171 GB, free: 1.121 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/0.79, allocations: 8 kB / 1.171 GB, free: 1.113 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.79, allocations: 8 kB / 1.171 GB, free: 1.105 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005674/0.7906, allocations: 143.7 kB / 1.171 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.322e-05/0.7906, allocations: 8 kB / 1.171 GB, free: 0.957 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009494/0.7916, allocations: 103.8 kB / 1.171 GB, free: 0.8555 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.053e-05/0.7916, allocations: 31.92 kB / 1.171 GB, free: 0.8242 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 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.0003809/0.792, allocations: 313.5 kB / 1.171 GB, free: 0.5078 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001344/0.7921, allocations: 102.8 kB / 1.171 GB, free: 416 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001744/0.7923, allocations: 97.03 kB / 1.172 GB, free: 320 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.7923, allocations: 4 kB / 1.172 GB, free: 316 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.7924, allocations: 3.938 kB / 1.172 GB, free: 312 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006594/0.793, allocations: 0.6791 MB / 1.172 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002193/0.7952, allocations: 1.58 MB / 1.174 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.441e-06/0.7952, allocations: 4 kB / 1.174 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003791/0.7956, allocations: 87.83 kB / 1.174 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-06/0.7956, allocations: 8 kB / 1.174 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.853e-05/0.7957, allocations: 12 kB / 1.174 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.544e-06/0.7957, allocations: 8.438 kB / 1.174 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.7957, allocations: 8 kB / 1.174 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009726/0.7967, allocations: 0.8331 MB / 1.175 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003176/0.797, allocations: 243.8 kB / 1.175 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/0.7971, allocations: 8 kB / 1.175 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000723/0.7978, allocations: 59.89 kB / 1.175 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.535e-05/0.7979, allocations: 35.84 kB / 1.175 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.225e-05/0.798, allocations: 27.98 kB / 1.175 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0009775/0.799, allocations: 0.7113 MB / 1.176 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.9e-07/0.799, allocations: 0 / 1.176 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0007598/0.7997, allocations: 252 kB / 1.176 GB, free: 11.47 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.001531/0.8013, allocations: 1.477 MB / 1.177 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0008723/0.8022, allocations: 499.9 kB / 1.178 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.8022, allocations: 0 / 1.178 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002718/0.8024, allocations: 188.3 kB / 1.178 GB, free: 9.254 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003179/0.8056, allocations: 0.6238 MB / 1.179 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01094/0.8166, allocations: 8.332 MB / 1.187 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007191/0.8173, allocations: 1.103 MB / 1.188 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0008851/0.8182, allocations: 236.2 kB / 1.188 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004674/0.8187, allocations: 339.3 kB / 1.188 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of SimCode: time 5.01e-07/0.8187, allocations: 0 / 1.188 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08705/0.9058, allocations: 26.94 MB / 1.215 GB, free: 3.676 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001993/0.906, allocations: 259.2 kB / 1.215 GB, free: 3.332 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.325/3.231, allocations: 4 kB / 1.215 GB, free: 3.328 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