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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001791/0.001791, allocations: 106.6 kB / 16.41 MB, free: 6.508 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.002077/0.002077, allocations: 187 kB / 17.34 MB, free: 5.742 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.509/1.509, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.632/2.632, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 55.91 kB / 1.055 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9033/0.9048, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.2246/1.129, allocations: 190.5 MB / 1.394 GB, free: 14.39 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01092/1.14, allocations: 5.7 MB / 1.4 GB, free: 8.68 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00254/1.143, allocations: 47.75 kB / 1.4 GB, free: 8.633 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.002148/1.145, allocations: 0.563 MB / 1.401 GB, free: 8.066 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.005211/1.151, allocations: 1.613 MB / 1.402 GB, free: 6.449 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.004143/1.155, allocations: 1.22 MB / 1.403 GB, free: 5.234 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.00422/1.159, allocations: 2.57 MB / 1.406 GB, free: 2.656 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00191/1.161, allocations: 1.037 MB / 1.407 GB, free: 1.602 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002663/1.163, allocations: 1.062 MB / 1.408 GB, free: 0.5352 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002467/1.166, allocations: 0.8497 MB / 1.409 GB, free: 15.69 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0004586/1.166, allocations: 108 kB / 1.409 GB, free: 15.59 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003977/1.17, allocations: 1.551 MB / 1.41 GB, free: 14.03 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0009437/1.171, allocations: 0.5026 MB / 1.411 GB, free: 13.53 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.001751/1.173, allocations: 0.6378 MB / 1.412 GB, free: 12.89 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.004985/1.178, allocations: 2.174 MB / 1.414 GB, free: 10.71 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 8.435e-06/1.178, allocations: 4 kB / 1.414 GB, free: 10.7 MB / 1.139 GB Notification: Performance of FrontEnd: time 3.005e-06/1.178, allocations: 0 / 1.414 GB, free: 10.7 MB / 1.139 GB Notification: Performance of Transformations before backend: time 8.173e-05/1.178, allocations: 0 / 1.414 GB, free: 10.7 MB / 1.139 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.00387/1.182, allocations: 1.519 MB / 1.415 GB, free: 9.133 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/1.182, allocations: 8.031 kB / 1.415 GB, free: 9.125 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003132/1.185, allocations: 478 kB / 1.416 GB, free: 8.656 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001604/1.187, allocations: 0.8591 MB / 1.416 GB, free: 7.754 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.698e-05/1.187, allocations: 66 kB / 1.416 GB, free: 7.688 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000134/1.187, allocations: 84 kB / 1.417 GB, free: 7.605 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002267/1.189, allocations: 1.171 MB / 1.418 GB, free: 6.414 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.338e-05/1.189, allocations: 3.938 kB / 1.418 GB, free: 6.41 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/1.19, allocations: 43.97 kB / 1.418 GB, free: 6.367 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.796e-05/1.19, allocations: 41.98 kB / 1.418 GB, free: 6.324 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002252/1.192, allocations: 1.062 MB / 1.419 GB, free: 5.266 MB / 1.139 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.00691/1.199, allocations: 4.292 MB / 1.423 GB, free: 0.7109 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001939/1.201, allocations: 0.7482 MB / 1.424 GB, free: 15.95 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009229/1.202, allocations: 408.5 kB / 1.424 GB, free: 15.55 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000182/1.202, allocations: 101 kB / 1.424 GB, free: 15.43 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.169e-05/1.202, allocations: 42.56 kB / 1.424 GB, free: 15.38 MB / 1.154 GB Notification: Performance of pre-optimization done (n=43): time 2.956e-06/1.202, allocations: 0 / 1.424 GB, free: 15.38 MB / 1.154 GB Notification: Performance of matching and sorting (n=45): time 0.00586/1.208, allocations: 2.174 MB / 1.426 GB, free: 13.16 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.009e-05/1.208, allocations: 59.34 kB / 1.426 GB, free: 13.09 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001062/1.209, allocations: 0.8647 MB / 1.427 GB, free: 12.21 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 6.395e-05/1.209, allocations: 41.7 kB / 1.427 GB, free: 12.16 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003537/1.209, allocations: 495.3 kB / 1.428 GB, free: 11.68 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001543/1.21, allocations: 161.6 kB / 1.428 GB, free: 11.52 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002087/1.21, allocations: 122.2 kB / 1.428 GB, free: 11.39 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001116/1.21, allocations: 326 kB / 1.428 GB, free: 11.07 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009435/1.211, allocations: 377 kB / 1.429 GB, free: 10.7 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001005/1.212, allocations: 0.4935 MB / 1.429 GB, free: 10.15 MB / 1.154 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.006069/1.218, allocations: 2.262 MB / 1.431 GB, free: 7.82 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/1.218, allocations: 0 / 1.431 GB, free: 7.82 MB / 1.154 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002428/1.22, allocations: 0.9898 MB / 1.432 GB, free: 6.824 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/1.22, allocations: 4 kB / 1.432 GB, free: 6.82 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/1.22, allocations: 8 kB / 1.432 GB, free: 6.812 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.417e-05/1.22, allocations: 8 kB / 1.432 GB, free: 6.805 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000954/1.221, allocations: 199.7 kB / 1.433 GB, free: 6.609 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.287e-05/1.221, allocations: 4 kB / 1.433 GB, free: 6.605 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001117/1.223, allocations: 71.92 kB / 1.433 GB, free: 6.535 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.353e-05/1.223, allocations: 24 kB / 1.433 GB, free: 6.512 MB / 1.154 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.0005641/1.223, allocations: 314.9 kB / 1.433 GB, free: 6.195 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001806/1.223, allocations: 94.88 kB / 1.433 GB, free: 6.102 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002283/1.224, allocations: 104.8 kB / 1.433 GB, free: 5.996 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/1.224, allocations: 7.938 kB / 1.433 GB, free: 5.988 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/1.224, allocations: 0 / 1.433 GB, free: 5.988 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001989/1.226, allocations: 1.034 MB / 1.434 GB, free: 4.867 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004413/1.23, allocations: 2.137 MB / 1.436 GB, free: 2.633 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/1.23, allocations: 4 kB / 1.436 GB, free: 2.629 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008888/1.231, allocations: 168.1 kB / 1.436 GB, free: 2.465 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.396e-06/1.231, allocations: 4 kB / 1.436 GB, free: 2.461 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.617e-05/1.231, allocations: 16 kB / 1.437 GB, free: 2.445 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.755e-06/1.231, allocations: 4 kB / 1.437 GB, free: 2.441 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.257e-06/1.231, allocations: 11.88 kB / 1.437 GB, free: 2.43 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003126/1.234, allocations: 1.418 MB / 1.438 GB, free: 0.9453 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004786/1.235, allocations: 255.9 kB / 1.438 GB, free: 0.6758 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001348/1.235, allocations: 16 kB / 1.438 GB, free: 0.6602 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009274/1.236, allocations: 72.73 kB / 1.438 GB, free: 0.5898 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.542e-05/1.236, allocations: 35.89 kB / 1.438 GB, free: 0.5547 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.895e-05/1.236, allocations: 27.98 kB / 1.438 GB, free: 0.5273 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0007767/1.237, allocations: 0.6005 MB / 1.439 GB, free: 15.93 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.4e-07/1.237, allocations: 0 / 1.439 GB, free: 15.93 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0008838/1.238, allocations: 272 kB / 1.439 GB, free: 15.67 MB / 1.17 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.0004972/1.238, allocations: 200.4 kB / 1.439 GB, free: 15.47 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002072/1.24, allocations: 0.8196 MB / 1.44 GB, free: 14.65 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/1.24, allocations: 0 / 1.44 GB, free: 14.65 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0009496/1.241, allocations: 397 kB / 1.441 GB, free: 14.27 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002527/1.244, allocations: 0.5776 MB / 1.441 GB, free: 13.7 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005158/1.249, allocations: 2.243 MB / 1.443 GB, free: 11.38 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008424/1.25, allocations: 1.11 MB / 1.444 GB, free: 10.24 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003608/1.25, allocations: 79.41 kB / 1.444 GB, free: 10.16 MB / 1.17 GB Notification: Performance of SimCode: time 6.82e-07/1.25, allocations: 0 / 1.444 GB, free: 10.16 MB / 1.17 GB Notification: Performance of Templates: time 0.02825/1.278, allocations: 16.98 MB / 1.461 GB, free: 9.344 MB / 1.186 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 -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