Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_10_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.004977/0.004977, allocations: 98.56 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.001342/0.001342, allocations: 191.8 kB / 16.67 MB, free: 5.949 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.285/1.285, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.431/2.431, allocations: 437.1 MB / 0.7106 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001779/0.001779, allocations: 59.91 kB / 1.018 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3013/0.3031, allocations: 151.6 MB / 1.166 GB, free: 7.25 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.6826/0.9857, allocations: 190.5 MB / 1.352 GB, free: 2.754 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.008246/0.994, allocations: 5.709 MB / 1.358 GB, free: 14.72 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005104/0.9945, allocations: 37.62 kB / 1.358 GB, free: 14.71 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001183/0.9957, allocations: 0.5694 MB / 1.358 GB, free: 14.38 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002931/0.9987, allocations: 1.616 MB / 1.36 GB, free: 13.48 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002345/1.001, allocations: 1.213 MB / 1.361 GB, free: 12.85 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.002406/1.003, allocations: 2.557 MB / 1.364 GB, free: 11.69 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001076/1.005, allocations: 1.033 MB / 1.365 GB, free: 11.25 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001341/1.006, allocations: 1.039 MB / 1.366 GB, free: 10.77 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001374/1.007, allocations: 0.8539 MB / 1.367 GB, free: 10.41 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001552/1.007, allocations: 109 kB / 1.367 GB, free: 10.41 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002245/1.01, allocations: 1.556 MB / 1.368 GB, free: 9.688 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0004637/1.01, allocations: 0.4953 MB / 1.369 GB, free: 9.355 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0006197/1.011, allocations: 0.6391 MB / 1.369 GB, free: 8.945 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.002255/1.013, allocations: 2.195 MB / 1.371 GB, free: 7.535 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/1.013, allocations: 0 / 1.371 GB, free: 7.535 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.352e-06/1.013, allocations: 0 / 1.371 GB, free: 7.535 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.131e-05/1.013, allocations: 0 / 1.371 GB, free: 7.535 MB / 1.045 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.00212/1.015, allocations: 1.555 MB / 1.373 GB, free: 6.348 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 2.966e-05/1.015, allocations: 9.812 kB / 1.373 GB, free: 6.348 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001549/1.015, allocations: 137.1 kB / 1.373 GB, free: 6.238 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00265/1.018, allocations: 478.7 kB / 1.374 GB, free: 6.027 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001321/1.019, allocations: 0.8658 MB / 1.374 GB, free: 5.359 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.951e-05/1.019, allocations: 64.38 kB / 1.374 GB, free: 5.332 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001233/1.02, allocations: 93.16 kB / 1.375 GB, free: 5.297 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001942/1.022, allocations: 1.174 MB / 1.376 GB, free: 4.613 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.247e-05/1.022, allocations: 2.812 kB / 1.376 GB, free: 4.613 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.34e-05/1.022, allocations: 39.36 kB / 1.376 GB, free: 4.582 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.583e-05/1.022, allocations: 38.61 kB / 1.376 GB, free: 4.578 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002087/1.024, allocations: 1.061 MB / 1.377 GB, free: 4.07 MB / 1.045 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.005862/1.03, allocations: 4.317 MB / 1.381 GB, free: 0.6328 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001756/1.031, allocations: 0.7513 MB / 1.382 GB, free: 248 kB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008427/1.032, allocations: 404.2 kB / 1.382 GB, free: 52 kB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001685/1.032, allocations: 96.22 kB / 1.382 GB, free: 15.95 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/1.033, allocations: 47.61 kB / 1.382 GB, free: 15.9 MB / 1.061 GB Notification: Performance of pre-optimization done (n=43): time 1.493e-06/1.033, allocations: 0 / 1.382 GB, free: 15.9 MB / 1.061 GB Notification: Performance of matching and sorting (n=45): time 0.005018/1.038, allocations: 2.191 MB / 1.384 GB, free: 14.64 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.8e-05/1.038, allocations: 63.97 kB / 1.384 GB, free: 14.57 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008656/1.038, allocations: 0.8658 MB / 1.385 GB, free: 14.09 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.062e-05/1.039, allocations: 38.73 kB / 1.385 GB, free: 14.05 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003491/1.039, allocations: 0.4938 MB / 1.386 GB, free: 13.61 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001385/1.039, allocations: 169.2 kB / 1.386 GB, free: 13.46 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002046/1.039, allocations: 126.9 kB / 1.386 GB, free: 13.39 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001267/1.039, allocations: 322.8 kB / 1.386 GB, free: 13.07 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008582/1.04, allocations: 376.3 kB / 1.387 GB, free: 12.89 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009473/1.041, allocations: 0.4944 MB / 1.387 GB, free: 12.55 MB / 1.061 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.005549/1.047, allocations: 2.256 MB / 1.389 GB, free: 11.34 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/1.047, allocations: 1.812 kB / 1.389 GB, free: 11.34 MB / 1.061 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002024/1.049, allocations: 0.9913 MB / 1.39 GB, free: 10.84 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/1.049, allocations: 5.281 kB / 1.39 GB, free: 10.84 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/1.049, allocations: 5 kB / 1.39 GB, free: 10.84 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/1.049, allocations: 7.938 kB / 1.39 GB, free: 10.84 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008264/1.05, allocations: 192.9 kB / 1.391 GB, free: 10.79 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/1.05, allocations: 7.406 kB / 1.391 GB, free: 10.79 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008038/1.05, allocations: 71.81 kB / 1.391 GB, free: 10.75 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.491e-05/1.051, allocations: 28.27 kB / 1.391 GB, free: 10.74 MB / 1.061 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.000348/1.051, allocations: 312.2 kB / 1.391 GB, free: 10.51 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001432/1.051, allocations: 105 kB / 1.391 GB, free: 10.45 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001951/1.051, allocations: 109.8 kB / 1.391 GB, free: 10.38 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/1.051, allocations: 6.031 kB / 1.391 GB, free: 10.37 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/1.051, allocations: 2.5 kB / 1.391 GB, free: 10.37 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001802/1.053, allocations: 1.025 MB / 1.392 GB, free: 9.613 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003956/1.057, allocations: 2.144 MB / 1.394 GB, free: 8.18 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/1.057, allocations: 4.656 kB / 1.394 GB, free: 8.18 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007628/1.058, allocations: 157.5 kB / 1.394 GB, free: 8.137 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.123e-06/1.058, allocations: 8.703 kB / 1.394 GB, free: 8.133 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.204e-05/1.058, allocations: 15.88 kB / 1.395 GB, free: 8.125 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.161e-06/1.058, allocations: 8.781 kB / 1.395 GB, free: 8.121 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/1.058, allocations: 9.312 kB / 1.395 GB, free: 8.117 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002745/1.061, allocations: 1.418 MB / 1.396 GB, free: 7.262 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003208/1.061, allocations: 259.4 kB / 1.396 GB, free: 7.051 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001182/1.061, allocations: 15.31 kB / 1.396 GB, free: 7.043 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007965/1.062, allocations: 71.98 kB / 1.396 GB, free: 7.012 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.704e-05/1.062, allocations: 39.05 kB / 1.396 GB, free: 6.988 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.732e-05/1.062, allocations: 28.05 kB / 1.396 GB, free: 6.98 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0006231/1.063, allocations: 0.6008 MB / 1.397 GB, free: 6.645 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/1.063, allocations: 0 / 1.397 GB, free: 6.645 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0006195/1.063, allocations: 272.5 kB / 1.397 GB, free: 6.617 MB / 1.061 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.003306/1.067, allocations: 2.084 MB / 1.399 GB, free: 5.164 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001901/1.069, allocations: 0.8181 MB / 1.4 GB, free: 4.578 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/1.069, allocations: 4 kB / 1.4 GB, free: 4.574 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0009308/1.07, allocations: 393.1 kB / 1.4 GB, free: 4.191 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002278/1.072, allocations: 0.5824 MB / 1.401 GB, free: 3.621 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01325/1.085, allocations: 8.215 MB / 1.409 GB, free: 11.1 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006975/1.086, allocations: 1.11 MB / 1.41 GB, free: 9.961 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0006879/1.086, allocations: 251.8 kB / 1.41 GB, free: 9.711 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005164/1.087, allocations: 355.3 kB / 1.411 GB, free: 9.363 MB / 1.076 GB Notification: Performance of SimCode: time 2.2e-07/1.087, allocations: 0 / 1.411 GB, free: 9.363 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.13/2.217, allocations: 28.72 MB / 1.439 GB, free: 13.16 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.25/18.47, allocations: 12.14 kB / 1.439 GB, free: 13.15 MB / 1.107 GB (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.fmu > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches