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.001442/0.001442, allocations: 106.1 kB / 16.41 MB, free: 6.5 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.00163/0.00163, allocations: 189.6 kB / 17.35 MB, free: 5.762 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.307/1.307, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.466/2.466, allocations: 461.9 MB / 0.7355 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 63.91 kB / 1.055 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6931/0.6944, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.1871/0.8815, allocations: 190.5 MB / 1.394 GB, free: 14.41 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.008744/0.8903, allocations: 5.714 MB / 1.4 GB, free: 8.68 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008889/0.8912, allocations: 39.75 kB / 1.4 GB, free: 8.641 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001352/0.8926, allocations: 0.5708 MB / 1.401 GB, free: 8.066 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.003374/0.896, allocations: 1.606 MB / 1.402 GB, free: 6.453 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002803/0.8988, allocations: 1.211 MB / 1.403 GB, free: 5.25 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002762/0.9016, allocations: 2.566 MB / 1.406 GB, free: 2.672 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001223/0.9028, allocations: 1.034 MB / 1.407 GB, free: 1.621 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001589/0.9044, allocations: 1.062 MB / 1.408 GB, free: 0.5547 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001521/0.906, allocations: 0.8498 MB / 1.409 GB, free: 15.71 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001767/0.9062, allocations: 112 kB / 1.409 GB, free: 15.6 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00259/0.9088, allocations: 1.555 MB / 1.41 GB, free: 14.04 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0004457/0.9092, allocations: 0.5026 MB / 1.411 GB, free: 13.54 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0005983/0.9098, allocations: 0.6339 MB / 1.412 GB, free: 12.9 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002428/0.9123, allocations: 2.177 MB / 1.414 GB, free: 10.71 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.9123, allocations: 0 / 1.414 GB, free: 10.71 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.222e-06/0.9123, allocations: 0 / 1.414 GB, free: 10.71 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.295e-05/0.9123, allocations: 0 / 1.414 GB, free: 10.71 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.002283/0.9146, allocations: 1.523 MB / 1.415 GB, free: 9.141 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.9146, allocations: 8.031 kB / 1.415 GB, free: 9.133 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003075/0.9177, allocations: 474 kB / 1.416 GB, free: 8.668 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001413/0.9191, allocations: 0.8591 MB / 1.416 GB, free: 7.766 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.672e-05/0.9192, allocations: 66 kB / 1.417 GB, free: 7.699 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001448/0.9194, allocations: 84 kB / 1.417 GB, free: 7.617 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002085/0.9214, allocations: 1.179 MB / 1.418 GB, free: 6.418 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.125e-05/0.9215, allocations: 0 / 1.418 GB, free: 6.418 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001089/0.9216, allocations: 36 kB / 1.418 GB, free: 6.383 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.252e-05/0.9216, allocations: 37.94 kB / 1.418 GB, free: 6.344 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002251/0.9239, allocations: 1.07 MB / 1.419 GB, free: 5.277 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.006405/0.9303, allocations: 4.3 MB / 1.423 GB, free: 0.7148 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001782/0.9321, allocations: 0.7405 MB / 1.424 GB, free: 15.96 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008699/0.933, allocations: 407.9 kB / 1.424 GB, free: 15.56 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001697/0.9332, allocations: 101.1 kB / 1.424 GB, free: 15.45 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.811e-05/0.9332, allocations: 42.5 kB / 1.424 GB, free: 15.39 MB / 1.154 GB Notification: Performance of pre-optimization done (n=43): time 1.824e-06/0.9332, allocations: 0 / 1.424 GB, free: 15.39 MB / 1.154 GB Notification: Performance of matching and sorting (n=45): time 0.005219/0.9384, allocations: 2.174 MB / 1.426 GB, free: 13.17 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.758e-05/0.9385, allocations: 59.34 kB / 1.426 GB, free: 13.1 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009913/0.9395, allocations: 0.8608 MB / 1.427 GB, free: 12.23 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 6.223e-05/0.9396, allocations: 37.7 kB / 1.427 GB, free: 12.18 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003527/0.9399, allocations: 0.4914 MB / 1.428 GB, free: 11.69 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.000148/0.9401, allocations: 161.7 kB / 1.428 GB, free: 11.53 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001996/0.9403, allocations: 118.2 kB / 1.428 GB, free: 11.41 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.9404, allocations: 330 kB / 1.428 GB, free: 11.08 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000899/0.9413, allocations: 369 kB / 1.429 GB, free: 10.72 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009775/0.9423, allocations: 0.5052 MB / 1.429 GB, free: 10.16 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.005722/0.948, allocations: 2.263 MB / 1.431 GB, free: 7.832 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.9481, allocations: 0 / 1.431 GB, free: 7.832 MB / 1.154 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002152/0.9502, allocations: 0.9937 MB / 1.432 GB, free: 6.832 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.9502, allocations: 4 kB / 1.432 GB, free: 6.828 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.9502, allocations: 4 kB / 1.432 GB, free: 6.824 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.9503, allocations: 8 kB / 1.432 GB, free: 6.816 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009483/0.9512, allocations: 191.9 kB / 1.433 GB, free: 6.629 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.724e-05/0.9513, allocations: 15.86 kB / 1.433 GB, free: 6.613 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009122/0.9522, allocations: 63.94 kB / 1.433 GB, free: 6.551 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.127e-05/0.9522, allocations: 27.98 kB / 1.433 GB, free: 6.523 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.0004095/0.9527, allocations: 311.3 kB / 1.433 GB, free: 6.211 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001551/0.9528, allocations: 94.88 kB / 1.433 GB, free: 6.117 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002126/0.953, allocations: 108.8 kB / 1.433 GB, free: 6.008 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001812/0.9549, allocations: 1.026 MB / 1.434 GB, free: 4.895 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.9549, allocations: 3.938 kB / 1.434 GB, free: 4.891 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003578/0.9552, allocations: 248 kB / 1.434 GB, free: 4.629 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00015/0.9554, allocations: 16 kB / 1.434 GB, free: 4.613 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008747/0.9563, allocations: 68.73 kB / 1.435 GB, free: 4.547 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.146e-05/0.9564, allocations: 27.97 kB / 1.435 GB, free: 4.52 MB / 1.154 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002505/0.9589, allocations: 0.9333 MB / 1.435 GB, free: 3.578 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002794/0.9617, allocations: 1.452 MB / 1.437 GB, free: 2.105 MB / 1.154 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008137/0.9625, allocations: 371.8 kB / 1.437 GB, free: 1.742 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0006904/0.9632, allocations: 0.6044 MB / 1.438 GB, free: 1.145 MB / 1.154 GB Notification: Performance of Backend: time 4.61e-07/0.9632, allocations: 0 / 1.438 GB, free: 1.145 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.002271/0.9655, allocations: 0.8793 MB / 1.439 GB, free: 276 kB / 1.154 GB Notification: Performance of SimCode: time 0.003836/0.9693, allocations: 2.57 MB / 1.441 GB, free: 13.65 MB / 1.17 GB Notification: Performance of Templates: time 0.03538/1.005, allocations: 24.56 MB / 1.465 GB, free: 5.387 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