Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001825/0.001826, allocations: 107.1 kB / 16.37 MB, free: 6.477 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.00195/0.00195, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.376/1.376, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.623/2.623, allocations: 442.6 MB / 0.7165 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 64 kB / 0.8773 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3097/0.311, allocations: 153 MB / 1.027 GB, free: 2.117 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.7405/1.052, allocations: 190.5 MB / 1.213 GB, free: 10.96 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01004/1.062, allocations: 5.702 MB / 1.218 GB, free: 6.312 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001413/1.063, allocations: 43.44 kB / 1.218 GB, free: 6.297 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001652/1.065, allocations: 0.5596 MB / 1.219 GB, free: 5.832 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.004414/1.069, allocations: 1.617 MB / 1.22 GB, free: 4.57 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003304/1.073, allocations: 1.217 MB / 1.222 GB, free: 3.664 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.00377/1.076, allocations: 2.567 MB / 1.224 GB, free: 2.199 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001535/1.078, allocations: 1.035 MB / 1.225 GB, free: 1.582 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002322/1.08, allocations: 1.052 MB / 1.226 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002079/1.082, allocations: 0.842 MB / 1.227 GB, free: 420 kB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002182/1.083, allocations: 108 kB / 1.227 GB, free: 312 kB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003288/1.086, allocations: 1.555 MB / 1.229 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0005684/1.086, allocations: 0.4987 MB / 1.229 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0009811/1.087, allocations: 0.6377 MB / 1.23 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.004032/1.091, allocations: 2.177 MB / 1.232 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 8.265e-06/1.092, allocations: 4 kB / 1.232 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.305e-06/1.092, allocations: 0 / 1.232 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.986e-05/1.092, allocations: 4 kB / 1.232 GB, free: 11.41 MB / 0.9356 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.002633/1.094, allocations: 1.508 MB / 1.233 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/1.094, allocations: 12.03 kB / 1.233 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003135/1.097, allocations: 474.1 kB / 1.234 GB, free: 9.379 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001781/1.099, allocations: 0.8591 MB / 1.235 GB, free: 8.477 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.891e-05/1.099, allocations: 66 kB / 1.235 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001421/1.099, allocations: 87.98 kB / 1.235 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002191/1.102, allocations: 1.179 MB / 1.236 GB, free: 7.125 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.49e-05/1.102, allocations: 0 / 1.236 GB, free: 7.125 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001157/1.102, allocations: 40.8 kB / 1.236 GB, free: 7.086 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.891e-05/1.102, allocations: 34 kB / 1.236 GB, free: 7.051 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002353/1.104, allocations: 1.062 MB / 1.237 GB, free: 5.988 MB / 0.9356 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.00743/1.112, allocations: 4.315 MB / 1.241 GB, free: 1.406 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001893/1.114, allocations: 0.7442 MB / 1.242 GB, free: 0.6523 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009615/1.115, allocations: 396.6 kB / 1.242 GB, free: 268 kB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002396/1.115, allocations: 101.1 kB / 1.242 GB, free: 148 kB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.552e-05/1.115, allocations: 46.56 kB / 1.243 GB, free: 92 kB / 0.9356 GB Notification: Performance of pre-optimization done (n=43): time 3.156e-06/1.115, allocations: 0 / 1.243 GB, free: 92 kB / 0.9356 GB Notification: Performance of matching and sorting (n=45): time 0.006435/1.121, allocations: 2.185 MB / 1.245 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.078e-05/1.121, allocations: 59.34 kB / 1.245 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001124/1.123, allocations: 0.8647 MB / 1.246 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 7.364e-05/1.123, allocations: 33.7 kB / 1.246 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003493/1.123, allocations: 495.3 kB / 1.246 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001492/1.123, allocations: 157.8 kB / 1.246 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002203/1.123, allocations: 126.1 kB / 1.246 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001094/1.123, allocations: 330 kB / 1.247 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008933/1.124, allocations: 369 kB / 1.247 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009698/1.125, allocations: 0.5014 MB / 1.248 GB, free: 10.86 MB / 0.9512 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.005984/1.131, allocations: 2.251 MB / 1.25 GB, free: 8.539 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/1.131, allocations: 4 kB / 1.25 GB, free: 8.535 MB / 0.9512 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00224/1.134, allocations: 0.9898 MB / 1.251 GB, free: 7.539 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/1.134, allocations: 8 kB / 1.251 GB, free: 7.531 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.016e-06/1.134, allocations: 4 kB / 1.251 GB, free: 7.527 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/1.134, allocations: 4.875 kB / 1.251 GB, free: 7.523 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009229/1.135, allocations: 187.9 kB / 1.251 GB, free: 7.34 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.031e-05/1.135, allocations: 23.86 kB / 1.251 GB, free: 7.316 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009986/1.136, allocations: 63.84 kB / 1.251 GB, free: 7.254 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.616e-05/1.136, allocations: 31.98 kB / 1.251 GB, free: 7.223 MB / 0.9512 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.0004754/1.136, allocations: 313.5 kB / 1.251 GB, free: 6.906 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001607/1.136, allocations: 90.97 kB / 1.251 GB, free: 6.816 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002211/1.137, allocations: 104.7 kB / 1.251 GB, free: 6.707 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.196e-06/1.137, allocations: 19.92 kB / 1.251 GB, free: 6.688 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/1.137, allocations: 3.938 kB / 1.251 GB, free: 6.684 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001932/1.139, allocations: 1.018 MB / 1.252 GB, free: 5.578 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004502/1.143, allocations: 2.146 MB / 1.255 GB, free: 3.332 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.543e-06/1.143, allocations: 4.406 kB / 1.255 GB, free: 3.328 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008479/1.144, allocations: 159.8 kB / 1.255 GB, free: 3.172 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.156e-06/1.144, allocations: 8 kB / 1.255 GB, free: 3.164 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.974e-05/1.144, allocations: 19.98 kB / 1.255 GB, free: 3.145 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-05/1.144, allocations: 11.94 kB / 1.255 GB, free: 3.133 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/1.144, allocations: 4 kB / 1.255 GB, free: 3.129 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002854/1.147, allocations: 1.422 MB / 1.256 GB, free: 1.652 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005184/1.147, allocations: 255.9 kB / 1.256 GB, free: 1.383 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001368/1.148, allocations: 16 kB / 1.256 GB, free: 1.367 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008912/1.149, allocations: 66.61 kB / 1.256 GB, free: 1.305 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.102e-05/1.149, allocations: 47.81 kB / 1.257 GB, free: 1.258 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.649e-05/1.149, allocations: 31.97 kB / 1.257 GB, free: 1.227 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0007709/1.149, allocations: 0.5966 MB / 1.257 GB, free: 0.6367 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.71e-07/1.149, allocations: 0 / 1.257 GB, free: 0.6367 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0008905/1.15, allocations: 272 kB / 1.257 GB, free: 380 kB / 0.9512 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.0004844/1.151, allocations: 211.8 kB / 1.258 GB, free: 168 kB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002031/1.153, allocations: 0.804 MB / 1.258 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 9.909e-06/1.153, allocations: 4 kB / 1.258 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0009487/1.154, allocations: 392.3 kB / 1.259 GB, free: 14.97 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002408/1.156, allocations: 0.5866 MB / 1.259 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004645/1.161, allocations: 2.175 MB / 1.261 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006558/1.162, allocations: 1.11 MB / 1.263 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0008828/1.163, allocations: 259.8 kB / 1.263 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002784/1.163, allocations: 75.41 kB / 1.263 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of SimCode: time 9.42e-07/1.163, allocations: 0 / 1.263 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of Templates: time 0.03458/1.197, allocations: 20.93 MB / 1.283 GB, free: 6.043 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches