Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_10_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_10_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.001769/0.001769, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002025/0.002025, allocations: 192.7 kB / 16.25 MB, free: 6.594 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.626/1.626, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.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.828/2.828, allocations: 437 MB / 0.7101 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002974/0.002974, allocations: 59.91 kB / 0.8687 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.748/0.751, allocations: 151.6 MB / 1.017 GB, free: 2.676 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.2363/0.9873, allocations: 188.1 MB / 1.201 GB, free: 5.855 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01103/0.9984, allocations: 5.698 MB / 1.206 GB, free: 148 kB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001751/1, allocations: 35.75 kB / 1.206 GB, free: 112 kB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001924/1.002, allocations: 0.5053 MB / 1.207 GB, free: 15.6 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.006097/1.008, allocations: 1.529 MB / 1.208 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004302/1.013, allocations: 1.103 MB / 1.209 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.004605/1.017, allocations: 2.566 MB / 1.212 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001556/1.019, allocations: 0.8589 MB / 1.213 GB, free: 9.531 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002463/1.021, allocations: 1.043 MB / 1.214 GB, free: 8.484 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002292/1.024, allocations: 0.8679 MB / 1.214 GB, free: 7.617 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001989/1.024, allocations: 96 kB / 1.214 GB, free: 7.523 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003272/1.027, allocations: 1.609 MB / 1.216 GB, free: 5.91 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004978/1.028, allocations: 410.9 kB / 1.216 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0008295/1.028, allocations: 0.5833 MB / 1.217 GB, free: 4.922 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003224/1.032, allocations: 2.096 MB / 1.219 GB, free: 2.82 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/1.032, allocations: 0 / 1.219 GB, free: 2.82 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.703e-06/1.032, allocations: 0 / 1.219 GB, free: 2.82 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.561e-05/1.032, allocations: 4 kB / 1.219 GB, free: 2.816 MB / 0.9669 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.002598/1.034, allocations: 1.426 MB / 1.22 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/1.034, allocations: 15.92 kB / 1.22 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002783/1.037, allocations: 418.3 kB / 1.221 GB, free: 0.9102 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001458/1.039, allocations: 0.7648 MB / 1.222 GB, free: 108 kB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003741/1.039, allocations: 110 kB / 1.222 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001338/1.039, allocations: 72 kB / 1.222 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002074/1.041, allocations: 0.9982 MB / 1.223 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.452e-05/1.041, allocations: 0 / 1.223 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.499e-05/1.041, allocations: 32 kB / 1.223 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.421e-05/1.041, allocations: 29.98 kB / 1.223 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002087/1.044, allocations: 0.8861 MB / 1.224 GB, free: 13.96 MB / 0.9825 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.006632/1.05, allocations: 3.513 MB / 1.227 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00179/1.052, allocations: 0.6203 MB / 1.228 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008413/1.053, allocations: 340.5 kB / 1.228 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002142/1.053, allocations: 101.8 kB / 1.228 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.568e-05/1.053, allocations: 38.56 kB / 1.228 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=39): time 2.504e-06/1.053, allocations: 0 / 1.228 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of matching and sorting (n=41): time 0.008854/1.062, allocations: 2.414 MB / 1.231 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.657e-05/1.062, allocations: 59.41 kB / 1.231 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001185/1.063, allocations: 0.794 MB / 1.231 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.997e-05/1.063, allocations: 37.7 kB / 1.231 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004055/1.064, allocations: 447.6 kB / 1.232 GB, free: 5.289 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001666/1.064, allocations: 149.9 kB / 1.232 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002088/1.064, allocations: 106.1 kB / 1.232 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001541/1.064, allocations: 326 kB / 1.232 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008326/1.065, allocations: 308.9 kB / 1.233 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009349/1.066, allocations: 416 kB / 1.233 GB, free: 3.961 MB / 0.9825 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.005701/1.072, allocations: 1.906 MB / 1.235 GB, free: 2 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/1.072, allocations: 4 kB / 1.235 GB, free: 1.996 MB / 0.9825 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003427/1.075, allocations: 1.038 MB / 1.236 GB, free: 0.9453 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/1.075, allocations: 13.5 kB / 1.236 GB, free: 0.9336 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/1.075, allocations: 4 kB / 1.236 GB, free: 0.9297 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006233/1.076, allocations: 188.7 kB / 1.236 GB, free: 0.7422 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007211/1.077, allocations: 151.8 kB / 1.236 GB, free: 0.5938 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004495/1.081, allocations: 2.234 MB / 1.239 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001343/1.083, allocations: 80.08 kB / 1.239 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-05/1.083, allocations: 23.94 kB / 1.239 GB, free: 14.12 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 system: 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0006296/1.083, allocations: 287.3 kB / 1.239 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002042/1.083, allocations: 94.91 kB / 1.239 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002083/1.084, allocations: 96.22 kB / 1.239 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/1.084, allocations: 8 kB / 1.239 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/1.084, allocations: 0 / 1.239 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003024/1.087, allocations: 0.9064 MB / 1.24 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005613/1.092, allocations: 2.11 MB / 1.242 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/1.092, allocations: 8.344 kB / 1.242 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006441/1.093, allocations: 127.8 kB / 1.242 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005638/1.094, allocations: 188.6 kB / 1.242 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.802e-05/1.094, allocations: 15.98 kB / 1.242 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003848/1.098, allocations: 2.192 MB / 1.244 GB, free: 7.805 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/1.098, allocations: 4 kB / 1.244 GB, free: 7.801 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004155/1.102, allocations: 1.436 MB / 1.246 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005423/1.102, allocations: 232 kB / 1.246 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001976/1.102, allocations: 16 kB / 1.246 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001075/1.104, allocations: 93.56 kB / 1.246 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000148/1.104, allocations: 43.83 kB / 1.246 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.287e-05/1.104, allocations: 23.98 kB / 1.246 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008701/1.105, allocations: 0.5537 MB / 1.247 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.91e-07/1.105, allocations: 0 / 1.247 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001071/1.106, allocations: 280 kB / 1.247 GB, free: 5.066 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005908/1.106, allocations: 206 kB / 1.247 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002368/1.109, allocations: 0.8522 MB / 1.248 GB, free: 4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/1.109, allocations: 0 / 1.248 GB, free: 4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001101/1.11, allocations: 459.8 kB / 1.249 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002661/1.113, allocations: 0.553 MB / 1.249 GB, free: 3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005034/1.118, allocations: 2.248 MB / 1.251 GB, free: 0.6836 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.492/1.61, allocations: 1.038 MB / 1.252 GB, free: 232.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001161/1.611, allocations: 203.8 kB / 1.252 GB, free: 232.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002602/1.611, allocations: 66.62 kB / 1.253 GB, free: 232.5 MB / 0.9981 GB Notification: Performance of SimCode: time 1.112e-06/1.611, allocations: 0 / 1.253 GB, free: 232.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.04633/1.657, allocations: 20.49 MB / 1.273 GB, free: 227.1 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches