Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.006835/0.006835, allocations: 96.02 kB / 15.73 MB, free: 6.039 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.001339/0.001339, allocations: 202.3 kB / 16.68 MB, free: 5.969 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.834/2.834, allocations: 469.8 MB / 0.7425 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 71.88 kB / 1.065 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3201/0.3213, allocations: 159.1 MB / 1.221 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.9545/1.276, allocations: 191 MB / 1.407 GB, free: 15.77 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01298/1.289, allocations: 5.719 MB / 1.413 GB, free: 11.12 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002108/1.291, allocations: 41.88 kB / 1.413 GB, free: 11.1 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.002298/1.293, allocations: 0.6015 MB / 1.413 GB, free: 10.61 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.005667/1.299, allocations: 1.669 MB / 1.415 GB, free: 9.32 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.004622/1.304, allocations: 1.229 MB / 1.416 GB, free: 8.406 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.005683/1.309, allocations: 2.559 MB / 1.419 GB, free: 6.945 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002298/1.312, allocations: 0.8635 MB / 1.42 GB, free: 6.395 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003577/1.315, allocations: 1.083 MB / 1.421 GB, free: 5.746 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002387/1.317, allocations: 0.8542 MB / 1.421 GB, free: 5.242 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.000369/1.318, allocations: 108.3 kB / 1.422 GB, free: 5.242 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003908/1.322, allocations: 1.561 MB / 1.423 GB, free: 4.398 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0007531/1.323, allocations: 0.5129 MB / 1.424 GB, free: 4.051 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001546/1.324, allocations: 0.6338 MB / 1.424 GB, free: 3.645 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.005254/1.329, allocations: 2.185 MB / 1.426 GB, free: 2.242 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/1.329, allocations: 4 kB / 1.426 GB, free: 2.238 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.803e-06/1.329, allocations: 0 / 1.426 GB, free: 2.238 MB / 1.107 GB Notification: Performance of Transformations before backend: time 6.987e-05/1.329, allocations: 0 / 1.426 GB, free: 2.238 MB / 1.107 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.003635/1.333, allocations: 1.555 MB / 1.428 GB, free: 1.039 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.697e-05/1.333, allocations: 8.031 kB / 1.428 GB, free: 1.031 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003253/1.336, allocations: 482.7 kB / 1.428 GB, free: 0.5586 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001768/1.338, allocations: 0.8631 MB / 1.429 GB, free: 15.65 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.065e-05/1.338, allocations: 70 kB / 1.429 GB, free: 15.59 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001494/1.338, allocations: 84 kB / 1.429 GB, free: 15.5 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002335/1.341, allocations: 1.182 MB / 1.43 GB, free: 14.3 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.631e-05/1.341, allocations: 0 / 1.43 GB, free: 14.3 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.921e-05/1.341, allocations: 37 kB / 1.431 GB, free: 14.27 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.8e-05/1.341, allocations: 34 kB / 1.431 GB, free: 14.23 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002277/1.343, allocations: 1.066 MB / 1.432 GB, free: 13.17 MB / 1.123 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.006937/1.35, allocations: 4.325 MB / 1.436 GB, free: 8.582 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001846/1.352, allocations: 0.7248 MB / 1.437 GB, free: 7.848 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008761/1.353, allocations: 392.4 kB / 1.437 GB, free: 7.461 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002003/1.353, allocations: 101.1 kB / 1.437 GB, free: 7.344 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.768e-05/1.353, allocations: 42.56 kB / 1.437 GB, free: 7.293 MB / 1.123 GB Notification: Performance of pre-optimization done (n=43): time 2.885e-06/1.353, allocations: 0 / 1.437 GB, free: 7.293 MB / 1.123 GB Notification: Performance of matching and sorting (n=45): time 0.006098/1.359, allocations: 2.189 MB / 1.439 GB, free: 5.055 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.552e-05/1.359, allocations: 59.34 kB / 1.439 GB, free: 4.984 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001155/1.36, allocations: 0.8647 MB / 1.44 GB, free: 4.109 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 6.89e-05/1.36, allocations: 41.64 kB / 1.44 GB, free: 4.062 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003897/1.361, allocations: 0.4885 MB / 1.441 GB, free: 3.566 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001535/1.361, allocations: 170.6 kB / 1.441 GB, free: 3.398 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002363/1.361, allocations: 122.2 kB / 1.441 GB, free: 3.273 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001384/1.361, allocations: 334 kB / 1.441 GB, free: 2.941 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000919/1.362, allocations: 369 kB / 1.442 GB, free: 2.578 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001036/1.363, allocations: 0.4975 MB / 1.442 GB, free: 2.031 MB / 1.123 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.006019/1.369, allocations: 2.262 MB / 1.444 GB, free: 15.71 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/1.369, allocations: 7.938 kB / 1.444 GB, free: 15.7 MB / 1.139 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002333/1.372, allocations: 0.9942 MB / 1.445 GB, free: 14.7 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/1.372, allocations: 8 kB / 1.445 GB, free: 14.69 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.487e-05/1.372, allocations: 4 kB / 1.445 GB, free: 14.68 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.855e-05/1.372, allocations: 4 kB / 1.445 GB, free: 14.68 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009411/1.373, allocations: 187.9 kB / 1.445 GB, free: 14.5 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.896e-05/1.373, allocations: 15.92 kB / 1.445 GB, free: 14.48 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/1.374, allocations: 63.89 kB / 1.445 GB, free: 14.42 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.308e-05/1.374, allocations: 27.98 kB / 1.446 GB, free: 14.39 MB / 1.139 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.0006141/1.374, allocations: 317.5 kB / 1.446 GB, free: 14.07 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000246/1.375, allocations: 103.4 kB / 1.446 GB, free: 13.97 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002691/1.375, allocations: 104.8 kB / 1.446 GB, free: 13.86 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-06/1.375, allocations: 4 kB / 1.446 GB, free: 13.86 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.329e-05/1.375, allocations: 7.875 kB / 1.446 GB, free: 13.85 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001935/1.377, allocations: 1.019 MB / 1.447 GB, free: 12.75 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004956/1.382, allocations: 2.148 MB / 1.449 GB, free: 10.5 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.653e-06/1.382, allocations: 4.406 kB / 1.449 GB, free: 10.5 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008648/1.383, allocations: 159.8 kB / 1.449 GB, free: 10.34 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.285e-05/1.383, allocations: 8 kB / 1.449 GB, free: 10.33 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.126e-05/1.383, allocations: 19.98 kB / 1.449 GB, free: 10.31 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.767e-06/1.383, allocations: 8 kB / 1.449 GB, free: 10.3 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.734e-06/1.383, allocations: 13.44 kB / 1.449 GB, free: 10.29 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003076/1.386, allocations: 1.411 MB / 1.451 GB, free: 8.824 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005445/1.386, allocations: 260.4 kB / 1.451 GB, free: 8.551 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002095/1.387, allocations: 16 kB / 1.451 GB, free: 8.535 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009912/1.388, allocations: 65.45 kB / 1.451 GB, free: 8.473 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.976e-05/1.388, allocations: 43.84 kB / 1.451 GB, free: 8.43 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-05/1.388, allocations: 31.97 kB / 1.451 GB, free: 8.398 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0008814/1.389, allocations: 0.6005 MB / 1.452 GB, free: 7.801 MB / 1.139 GB Notification: Performance of sort global known variables: time 1e-07/1.389, allocations: 4 kB / 1.452 GB, free: 7.797 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001007/1.39, allocations: 263.9 kB / 1.452 GB, free: 7.539 MB / 1.139 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.0005792/1.39, allocations: 218.4 kB / 1.452 GB, free: 7.328 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002082/1.392, allocations: 0.7838 MB / 1.453 GB, free: 6.543 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/1.392, allocations: 0.75 kB / 1.453 GB, free: 6.543 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0009058/1.393, allocations: 388.3 kB / 1.453 GB, free: 6.164 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002486/1.396, allocations: 0.5766 MB / 1.454 GB, free: 5.602 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004978/1.401, allocations: 2.208 MB / 1.456 GB, free: 3.316 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008344/1.402, allocations: 1.106 MB / 1.457 GB, free: 2.184 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0009931/1.403, allocations: 255.8 kB / 1.457 GB, free: 1.93 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003127/1.403, allocations: 83.41 kB / 1.457 GB, free: 1.848 MB / 1.139 GB Notification: Performance of SimCode: time 9.92e-07/1.403, allocations: 0 / 1.457 GB, free: 1.848 MB / 1.139 GB Notification: Performance of Templates: time 0.03767/1.441, allocations: 21.18 MB / 1.478 GB, free: 12.98 MB / 1.17 GB make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.makefile (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches