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.001145/0.001145, allocations: 108 kB / 15.6 MB, free: 132 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.001168/0.001168, allocations: 192.4 kB / 16.53 MB, free: 6.391 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.32/1.32, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.362/2.362, allocations: 437.1 MB / 0.7104 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 63.91 kB / 0.8693 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5116/0.513, allocations: 151.6 MB / 1.017 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.179/0.692, allocations: 190.5 MB / 1.203 GB, free: 3.289 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.008755/0.7008, allocations: 5.714 MB / 1.209 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001127/0.7019, allocations: 39.75 kB / 1.209 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001459/0.7034, allocations: 0.5708 MB / 1.21 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003863/0.7073, allocations: 1.618 MB / 1.211 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002852/0.7102, allocations: 1.197 MB / 1.212 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003099/0.7133, allocations: 2.554 MB / 1.215 GB, free: 7.578 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001391/0.7147, allocations: 1.028 MB / 1.216 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001781/0.7165, allocations: 1.051 MB / 1.217 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001822/0.7183, allocations: 0.8468 MB / 1.218 GB, free: 4.625 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002856/0.7186, allocations: 112 kB / 1.218 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002901/0.7215, allocations: 1.555 MB / 1.219 GB, free: 2.957 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0005726/0.7221, allocations: 0.5026 MB / 1.22 GB, free: 2.453 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0008841/0.723, allocations: 0.6417 MB / 1.22 GB, free: 1.809 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002829/0.7258, allocations: 2.158 MB / 1.223 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.7259, allocations: 0 / 1.223 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.283e-06/0.7259, allocations: 0 / 1.223 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.835e-05/0.7259, allocations: 0 / 1.223 GB, free: 15.64 MB / 0.9825 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.002652/0.7286, allocations: 1.527 MB / 1.224 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.7286, allocations: 12.03 kB / 1.224 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000174/0.7288, allocations: 135.3 kB / 1.224 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002981/0.7318, allocations: 470.1 kB / 1.225 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001402/0.7332, allocations: 0.82 MB / 1.225 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000353/0.7335, allocations: 121.9 kB / 1.226 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001401/0.7337, allocations: 91.92 kB / 1.226 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002144/0.7358, allocations: 1.183 MB / 1.227 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/0.7359, allocations: 0 / 1.227 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.592e-05/0.736, allocations: 36 kB / 1.227 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-05/0.736, allocations: 37.98 kB / 1.227 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002382/0.7384, allocations: 1.077 MB / 1.228 GB, free: 10.03 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.006683/0.7451, allocations: 4.35 MB / 1.232 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002053/0.7472, allocations: 0.7743 MB / 1.233 GB, free: 4.629 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009327/0.7481, allocations: 406 kB / 1.233 GB, free: 4.23 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001676/0.7483, allocations: 101.1 kB / 1.233 GB, free: 4.113 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.7483, allocations: 42.56 kB / 1.233 GB, free: 4.062 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=43): time 2.736e-06/0.7483, allocations: 3.984 kB / 1.233 GB, free: 4.059 MB / 0.9825 GB Notification: Performance of matching and sorting (n=45): time 0.005609/0.754, allocations: 2.207 MB / 1.236 GB, free: 1.801 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.017e-05/0.754, allocations: 59.41 kB / 1.236 GB, free: 1.73 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009541/0.755, allocations: 0.8725 MB / 1.237 GB, free: 0.8477 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.578e-05/0.755, allocations: 33.7 kB / 1.237 GB, free: 0.8086 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003066/0.7553, allocations: 487.3 kB / 1.237 GB, free: 336 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001376/0.7555, allocations: 173.5 kB / 1.237 GB, free: 160 kB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001924/0.7557, allocations: 114.2 kB / 1.237 GB, free: 40 kB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.7558, allocations: 334 kB / 1.238 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009652/0.7568, allocations: 377 kB / 1.238 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001026/0.7578, allocations: 0.5053 MB / 1.238 GB, free: 14.78 MB / 0.9981 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.006054/0.7639, allocations: 2.287 MB / 1.241 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.7639, allocations: 4 kB / 1.241 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002241/0.7661, allocations: 0.9976 MB / 1.242 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.7662, allocations: 8 kB / 1.242 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.7662, allocations: 4 kB / 1.242 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.7662, allocations: 11.94 kB / 1.242 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009347/0.7671, allocations: 191.8 kB / 1.242 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.7672, allocations: 4 kB / 1.242 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009054/0.7681, allocations: 67.92 kB / 1.242 GB, free: 11.13 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-05/0.7681, allocations: 28 kB / 1.242 GB, free: 11.11 MB / 0.9981 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.0003702/0.7685, allocations: 325.5 kB / 1.242 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001516/0.7687, allocations: 90.97 kB / 1.242 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001996/0.7689, allocations: 104.7 kB / 1.242 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.7689, allocations: 4 kB / 1.242 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.7689, allocations: 0 / 1.242 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00197/0.7709, allocations: 1.038 MB / 1.243 GB, free: 9.449 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004337/0.7752, allocations: 2.148 MB / 1.246 GB, free: 7.203 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.7752, allocations: 8.062 kB / 1.246 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008598/0.7761, allocations: 167.8 kB / 1.246 GB, free: 7.031 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/0.7761, allocations: 7.984 kB / 1.246 GB, free: 7.023 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.391e-05/0.7762, allocations: 19.98 kB / 1.246 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.124e-06/0.7762, allocations: 7.938 kB / 1.246 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.7762, allocations: 7.938 kB / 1.246 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003034/0.7792, allocations: 1.429 MB / 1.247 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003485/0.7796, allocations: 251.9 kB / 1.247 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001261/0.7797, allocations: 19.98 kB / 1.247 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008717/0.7806, allocations: 76.97 kB / 1.248 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.341e-05/0.7807, allocations: 39.91 kB / 1.248 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.109e-05/0.7808, allocations: 31.97 kB / 1.248 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006697/0.7814, allocations: 0.6044 MB / 1.248 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7814, allocations: 0 / 1.248 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007122/0.7821, allocations: 268 kB / 1.248 GB, free: 4.215 MB / 0.9981 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.003558/0.7857, allocations: 2.074 MB / 1.25 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002146/0.7879, allocations: 0.8898 MB / 1.251 GB, free: 1.199 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.7879, allocations: 0 / 1.251 GB, free: 1.199 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009425/0.7888, allocations: 397 kB / 1.252 GB, free: 0.8125 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002289/0.7911, allocations: 0.5884 MB / 1.252 GB, free: 240 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3479/1.139, allocations: 8.56 MB / 1.261 GB, free: 230.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006109/1.14, allocations: 1.108 MB / 1.262 GB, free: 229.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009278/1.141, allocations: 260.4 kB / 1.262 GB, free: 229.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004305/1.141, allocations: 350.1 kB / 1.262 GB, free: 229.5 MB / 0.9981 GB Notification: Performance of SimCode: time 5.01e-07/1.141, allocations: 0 / 1.262 GB, free: 229.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.327/2.468, allocations: 28.54 MB / 1.29 GB, free: 214.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.13/12.6, allocations: 16.34 kB / 1.29 GB, free: 214.7 MB / 0.9981 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=50 --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