Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",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.001264/0.001264, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001163/0.001162, allocations: 194.7 kB / 16.53 MB, free: 6.664 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.291/1.291, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.514/2.514, allocations: 469.8 MB / 0.7424 GB, free: 7.434 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001712/0.001712, allocations: 62.06 kB / 0.9087 GB, free: 34.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.238, allocations: 159.1 MB / 1.064 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.6026/0.8407, allocations: 190.5 MB / 1.25 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.007226/0.8479, allocations: 5.704 MB / 1.256 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001116/0.8491, allocations: 42.19 kB / 1.256 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001202/0.8503, allocations: 0.5674 MB / 1.256 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002997/0.8533, allocations: 1.615 MB / 1.258 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002497/0.8558, allocations: 1.195 MB / 1.259 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002061/0.8579, allocations: 2.558 MB / 1.261 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009498/0.8589, allocations: 1.037 MB / 1.262 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001124/0.86, allocations: 1.044 MB / 1.264 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001249/0.8613, allocations: 0.8487 MB / 1.264 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001376/0.8614, allocations: 110.6 kB / 1.264 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002107/0.8635, allocations: 1.55 MB / 1.266 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004147/0.8639, allocations: 0.4971 MB / 1.266 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005334/0.8645, allocations: 0.6444 MB / 1.267 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002045/0.8665, allocations: 2.157 MB / 1.269 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.8665, allocations: 2.438 kB / 1.269 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.042e-06/0.8665, allocations: 4.719 kB / 1.269 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.211e-05/0.8666, allocations: 0 / 1.269 GB, free: 4.398 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.002166/0.8687, allocations: 1.521 MB / 1.271 GB, free: 19.61 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.8688, allocations: 9.562 kB / 1.271 GB, free: 19.61 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001715/0.869, allocations: 137.8 kB / 1.271 GB, free: 19.57 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002721/0.8717, allocations: 480.5 kB / 1.271 GB, free: 19.51 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001186/0.8729, allocations: 0.8153 MB / 1.272 GB, free: 19.18 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003228/0.8732, allocations: 127.8 kB / 1.272 GB, free: 19.18 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001208/0.8733, allocations: 84.98 kB / 1.272 GB, free: 19.18 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001959/0.8753, allocations: 1.184 MB / 1.273 GB, free: 19.08 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.057e-05/0.8753, allocations: 1.062 kB / 1.273 GB, free: 19.08 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.041e-05/0.8754, allocations: 39.77 kB / 1.273 GB, free: 19.08 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-05/0.8755, allocations: 35.92 kB / 1.274 GB, free: 19.08 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002178/0.8777, allocations: 1.081 MB / 1.275 GB, free: 19.07 MB / 1.014 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.006358/0.884, allocations: 4.359 MB / 1.279 GB, free: 17.27 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001824/0.8859, allocations: 0.7564 MB / 1.28 GB, free: 17.24 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008697/0.8867, allocations: 412.2 kB / 1.28 GB, free: 17.23 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001738/0.8869, allocations: 103 kB / 1.28 GB, free: 17.14 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.887, allocations: 42.77 kB / 1.28 GB, free: 17.1 MB / 1.014 GB Notification: Performance of pre-optimization done (n=43): time 1.633e-06/0.887, allocations: 1.656 kB / 1.28 GB, free: 17.1 MB / 1.014 GB Notification: Performance of matching and sorting (n=45): time 0.004995/0.892, allocations: 2.202 MB / 1.282 GB, free: 16.64 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.604e-05/0.892, allocations: 63.45 kB / 1.282 GB, free: 16.57 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008093/0.8928, allocations: 0.8599 MB / 1.283 GB, free: 16.45 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.253e-05/0.8929, allocations: 38.36 kB / 1.283 GB, free: 16.41 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002359/0.8931, allocations: 493.2 kB / 1.284 GB, free: 16.21 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/0.8933, allocations: 164.5 kB / 1.284 GB, free: 16.1 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001759/0.8934, allocations: 120.2 kB / 1.284 GB, free: 16.08 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.8936, allocations: 331.6 kB / 1.284 GB, free: 15.78 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008509/0.8944, allocations: 375.7 kB / 1.285 GB, free: 15.78 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008888/0.8953, allocations: 0.5047 MB / 1.285 GB, free: 15.64 MB / 1.014 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.005439/0.9008, allocations: 2.292 MB / 1.287 GB, free: 15.37 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.9008, allocations: 6.094 kB / 1.287 GB, free: 15.36 MB / 1.014 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001981/0.9028, allocations: 1 MB / 1.288 GB, free: 15.25 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.9028, allocations: 9.844 kB / 1.288 GB, free: 15.25 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.9028, allocations: 4.188 kB / 1.288 GB, free: 15.25 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.9028, allocations: 6.125 kB / 1.288 GB, free: 15.25 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008294/0.9037, allocations: 195.4 kB / 1.289 GB, free: 15.25 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.9037, allocations: 9.156 kB / 1.289 GB, free: 15.25 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000829/0.9045, allocations: 71.06 kB / 1.289 GB, free: 15.24 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.185e-05/0.9046, allocations: 23.34 kB / 1.289 GB, free: 15.24 MB / 1.014 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: 17 * 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 (73): * Single equations (assignments): 73 * 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.0003411/0.9049, allocations: 323.1 kB / 1.289 GB, free: 15.12 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001415/0.9051, allocations: 100.3 kB / 1.289 GB, free: 15.07 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000164/0.9052, allocations: 103.8 kB / 1.289 GB, free: 15.05 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.9053, allocations: 5.312 kB / 1.289 GB, free: 15.05 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.9053, allocations: 0 / 1.289 GB, free: 15.05 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001809/0.9071, allocations: 1.032 MB / 1.29 GB, free: 14.59 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003812/0.9109, allocations: 2.157 MB / 1.292 GB, free: 14.14 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.9109, allocations: 4.062 kB / 1.292 GB, free: 14.14 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007784/0.9117, allocations: 173.8 kB / 1.292 GB, free: 14.14 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.9117, allocations: 9 kB / 1.292 GB, free: 14.13 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.766e-05/0.9118, allocations: 14.44 kB / 1.292 GB, free: 14.13 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.132e-06/0.9118, allocations: 12.38 kB / 1.292 GB, free: 14.13 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.9118, allocations: 4.781 kB / 1.292 GB, free: 14.13 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002661/0.9144, allocations: 1.432 MB / 1.294 GB, free: 13.81 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000322/0.9148, allocations: 254.8 kB / 1.294 GB, free: 13.67 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001287/0.9149, allocations: 20.36 kB / 1.294 GB, free: 13.66 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008303/0.9158, allocations: 70.59 kB / 1.294 GB, free: 13.66 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.157e-05/0.9158, allocations: 35.69 kB / 1.294 GB, free: 13.66 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.059e-05/0.9159, allocations: 36.45 kB / 1.294 GB, free: 13.65 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005838/0.9165, allocations: 0.6004 MB / 1.295 GB, free: 13.56 MB / 1.014 GB Notification: Performance of sort global known variables: time 7.02e-07/0.9165, allocations: 0 / 1.295 GB, free: 13.56 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006941/0.9172, allocations: 268 kB / 1.295 GB, free: 13.56 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (45): * Single equations (assignments): 45 * 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.003276/0.9205, allocations: 2.094 MB / 1.297 GB, free: 12.68 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001888/0.9224, allocations: 0.8903 MB / 1.298 GB, free: 12.65 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.9224, allocations: 1.375 kB / 1.298 GB, free: 12.65 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0008294/0.9232, allocations: 393.9 kB / 1.298 GB, free: 12.64 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00215/0.9254, allocations: 0.5746 MB / 1.299 GB, free: 12.54 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01172/0.9371, allocations: 8.564 MB / 1.307 GB, free: 9.539 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006065/0.9377, allocations: 1.108 MB / 1.308 GB, free: 8.828 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008181/0.9386, allocations: 259.6 kB / 1.309 GB, free: 8.77 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003976/0.939, allocations: 351.3 kB / 1.309 GB, free: 8.766 MB / 1.014 GB Notification: Performance of SimCode: time 2.5e-07/0.939, allocations: 0 / 1.309 GB, free: 8.766 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.754/4.693, allocations: 28.54 MB / 1.337 GB, free: 392 kB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/15.41, allocations: 7.391 kB / 1.337 GB, free: 388 kB / 1.014 GB (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches