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: 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_10_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_10_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.001137/0.001137, allocations: 105.9 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.001172/0.001171, 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.352/1.352, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.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.424/2.424, allocations: 437 MB / 0.7112 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 63.91 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8661/0.8677, allocations: 151.6 MB / 1.167 GB, free: 3.883 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.2137/1.081, allocations: 190.5 MB / 1.353 GB, free: 4.684 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01084/1.092, allocations: 5.723 MB / 1.359 GB, free: 14.95 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001791/1.094, allocations: 39.75 kB / 1.359 GB, free: 14.91 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.002056/1.096, allocations: 0.5942 MB / 1.36 GB, free: 14.32 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.005244/1.102, allocations: 1.668 MB / 1.361 GB, free: 12.64 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.00394/1.106, allocations: 1.222 MB / 1.362 GB, free: 11.43 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.004419/1.11, allocations: 2.555 MB / 1.365 GB, free: 8.863 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002001/1.112, allocations: 1.041 MB / 1.366 GB, free: 7.805 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00283/1.115, allocations: 1.082 MB / 1.367 GB, free: 6.719 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002603/1.118, allocations: 0.852 MB / 1.368 GB, free: 5.871 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0004317/1.118, allocations: 108 kB / 1.368 GB, free: 5.766 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003651/1.122, allocations: 1.563 MB / 1.369 GB, free: 4.199 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0008627/1.123, allocations: 0.4948 MB / 1.37 GB, free: 3.703 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001561/1.124, allocations: 0.6455 MB / 1.371 GB, free: 3.055 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.004406/1.129, allocations: 2.174 MB / 1.373 GB, free: 0.875 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/1.129, allocations: 0 / 1.373 GB, free: 0.875 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.793e-06/1.129, allocations: 3.938 kB / 1.373 GB, free: 0.8711 MB / 1.092 GB Notification: Performance of Transformations before backend: time 3.672e-05/1.129, allocations: 4 kB / 1.373 GB, free: 0.8672 MB / 1.092 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.00291/1.132, allocations: 1.515 MB / 1.374 GB, free: 15.3 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/1.132, allocations: 8.922 kB / 1.374 GB, free: 15.29 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003257/1.135, allocations: 478 kB / 1.375 GB, free: 14.82 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001928/1.137, allocations: 0.8475 MB / 1.375 GB, free: 13.93 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.455e-05/1.137, allocations: 62 kB / 1.375 GB, free: 13.87 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000184/1.137, allocations: 88 kB / 1.376 GB, free: 13.79 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002346/1.139, allocations: 1.179 MB / 1.377 GB, free: 12.58 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.87e-05/1.14, allocations: 8 kB / 1.377 GB, free: 12.57 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000103/1.14, allocations: 39.94 kB / 1.377 GB, free: 12.54 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.475e-05/1.14, allocations: 34 kB / 1.377 GB, free: 12.5 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002363/1.142, allocations: 1.066 MB / 1.378 GB, free: 11.44 MB / 1.107 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.008189/1.15, allocations: 4.311 MB / 1.382 GB, free: 6.867 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001996/1.152, allocations: 0.7415 MB / 1.383 GB, free: 6.117 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009357/1.153, allocations: 411.2 kB / 1.383 GB, free: 5.715 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002143/1.153, allocations: 97.81 kB / 1.383 GB, free: 5.602 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.881e-05/1.154, allocations: 38.56 kB / 1.383 GB, free: 5.555 MB / 1.107 GB Notification: Performance of pre-optimization done (n=43): time 4.909e-06/1.154, allocations: 7.938 kB / 1.383 GB, free: 5.547 MB / 1.107 GB Notification: Performance of matching and sorting (n=45): time 0.006469/1.16, allocations: 2.175 MB / 1.385 GB, free: 3.32 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.827e-05/1.16, allocations: 67.34 kB / 1.385 GB, free: 3.242 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001466/1.162, allocations: 0.8608 MB / 1.386 GB, free: 2.371 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 9.625e-05/1.162, allocations: 37.7 kB / 1.386 GB, free: 2.328 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004388/1.162, allocations: 499.2 kB / 1.387 GB, free: 1.832 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002041/1.162, allocations: 161.7 kB / 1.387 GB, free: 1.672 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002517/1.163, allocations: 118.2 kB / 1.387 GB, free: 1.551 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.000167/1.163, allocations: 334 kB / 1.387 GB, free: 1.219 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009411/1.164, allocations: 365 kB / 1.388 GB, free: 0.8633 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001035/1.165, allocations: 0.5013 MB / 1.388 GB, free: 316 kB / 1.107 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.006104/1.171, allocations: 2.262 MB / 1.39 GB, free: 13.98 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/1.171, allocations: 0 / 1.39 GB, free: 13.98 MB / 1.123 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002288/1.173, allocations: 0.9937 MB / 1.391 GB, free: 12.98 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/1.173, allocations: 8 kB / 1.391 GB, free: 12.97 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/1.173, allocations: 4 kB / 1.391 GB, free: 12.96 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.338e-05/1.173, allocations: 8 kB / 1.391 GB, free: 12.96 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009534/1.174, allocations: 187.8 kB / 1.392 GB, free: 12.77 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.579e-05/1.174, allocations: 15.92 kB / 1.392 GB, free: 12.76 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00108/1.175, allocations: 63.94 kB / 1.392 GB, free: 12.7 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-05/1.175, allocations: 27.98 kB / 1.392 GB, free: 12.67 MB / 1.123 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.0005171/1.176, allocations: 317.5 kB / 1.392 GB, free: 12.35 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002444/1.176, allocations: 94.88 kB / 1.392 GB, free: 12.25 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002498/1.177, allocations: 104.8 kB / 1.392 GB, free: 12.15 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.844e-06/1.177, allocations: 7.938 kB / 1.392 GB, free: 12.14 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/1.177, allocations: 0 / 1.392 GB, free: 12.14 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001922/1.178, allocations: 1.018 MB / 1.393 GB, free: 11.04 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005025/1.184, allocations: 2.138 MB / 1.395 GB, free: 8.801 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.744e-06/1.184, allocations: 7.938 kB / 1.395 GB, free: 8.793 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008704/1.184, allocations: 164.2 kB / 1.395 GB, free: 8.633 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.675e-05/1.184, allocations: 4 kB / 1.395 GB, free: 8.629 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.024e-05/1.184, allocations: 23.92 kB / 1.396 GB, free: 8.605 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.374e-06/1.185, allocations: 8 kB / 1.396 GB, free: 8.598 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.802e-05/1.185, allocations: 11.94 kB / 1.396 GB, free: 8.586 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00305/1.188, allocations: 1.415 MB / 1.397 GB, free: 7.117 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006682/1.188, allocations: 255.9 kB / 1.397 GB, free: 6.848 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002235/1.189, allocations: 12 kB / 1.397 GB, free: 6.836 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001055/1.19, allocations: 74.05 kB / 1.397 GB, free: 6.766 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/1.19, allocations: 39.84 kB / 1.397 GB, free: 6.727 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.82e-05/1.19, allocations: 31.97 kB / 1.397 GB, free: 6.695 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0009358/1.191, allocations: 0.6005 MB / 1.398 GB, free: 6.098 MB / 1.123 GB Notification: Performance of sort global known variables: time 2.6e-07/1.191, allocations: 0 / 1.398 GB, free: 6.098 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001089/1.192, allocations: 268 kB / 1.398 GB, free: 5.836 MB / 1.123 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.0005628/1.192, allocations: 217.6 kB / 1.398 GB, free: 5.625 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002106/1.195, allocations: 0.8071 MB / 1.399 GB, free: 4.82 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/1.195, allocations: 3.938 kB / 1.399 GB, free: 4.816 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0009597/1.196, allocations: 409.3 kB / 1.4 GB, free: 4.418 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002842/1.198, allocations: 0.5746 MB / 1.4 GB, free: 3.852 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00536/1.204, allocations: 2.239 MB / 1.402 GB, free: 1.531 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008575/1.205, allocations: 1.106 MB / 1.403 GB, free: 408 kB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003818/1.205, allocations: 79.42 kB / 1.403 GB, free: 328 kB / 1.123 GB Notification: Performance of SimCode: time 7.01e-07/1.205, allocations: 0 / 1.403 GB, free: 328 kB / 1.123 GB Notification: Performance of Templates: time 0.02544/1.23, allocations: 16.97 MB / 1.42 GB, free: 15.5 MB / 1.154 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.makefile (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 & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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