Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009991/0.0009991, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001287/0.001287, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.348/1.348, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.71/2.71, allocations: 462.6 MB / 0.736 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003272/0.0003274, allocations: 9.375 kB / 0.9021 GB, free: 36.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/0.2652, allocations: 159.6 MB / 1.058 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.1702/0.4354, allocations: 173.4 MB / 1.227 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.008063/0.4435, allocations: 5.409 MB / 1.233 GB, free: 2.027 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007961/0.4443, allocations: 35.75 kB / 1.233 GB, free: 1.992 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001067/0.4454, allocations: 401.5 kB / 1.233 GB, free: 1.598 MB / 0.9825 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.002783/0.4482, allocations: 1.225 MB / 1.234 GB, free: 376 kB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002353/0.4506, allocations: 0.8969 MB / 1.235 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003052/0.4536, allocations: 2.986 MB / 1.238 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008953/0.4545, allocations: 0.6501 MB / 1.239 GB, free: 11.83 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001404/0.456, allocations: 0.8674 MB / 1.24 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001007/0.457, allocations: 0.7627 MB / 1.24 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000109/0.4571, allocations: 40 kB / 1.24 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001924/0.459, allocations: 0.9198 MB / 1.241 GB, free: 9.234 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003491/0.4594, allocations: 335 kB / 1.242 GB, free: 8.906 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002613/0.4597, allocations: 249.1 kB / 1.242 GB, free: 8.656 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001468/0.4611, allocations: 1.395 MB / 1.243 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.4612, allocations: 0 / 1.243 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.373e-06/0.4612, allocations: 0 / 1.243 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.441e-05/0.4612, allocations: 0 / 1.243 GB, free: 7.258 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.001952/0.4631, allocations: 1.252 MB / 1.244 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.4632, allocations: 8.031 kB / 1.244 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002514/0.4657, allocations: 434.3 kB / 1.245 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001226/0.4669, allocations: 0.7381 MB / 1.246 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000312/0.4673, allocations: 129.9 kB / 1.246 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/0.4674, allocations: 72 kB / 1.246 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001783/0.4692, allocations: 1.008 MB / 1.247 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.312e-05/0.4692, allocations: 3.938 kB / 1.247 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.015e-05/0.4693, allocations: 36 kB / 1.247 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.629e-05/0.4693, allocations: 29.98 kB / 1.247 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001877/0.4712, allocations: 0.9056 MB / 1.248 GB, free: 2.543 MB / 0.9981 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.5659/1.037, allocations: 3.518 MB / 1.251 GB, free: 16.63 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001699/1.039, allocations: 0.6506 MB / 1.252 GB, free: 16.61 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008077/1.04, allocations: 358.5 kB / 1.252 GB, free: 16.6 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001769/1.04, allocations: 98.16 kB / 1.252 GB, free: 16.51 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/1.04, allocations: 44.25 kB / 1.252 GB, free: 16.47 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=39): time 2.795e-06/1.04, allocations: 0 / 1.252 GB, free: 16.47 MB / 0.9981 GB Notification: Performance of matching and sorting (n=41): time 0.007623/1.048, allocations: 2.528 MB / 1.255 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.741e-05/1.048, allocations: 60.19 kB / 1.255 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009336/1.049, allocations: 0.7912 MB / 1.255 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.811e-05/1.049, allocations: 34.77 kB / 1.256 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002608/1.049, allocations: 451.8 kB / 1.256 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001291/1.049, allocations: 141.4 kB / 1.256 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.489e-05/1.049, allocations: 7.625 kB / 1.256 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.368e-05/1.049, allocations: 329.7 kB / 1.256 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007125/1.05, allocations: 321.3 kB / 1.257 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007399/1.051, allocations: 435.3 kB / 1.257 GB, free: 15.06 MB / 0.9981 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.003567/1.054, allocations: 1.322 MB / 1.258 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/1.054, allocations: 7 kB / 1.258 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002986/1.057, allocations: 1.084 MB / 1.259 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/1.057, allocations: 6.438 kB / 1.259 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/1.057, allocations: 2.938 kB / 1.259 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005707/1.058, allocations: 187.8 kB / 1.26 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007052/1.059, allocations: 167.1 kB / 1.26 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003381/1.062, allocations: 2.112 MB / 1.262 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009598/1.063, allocations: 90.17 kB / 1.262 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-05/1.063, allocations: 24.52 kB / 1.262 GB, free: 13.48 MB / 0.9981 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (59): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0004231/1.063, allocations: 272.9 kB / 1.262 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001537/1.064, allocations: 83.56 kB / 1.262 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001961/1.064, allocations: 91.28 kB / 1.262 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/1.064, allocations: 9.953 kB / 1.262 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/1.064, allocations: 0.6562 kB / 1.262 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002656/1.066, allocations: 0.9502 MB / 1.263 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005547/1.072, allocations: 2.173 MB / 1.265 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-05/1.072, allocations: 3.828 kB / 1.265 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006886/1.073, allocations: 145.3 kB / 1.266 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005715/1.073, allocations: 193.1 kB / 1.266 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.694e-05/1.073, allocations: 16.12 kB / 1.266 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003232/1.077, allocations: 2.06 MB / 1.268 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/1.077, allocations: 14.83 kB / 1.268 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003824/1.081, allocations: 1.487 MB / 1.269 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004991/1.081, allocations: 238.3 kB / 1.27 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001649/1.081, allocations: 14.94 kB / 1.27 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009611/1.082, allocations: 92.36 kB / 1.27 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/1.082, allocations: 42.33 kB / 1.27 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.311e-05/1.082, allocations: 27.38 kB / 1.27 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008486/1.083, allocations: 0.5455 MB / 1.27 GB, free: 10.74 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.1e-07/1.083, allocations: 0 / 1.27 GB, free: 10.74 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001212/1.084, allocations: 279.2 kB / 1.271 GB, free: 10.74 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U) * 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 (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005387/1.085, allocations: 205.4 kB / 1.271 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002338/1.087, allocations: 0.8422 MB / 1.272 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.684e-06/1.087, allocations: 1.594 kB / 1.272 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009767/1.088, allocations: 476.4 kB / 1.272 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002632/1.091, allocations: 0.5175 MB / 1.272 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004436/1.095, allocations: 2.255 MB / 1.275 GB, free: 9.301 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006535/1.096, allocations: 1.048 MB / 1.276 GB, free: 8.586 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009745/1.097, allocations: 204 kB / 1.276 GB, free: 8.535 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002319/1.097, allocations: 63.77 kB / 1.276 GB, free: 8.531 MB / 0.9981 GB Notification: Performance of SimCode: time 4.1e-07/1.097, allocations: 0 / 1.276 GB, free: 8.531 MB / 0.9981 GB Notification: Performance of Templates: time 0.03323/1.131, allocations: 19.07 MB / 1.295 GB, free: 7.363 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches