Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.Xi.1.|volSte.Xi.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.Xi.1.|volSte.Xi.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 102.2 kB / 16.27 MB, free: 6 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.001248/0.001248, allocations: 191 kB / 17.2 MB, free: 5.609 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.371/1.371, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.721/2.721, allocations: 482.4 MB / 0.7553 GB, free: 6.992 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 69.33 kB / 0.9245 GB, free: 28 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7462/0.7482, allocations: 162.2 MB / 1.083 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate): time 0.2674/1.016, allocations: 221.2 MB / 1.299 GB, free: 1.074 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01009/1.026, allocations: 5.739 MB / 1.305 GB, free: 11.32 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001505/1.027, allocations: 39.81 kB / 1.305 GB, free: 11.28 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001767/1.029, allocations: 0.5825 MB / 1.305 GB, free: 10.7 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.00445/1.034, allocations: 1.621 MB / 1.307 GB, free: 9.066 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.003403/1.037, allocations: 1.208 MB / 1.308 GB, free: 7.867 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.003696/1.041, allocations: 2.574 MB / 1.31 GB, free: 5.289 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001488/1.042, allocations: 0.891 MB / 1.311 GB, free: 4.387 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002576/1.045, allocations: 1.21 MB / 1.312 GB, free: 3.172 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002141/1.047, allocations: 0.8251 MB / 1.313 GB, free: 2.355 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.000228/1.047, allocations: 96 kB / 1.313 GB, free: 2.262 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003132/1.05, allocations: 1.536 MB / 1.315 GB, free: 0.7227 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0005767/1.051, allocations: 406.9 kB / 1.315 GB, free: 332 kB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000925/1.052, allocations: 0.5911 MB / 1.316 GB, free: 15.73 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.003248/1.055, allocations: 2.002 MB / 1.318 GB, free: 13.72 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/1.055, allocations: 0 / 1.318 GB, free: 13.72 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.884e-06/1.055, allocations: 0 / 1.318 GB, free: 13.72 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.984e-05/1.055, allocations: 0 / 1.318 GB, free: 13.72 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.002563/1.058, allocations: 1.426 MB / 1.319 GB, free: 12.25 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/1.058, allocations: 12.03 kB / 1.319 GB, free: 12.23 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002776/1.061, allocations: 422.2 kB / 1.32 GB, free: 11.82 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001531/1.062, allocations: 0.7648 MB / 1.32 GB, free: 11.01 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003864/1.063, allocations: 113.9 kB / 1.32 GB, free: 10.9 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001461/1.063, allocations: 76 kB / 1.321 GB, free: 10.83 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00207/1.065, allocations: 0.9983 MB / 1.321 GB, free: 9.809 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.087e-05/1.065, allocations: 0 / 1.321 GB, free: 9.809 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.534e-05/1.065, allocations: 36 kB / 1.322 GB, free: 9.773 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.239e-05/1.065, allocations: 33.94 kB / 1.322 GB, free: 9.742 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002161/1.067, allocations: 0.886 MB / 1.322 GB, free: 8.852 MB / 1.045 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.006745/1.074, allocations: 3.663 MB / 1.326 GB, free: 4.965 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001839/1.076, allocations: 0.6165 MB / 1.327 GB, free: 4.34 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008602/1.077, allocations: 351.3 kB / 1.327 GB, free: 3.996 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002101/1.077, allocations: 109 kB / 1.327 GB, free: 3.871 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.632e-05/1.077, allocations: 42.5 kB / 1.327 GB, free: 3.82 MB / 1.045 GB Notification: Performance of pre-optimization done (n=39): time 2.665e-06/1.077, allocations: 0 / 1.327 GB, free: 3.82 MB / 1.045 GB Notification: Performance of matching and sorting (n=41): time 0.005733/1.083, allocations: 1.911 MB / 1.329 GB, free: 1.852 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.402e-05/1.083, allocations: 59.41 kB / 1.329 GB, free: 1.781 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0011/1.084, allocations: 0.7744 MB / 1.33 GB, free: 1 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 7.098e-05/1.084, allocations: 41.69 kB / 1.33 GB, free: 0.9531 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000376/1.084, allocations: 451.5 kB / 1.33 GB, free: 0.5039 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001544/1.084, allocations: 145.9 kB / 1.33 GB, free: 368 kB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002089/1.085, allocations: 110.1 kB / 1.33 GB, free: 252 kB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001686/1.085, allocations: 337.9 kB / 1.331 GB, free: 15.91 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008828/1.086, allocations: 308.9 kB / 1.331 GB, free: 15.61 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001009/1.087, allocations: 447.5 kB / 1.332 GB, free: 15.12 MB / 1.061 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.00588/1.093, allocations: 1.966 MB / 1.333 GB, free: 13.1 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/1.093, allocations: 0 / 1.333 GB, free: 13.1 MB / 1.061 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002266/1.095, allocations: 0.8504 MB / 1.334 GB, free: 12.24 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/1.095, allocations: 7.938 kB / 1.334 GB, free: 12.23 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/1.095, allocations: 8 kB / 1.334 GB, free: 12.22 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.493e-05/1.095, allocations: 7.984 kB / 1.334 GB, free: 12.21 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009052/1.096, allocations: 167.8 kB / 1.334 GB, free: 12.05 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.746e-05/1.096, allocations: 11.94 kB / 1.334 GB, free: 12.04 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001018/1.097, allocations: 59.94 kB / 1.335 GB, free: 11.98 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.863e-05/1.097, allocations: 23.98 kB / 1.335 GB, free: 11.96 MB / 1.061 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: 14 * 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 (65): * Single equations (assignments): 65 * 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.0004776/1.098, allocations: 280.4 kB / 1.335 GB, free: 11.68 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001828/1.098, allocations: 86.97 kB / 1.335 GB, free: 11.59 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002179/1.098, allocations: 96.08 kB / 1.335 GB, free: 11.5 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/1.098, allocations: 4 kB / 1.335 GB, free: 11.49 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/1.098, allocations: 3.938 kB / 1.335 GB, free: 11.49 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00181/1.1, allocations: 0.7029 MB / 1.336 GB, free: 10.75 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004493/1.104, allocations: 1.93 MB / 1.338 GB, free: 8.727 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/1.104, allocations: 0 / 1.338 GB, free: 8.727 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008162/1.105, allocations: 148.2 kB / 1.338 GB, free: 8.582 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.647e-06/1.105, allocations: 4 kB / 1.338 GB, free: 8.578 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.346e-05/1.105, allocations: 23.98 kB / 1.338 GB, free: 8.555 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-05/1.105, allocations: 7.938 kB / 1.338 GB, free: 8.547 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/1.105, allocations: 4 kB / 1.338 GB, free: 8.543 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002986/1.108, allocations: 1.248 MB / 1.339 GB, free: 7.234 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004655/1.109, allocations: 240 kB / 1.339 GB, free: 6.98 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001243/1.109, allocations: 12 kB / 1.339 GB, free: 6.969 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008625/1.11, allocations: 60.88 kB / 1.339 GB, free: 6.91 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.41e-05/1.11, allocations: 39.83 kB / 1.339 GB, free: 6.871 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.508e-05/1.11, allocations: 23.98 kB / 1.339 GB, free: 6.848 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0007613/1.111, allocations: 0.5419 MB / 1.34 GB, free: 6.309 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.8e-07/1.111, allocations: 0 / 1.34 GB, free: 6.309 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0007982/1.112, allocations: 244 kB / 1.34 GB, free: 6.07 MB / 1.061 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 (41): * Single equations (assignments): 41 * 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.0004805/1.112, allocations: 209.3 kB / 1.34 GB, free: 5.867 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002062/1.114, allocations: 0.738 MB / 1.341 GB, free: 5.133 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/1.114, allocations: 4 kB / 1.341 GB, free: 5.129 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000929/1.115, allocations: 336.4 kB / 1.341 GB, free: 4.801 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002533/1.118, allocations: 0.5326 MB / 1.342 GB, free: 4.285 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004633/1.122, allocations: 1.952 MB / 1.344 GB, free: 2.254 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007498/1.123, allocations: 1.029 MB / 1.345 GB, free: 1.195 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003029/1.123, allocations: 75.42 kB / 1.345 GB, free: 1.125 MB / 1.061 GB Notification: Performance of SimCode: time 5.71e-07/1.123, allocations: 4 kB / 1.345 GB, free: 1.121 MB / 1.061 GB Notification: Performance of Templates: time 0.02355/1.147, allocations: 14.99 MB / 1.359 GB, free: 2.258 MB / 1.076 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,volDyn.ports[1].m_flow,gain.y,volDyn.Xi[1],volSte.Xi[1] Variables in the result:gain.y,time,volDyn.Xi[1],volDyn.ports[1].m_flow,volSte.Xi[1]