Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001533/0.001533, allocations: 106.3 kB / 15.98 MB, free: 6.348 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.001454/0.001454, allocations: 199 kB / 16.91 MB, free: 6.188 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.378/1.378, allocations: 222.9 MB / 240.6 MB, free: 13.7 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.265/2.265, allocations: 390.2 MB / 0.665 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 67.97 kB / 0.8127 GB, free: 32.5 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.2906, allocations: 140.4 MB / 0.9498 GB, free: 9.168 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.7444/1.035, allocations: 188 MB / 1.133 GB, free: 5.664 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.009277/1.044, allocations: 5.664 MB / 1.139 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002057/1.046, allocations: 35.91 kB / 1.139 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001677/1.048, allocations: 0.5094 MB / 1.139 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.004654/1.053, allocations: 1.511 MB / 1.141 GB, free: 5.391 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003419/1.056, allocations: 1.108 MB / 1.142 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.004012/1.06, allocations: 2.556 MB / 1.144 GB, free: 4.895 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001605/1.062, allocations: 1 MB / 1.145 GB, free: 4.738 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002343/1.064, allocations: 1.045 MB / 1.146 GB, free: 4.617 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002117/1.066, allocations: 0.9096 MB / 1.147 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002308/1.067, allocations: 110.1 kB / 1.147 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003576/1.07, allocations: 1.617 MB / 1.149 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0005877/1.071, allocations: 0.5057 MB / 1.15 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0008986/1.072, allocations: 0.6438 MB / 1.15 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002527/1.074, allocations: 1.641 MB / 1.152 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/1.074, allocations: 0 / 1.152 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.533e-06/1.074, allocations: 4 kB / 1.152 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.1e-05/1.074, allocations: 0 / 1.152 GB, free: 3.102 MB / 0.8575 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.003146/1.078, allocations: 1.522 MB / 1.153 GB, free: 18.12 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/1.078, allocations: 9.344 kB / 1.153 GB, free: 18.12 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003166/1.081, allocations: 473.6 kB / 1.154 GB, free: 18.03 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001684/1.082, allocations: 0.8137 MB / 1.155 GB, free: 17.54 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003467/1.083, allocations: 124.1 kB / 1.155 GB, free: 17.5 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00015/1.083, allocations: 89.47 kB / 1.155 GB, free: 17.47 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002378/1.085, allocations: 1.179 MB / 1.156 GB, free: 17.02 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.521e-05/1.085, allocations: 5.062 kB / 1.156 GB, free: 17.02 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/1.086, allocations: 38.94 kB / 1.156 GB, free: 16.99 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.058e-05/1.086, allocations: 36.61 kB / 1.156 GB, free: 16.99 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002343/1.088, allocations: 1.073 MB / 1.157 GB, free: 16.66 MB / 0.8731 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.007902/1.096, allocations: 4.36 MB / 1.161 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002034/1.098, allocations: 0.7592 MB / 1.162 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00104/1.099, allocations: 406.9 kB / 1.162 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002228/1.099, allocations: 110 kB / 1.162 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.402e-05/1.099, allocations: 42.78 kB / 1.163 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=43): time 2.795e-06/1.099, allocations: 3.938 kB / 1.163 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of matching and sorting (n=45): time 0.006464/1.106, allocations: 2.204 MB / 1.165 GB, free: 12.47 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.939e-05/1.106, allocations: 61.62 kB / 1.165 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001129/1.107, allocations: 0.8579 MB / 1.166 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001587/1.107, allocations: 39.52 kB / 1.166 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003632/1.108, allocations: 492.6 kB / 1.166 GB, free: 11.65 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000198/1.108, allocations: 163.6 kB / 1.166 GB, free: 11.52 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002322/1.108, allocations: 127.2 kB / 1.166 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001337/1.108, allocations: 328.8 kB / 1.167 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009392/1.109, allocations: 375.7 kB / 1.167 GB, free: 11.04 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001047/1.11, allocations: 0.5041 MB / 1.168 GB, free: 10.78 MB / 0.8731 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.006213/1.116, allocations: 2.29 MB / 1.17 GB, free: 9.953 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.694e-06/1.116, allocations: 0 / 1.17 GB, free: 9.953 MB / 0.8731 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002433/1.119, allocations: 0.9963 MB / 1.171 GB, free: 9.598 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/1.119, allocations: 16.19 kB / 1.171 GB, free: 9.59 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/1.119, allocations: 5.375 kB / 1.171 GB, free: 9.59 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.263e-05/1.119, allocations: 7.328 kB / 1.171 GB, free: 9.59 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009365/1.12, allocations: 193.4 kB / 1.171 GB, free: 9.57 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.008e-05/1.12, allocations: 11.56 kB / 1.171 GB, free: 9.566 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001383/1.121, allocations: 115.4 kB / 1.171 GB, free: 9.531 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.003e-05/1.121, allocations: 25.64 kB / 1.171 GB, free: 9.527 MB / 0.8731 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.0006256/1.122, allocations: 311.9 kB / 1.171 GB, free: 9.324 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002893/1.122, allocations: 90.53 kB / 1.171 GB, free: 9.281 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003096/1.123, allocations: 108.1 kB / 1.172 GB, free: 9.215 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/1.123, allocations: 8.906 kB / 1.172 GB, free: 9.211 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.265e-05/1.123, allocations: 0 / 1.172 GB, free: 9.211 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0021/1.125, allocations: 1.033 MB / 1.173 GB, free: 8.582 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005511/1.13, allocations: 2.155 MB / 1.175 GB, free: 7.617 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.727e-06/1.13, allocations: 3.594 kB / 1.175 GB, free: 7.617 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008439/1.131, allocations: 161.9 kB / 1.175 GB, free: 7.609 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.316e-05/1.131, allocations: 8.25 kB / 1.175 GB, free: 7.605 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.684e-05/1.131, allocations: 19.23 kB / 1.175 GB, free: 7.598 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.087e-05/1.131, allocations: 7.344 kB / 1.175 GB, free: 7.598 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.054e-06/1.131, allocations: 11.16 kB / 1.175 GB, free: 7.59 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003218/1.134, allocations: 1.426 MB / 1.176 GB, free: 6.844 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006432/1.135, allocations: 259.8 kB / 1.177 GB, free: 6.633 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000287/1.135, allocations: 16.41 kB / 1.177 GB, free: 6.625 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001202/1.137, allocations: 100.3 kB / 1.177 GB, free: 6.578 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.661e-05/1.137, allocations: 44.12 kB / 1.177 GB, free: 6.551 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001056/1.137, allocations: 29.66 kB / 1.177 GB, free: 6.539 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001082/1.138, allocations: 0.598 MB / 1.177 GB, free: 6.211 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.6e-07/1.138, allocations: 0 / 1.177 GB, free: 6.211 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001518/1.139, allocations: 272.2 kB / 1.178 GB, free: 6.184 MB / 0.8731 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.0007624/1.14, allocations: 213.8 kB / 1.178 GB, free: 6.051 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002447/1.143, allocations: 0.8827 MB / 1.179 GB, free: 5.664 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 8.225e-06/1.143, allocations: 2.562 kB / 1.179 GB, free: 5.664 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0009879/1.144, allocations: 393.9 kB / 1.179 GB, free: 5.488 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003079/1.147, allocations: 0.5765 MB / 1.18 GB, free: 5.184 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005899/1.153, allocations: 2.628 MB / 1.182 GB, free: 3.414 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009726/1.154, allocations: 1.113 MB / 1.183 GB, free: 2.516 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003702/1.154, allocations: 77.64 kB / 1.183 GB, free: 2.504 MB / 0.8731 GB Notification: Performance of SimCode: time 8.72e-07/1.154, allocations: 3.938 kB / 1.183 GB, free: 2.5 MB / 0.8731 GB Notification: Performance of Templates: time 0.03019/1.184, allocations: 16.87 MB / 1.2 GB, free: 9.832 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches