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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001864/0.001865, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002355/0.002356, allocations: 191.7 kB / 16.13 MB, free: 6.691 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.436/1.436, allocations: 222.9 MB / 239.8 MB, free: 4.645 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.527/2.527, allocations: 437 MB / 0.7099 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 59.91 kB / 0.8687 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5111/0.5123, allocations: 151.6 MB / 1.017 GB, free: 2.789 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.1743/0.6867, allocations: 188.3 MB / 1.201 GB, free: 5.852 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0084/0.6951, allocations: 5.761 MB / 1.206 GB, free: 84 kB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001131/0.6963, allocations: 35.75 kB / 1.206 GB, free: 48 kB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001421/0.6978, allocations: 0.4975 MB / 1.207 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003481/0.7013, allocations: 1.521 MB / 1.208 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002618/0.7039, allocations: 1.091 MB / 1.209 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003397/0.7073, allocations: 3.534 MB / 1.213 GB, free: 9.395 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001204/0.7085, allocations: 0.8848 MB / 1.214 GB, free: 8.484 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001648/0.7102, allocations: 0.9103 MB / 1.214 GB, free: 7.57 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001829/0.712, allocations: 0.8834 MB / 1.215 GB, free: 6.688 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.000183/0.7122, allocations: 56 kB / 1.215 GB, free: 6.633 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002657/0.7149, allocations: 1.734 MB / 1.217 GB, free: 4.895 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004936/0.7154, allocations: 462.7 kB / 1.217 GB, free: 4.441 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0007195/0.7161, allocations: 0.587 MB / 1.218 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002478/0.7186, allocations: 2.197 MB / 1.22 GB, free: 1.648 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.7186, allocations: 0 / 1.22 GB, free: 1.648 MB / 0.9669 GB Notification: Performance of FrontEnd: time 8.21e-07/0.7186, allocations: 0 / 1.22 GB, free: 1.648 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.09e-05/0.7186, allocations: 0 / 1.22 GB, free: 1.648 MB / 0.9669 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.002517/0.7212, allocations: 1.523 MB / 1.222 GB, free: 72 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.7212, allocations: 8.031 kB / 1.222 GB, free: 64 kB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001925/0.7214, allocations: 143.3 kB / 1.222 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003055/0.7245, allocations: 466.1 kB / 1.222 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001352/0.7258, allocations: 0.8162 MB / 1.223 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003493/0.7262, allocations: 125.9 kB / 1.223 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001377/0.7264, allocations: 87.94 kB / 1.223 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002115/0.7285, allocations: 1.187 MB / 1.224 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.959e-05/0.7285, allocations: 0 / 1.224 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-05/0.7286, allocations: 39.98 kB / 1.224 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.373e-05/0.7287, allocations: 37.98 kB / 1.225 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002309/0.731, allocations: 1.077 MB / 1.226 GB, free: 12.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.006602/0.7376, allocations: 4.339 MB / 1.23 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001941/0.7395, allocations: 0.7652 MB / 1.231 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009423/0.7405, allocations: 408.6 kB / 1.231 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001754/0.7407, allocations: 101.1 kB / 1.231 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/0.7407, allocations: 42.55 kB / 1.231 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=43): time 2.374e-06/0.7407, allocations: 0 / 1.231 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of matching and sorting (n=45): time 0.00557/0.7463, allocations: 2.207 MB / 1.233 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.018e-05/0.7464, allocations: 55.41 kB / 1.233 GB, free: 3.758 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000989/0.7473, allocations: 0.8608 MB / 1.234 GB, free: 2.887 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.877e-05/0.7474, allocations: 45.58 kB / 1.234 GB, free: 2.836 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003301/0.7478, allocations: 491.3 kB / 1.235 GB, free: 2.348 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001449/0.7479, allocations: 169.6 kB / 1.235 GB, free: 2.18 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002123/0.7481, allocations: 118.2 kB / 1.235 GB, free: 2.059 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.7482, allocations: 330 kB / 1.235 GB, free: 1.73 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009474/0.7492, allocations: 373 kB / 1.236 GB, free: 1.367 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001019/0.7502, allocations: 0.5091 MB / 1.236 GB, free: 0.8047 MB / 0.9825 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.006081/0.7563, allocations: 2.289 MB / 1.238 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.7563, allocations: 4 kB / 1.238 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002355/0.7587, allocations: 0.9937 MB / 1.239 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.62e-05/0.7587, allocations: 8 kB / 1.239 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.7588, allocations: 4 kB / 1.239 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.429e-05/0.7588, allocations: 11.94 kB / 1.239 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009479/0.7597, allocations: 199.8 kB / 1.24 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.907e-05/0.7598, allocations: 7.984 kB / 1.24 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001196/0.761, allocations: 99.75 kB / 1.24 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.389e-05/0.7611, allocations: 28 kB / 1.24 GB, free: 13.09 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.0005649/0.7616, allocations: 317.5 kB / 1.24 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002534/0.7619, allocations: 94.88 kB / 1.24 GB, free: 12.67 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002611/0.7622, allocations: 108.7 kB / 1.24 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.7622, allocations: 4 kB / 1.24 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.7622, allocations: 4 kB / 1.24 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001963/0.7642, allocations: 1.03 MB / 1.241 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00476/0.7689, allocations: 2.152 MB / 1.243 GB, free: 9.188 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/0.7689, allocations: 4 kB / 1.243 GB, free: 9.184 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008707/0.7698, allocations: 171.9 kB / 1.243 GB, free: 9.016 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.285e-05/0.7698, allocations: 4 kB / 1.243 GB, free: 9.012 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.063e-05/0.7699, allocations: 16 kB / 1.243 GB, free: 8.996 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-05/0.7699, allocations: 7.938 kB / 1.243 GB, free: 8.988 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.054e-05/0.7699, allocations: 15.86 kB / 1.243 GB, free: 8.973 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003006/0.773, allocations: 1.425 MB / 1.245 GB, free: 7.492 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004724/0.7734, allocations: 255.9 kB / 1.245 GB, free: 7.223 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001835/0.7736, allocations: 19.98 kB / 1.245 GB, free: 7.203 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001055/0.7747, allocations: 102.9 kB / 1.245 GB, free: 7.105 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.021e-05/0.7748, allocations: 35.95 kB / 1.245 GB, free: 7.07 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.225e-05/0.7749, allocations: 31.98 kB / 1.245 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008116/0.7757, allocations: 0.6082 MB / 1.246 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.81e-07/0.7757, allocations: 0 / 1.246 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009162/0.7766, allocations: 264 kB / 1.246 GB, free: 6.176 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.003719/0.7804, allocations: 2.073 MB / 1.248 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002037/0.7824, allocations: 0.8153 MB / 1.249 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/0.7824, allocations: 4 kB / 1.249 GB, free: 3.227 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009255/0.7834, allocations: 400.9 kB / 1.249 GB, free: 2.836 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002656/0.786, allocations: 0.5627 MB / 1.25 GB, free: 2.285 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4555/1.242, allocations: 8.872 MB / 1.259 GB, free: 230.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007259/1.242, allocations: 1.109 MB / 1.26 GB, free: 230.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00117/1.243, allocations: 260.8 kB / 1.26 GB, free: 230.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005163/1.244, allocations: 356.5 kB / 1.26 GB, free: 229.9 MB / 0.9981 GB Notification: Performance of SimCode: time 1.022e-06/1.244, allocations: 0.875 kB / 1.26 GB, free: 229.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2771/1.521, allocations: 27.64 MB / 1.287 GB, free: 217.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001594/1.521, allocations: 307.5 kB / 1.288 GB, free: 216.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.542/4.063, allocations: 0 / 1.288 GB, free: 216.8 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