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.00123/0.00123, allocations: 104.6 kB / 16.41 MB, free: 6.449 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.00136/0.00136, allocations: 189.4 kB / 17.34 MB, free: 5.738 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.344/1.344, allocations: 222.9 MB / 241 MB, free: 15.16 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.201/2.201, allocations: 390.3 MB / 0.6655 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 63.91 kB / 0.9516 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9427/0.9442, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.2463/1.191, allocations: 190.5 MB / 1.275 GB, free: 15.17 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01136/1.202, allocations: 5.705 MB / 1.28 GB, free: 9.449 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00223/1.204, allocations: 47.75 kB / 1.28 GB, free: 9.402 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002258/1.207, allocations: 0.5826 MB / 1.281 GB, free: 8.816 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.005648/1.212, allocations: 1.68 MB / 1.282 GB, free: 7.129 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003932/1.216, allocations: 1.208 MB / 1.284 GB, free: 5.93 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004235/1.221, allocations: 2.581 MB / 1.286 GB, free: 3.344 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001876/1.222, allocations: 1.034 MB / 1.287 GB, free: 2.293 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002613/1.225, allocations: 1.078 MB / 1.288 GB, free: 1.211 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002262/1.227, allocations: 0.8592 MB / 1.289 GB, free: 360 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0004009/1.228, allocations: 108 kB / 1.289 GB, free: 252 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003415/1.231, allocations: 1.559 MB / 1.291 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0008224/1.232, allocations: 0.4949 MB / 1.291 GB, free: 14.19 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.001353/1.233, allocations: 0.6377 MB / 1.292 GB, free: 13.55 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.004078/1.237, allocations: 2.185 MB / 1.294 GB, free: 11.36 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/1.237, allocations: 0 / 1.294 GB, free: 11.36 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.713e-06/1.238, allocations: 0 / 1.294 GB, free: 11.36 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.341e-05/1.238, allocations: 0 / 1.294 GB, free: 11.36 MB / 1.029 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.003711/1.241, allocations: 1.527 MB / 1.295 GB, free: 9.777 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/1.241, allocations: 8.031 kB / 1.295 GB, free: 9.77 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003178/1.245, allocations: 470.1 kB / 1.296 GB, free: 9.309 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001846/1.246, allocations: 0.8513 MB / 1.297 GB, free: 8.414 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.903e-05/1.247, allocations: 66 kB / 1.297 GB, free: 8.348 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002106/1.247, allocations: 87.98 kB / 1.297 GB, free: 8.262 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002644/1.249, allocations: 1.175 MB / 1.298 GB, free: 7.066 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.956e-05/1.249, allocations: 0 / 1.298 GB, free: 7.066 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001273/1.25, allocations: 36 kB / 1.298 GB, free: 7.031 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.714e-05/1.25, allocations: 41.98 kB / 1.298 GB, free: 6.988 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002522/1.252, allocations: 1.066 MB / 1.299 GB, free: 5.922 MB / 1.029 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.008188/1.26, allocations: 4.307 MB / 1.303 GB, free: 1.348 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001992/1.262, allocations: 0.7427 MB / 1.304 GB, free: 0.5977 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009367/1.263, allocations: 405.7 kB / 1.304 GB, free: 204 kB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002129/1.264, allocations: 105.1 kB / 1.305 GB, free: 80 kB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.103e-05/1.264, allocations: 42.56 kB / 1.305 GB, free: 28 kB / 1.029 GB Notification: Performance of pre-optimization done (n=43): time 3.236e-06/1.264, allocations: 0 / 1.305 GB, free: 28 kB / 1.029 GB Notification: Performance of matching and sorting (n=45): time 0.00629/1.27, allocations: 2.186 MB / 1.307 GB, free: 13.79 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.503e-05/1.27, allocations: 59.34 kB / 1.307 GB, free: 13.72 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001299/1.271, allocations: 0.8608 MB / 1.308 GB, free: 12.85 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 9.232e-05/1.271, allocations: 41.7 kB / 1.308 GB, free: 12.8 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004131/1.272, allocations: 491.3 kB / 1.308 GB, free: 12.32 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001826/1.272, allocations: 165.6 kB / 1.308 GB, free: 12.16 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002389/1.272, allocations: 122.2 kB / 1.308 GB, free: 12.03 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001428/1.272, allocations: 326 kB / 1.309 GB, free: 11.71 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009449/1.273, allocations: 373 kB / 1.309 GB, free: 11.34 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001046/1.274, allocations: 0.4936 MB / 1.31 GB, free: 10.8 MB / 1.045 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.006126/1.281, allocations: 2.266 MB / 1.312 GB, free: 8.461 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-05/1.281, allocations: 4 kB / 1.312 GB, free: 8.457 MB / 1.045 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00243/1.283, allocations: 0.9897 MB / 1.313 GB, free: 7.457 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/1.283, allocations: 8 kB / 1.313 GB, free: 7.449 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/1.283, allocations: 0 / 1.313 GB, free: 7.449 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.551e-05/1.283, allocations: 8 kB / 1.313 GB, free: 7.441 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009416/1.284, allocations: 195.8 kB / 1.313 GB, free: 7.25 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.296e-05/1.284, allocations: 11.94 kB / 1.313 GB, free: 7.238 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/1.285, allocations: 67.92 kB / 1.313 GB, free: 7.172 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.881e-05/1.285, allocations: 27.94 kB / 1.313 GB, free: 7.145 MB / 1.045 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.0006285/1.286, allocations: 314 kB / 1.313 GB, free: 6.828 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002823/1.286, allocations: 90.97 kB / 1.313 GB, free: 6.738 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003045/1.287, allocations: 108.8 kB / 1.314 GB, free: 6.629 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.348e-06/1.287, allocations: 15.92 kB / 1.314 GB, free: 6.613 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/1.287, allocations: 0 / 1.314 GB, free: 6.613 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002002/1.289, allocations: 1.014 MB / 1.315 GB, free: 5.512 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00488/1.294, allocations: 2.148 MB / 1.317 GB, free: 3.266 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/1.294, allocations: 4 kB / 1.317 GB, free: 3.262 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008451/1.294, allocations: 164.2 kB / 1.317 GB, free: 3.102 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.335e-05/1.294, allocations: 4 kB / 1.317 GB, free: 3.098 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.428e-05/1.295, allocations: 12 kB / 1.317 GB, free: 3.086 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.747e-05/1.295, allocations: 15.92 kB / 1.317 GB, free: 3.07 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/1.295, allocations: 3.938 kB / 1.317 GB, free: 3.066 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003076/1.298, allocations: 1.415 MB / 1.318 GB, free: 1.598 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005485/1.298, allocations: 255.9 kB / 1.318 GB, free: 1.328 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000221/1.298, allocations: 15.98 kB / 1.318 GB, free: 1.312 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009809/1.299, allocations: 67.94 kB / 1.319 GB, free: 1.246 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/1.3, allocations: 39.83 kB / 1.319 GB, free: 1.207 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.375e-05/1.3, allocations: 27.98 kB / 1.319 GB, free: 1.18 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0009445/1.301, allocations: 0.6005 MB / 1.319 GB, free: 0.5859 MB / 1.045 GB Notification: Performance of sort global known variables: time 3.457e-06/1.301, allocations: 0 / 1.319 GB, free: 0.5859 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001028/1.302, allocations: 279.9 kB / 1.319 GB, free: 320 kB / 1.045 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.0006042/1.302, allocations: 211.5 kB / 1.32 GB, free: 104 kB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002195/1.304, allocations: 0.8071 MB / 1.32 GB, free: 15.29 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 8.346e-06/1.304, allocations: 4 kB / 1.32 GB, free: 15.29 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0009733/1.305, allocations: 389 kB / 1.321 GB, free: 14.91 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003002/1.308, allocations: 0.593 MB / 1.321 GB, free: 14.33 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005639/1.314, allocations: 2.25 MB / 1.324 GB, free: 12 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008747/1.315, allocations: 1.103 MB / 1.325 GB, free: 10.87 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000412/1.315, allocations: 79.41 kB / 1.325 GB, free: 10.79 MB / 1.061 GB Notification: Performance of SimCode: time 1.002e-06/1.315, allocations: 0 / 1.325 GB, free: 10.79 MB / 1.061 GB Notification: Performance of Templates: time 0.02853/1.344, allocations: 16.98 MB / 1.341 GB, free: 9.977 MB / 1.076 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