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 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.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.001441/0.001441, allocations: 100.1 kB / 16.35 MB, free: 5.875 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.001496/0.001496, allocations: 199.2 kB / 17.3 MB, free: 5.516 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.434/1.434, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.455/2.455, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 68.41 kB / 0.8773 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2844/0.2857, allocations: 153 MB / 1.027 GB, free: 2.055 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate): time 0.7132/0.9989, allocations: 221.1 MB / 1.243 GB, free: 248 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00923/1.008, allocations: 5.725 MB / 1.248 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001266/1.009, allocations: 43.75 kB / 1.248 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001471/1.011, allocations: 0.5786 MB / 1.249 GB, free: 9.879 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.003784/1.015, allocations: 1.629 MB / 1.25 GB, free: 8.242 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002977/1.018, allocations: 1.214 MB / 1.252 GB, free: 7.039 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.003033/1.021, allocations: 2.574 MB / 1.254 GB, free: 4.457 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001096/1.022, allocations: 0.8881 MB / 1.255 GB, free: 3.559 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001674/1.024, allocations: 1.062 MB / 1.256 GB, free: 2.492 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001729/1.025, allocations: 0.8432 MB / 1.257 GB, free: 1.664 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001446/1.026, allocations: 96 kB / 1.257 GB, free: 1.57 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002789/1.028, allocations: 1.536 MB / 1.258 GB, free: 32 kB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0004134/1.029, allocations: 410.9 kB / 1.259 GB, free: 15.63 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0006777/1.029, allocations: 0.5872 MB / 1.259 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002672/1.032, allocations: 2.014 MB / 1.261 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/1.032, allocations: 4 kB / 1.261 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.432e-06/1.032, allocations: 0 / 1.261 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.755e-05/1.032, allocations: 0 / 1.261 GB, free: 13.02 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.002141/1.034, allocations: 1.422 MB / 1.263 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/1.034, allocations: 8.031 kB / 1.263 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00257/1.037, allocations: 418.2 kB / 1.263 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001498/1.038, allocations: 0.8077 MB / 1.264 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.877e-05/1.039, allocations: 58 kB / 1.264 GB, free: 10.22 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001279/1.039, allocations: 75.98 kB / 1.264 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001762/1.04, allocations: 0.9866 MB / 1.265 GB, free: 9.137 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.129e-05/1.04, allocations: 0 / 1.265 GB, free: 9.137 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.233e-05/1.041, allocations: 32 kB / 1.265 GB, free: 9.105 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.447e-05/1.041, allocations: 37.98 kB / 1.265 GB, free: 9.07 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00184/1.042, allocations: 0.8743 MB / 1.266 GB, free: 8.191 MB / 0.9669 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.005813/1.048, allocations: 3.474 MB / 1.269 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001493/1.05, allocations: 0.6016 MB / 1.27 GB, free: 3.926 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007215/1.051, allocations: 342.7 kB / 1.27 GB, free: 3.59 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000197/1.051, allocations: 97.09 kB / 1.27 GB, free: 3.477 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/1.051, allocations: 50.44 kB / 1.27 GB, free: 3.418 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=39): time 2.455e-06/1.051, allocations: 0 / 1.27 GB, free: 3.418 MB / 0.9669 GB Notification: Performance of matching and sorting (n=41): time 0.004652/1.055, allocations: 1.885 MB / 1.272 GB, free: 1.477 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/1.056, allocations: 55.41 kB / 1.272 GB, free: 1.41 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009308/1.056, allocations: 0.7783 MB / 1.273 GB, free: 0.625 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 6.405e-05/1.057, allocations: 37.7 kB / 1.273 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.000329/1.057, allocations: 455.5 kB / 1.274 GB, free: 132 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001441/1.057, allocations: 138.1 kB / 1.274 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001948/1.057, allocations: 118.1 kB / 1.274 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001091/1.057, allocations: 326 kB / 1.274 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007257/1.058, allocations: 308.9 kB / 1.274 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008093/1.059, allocations: 451.5 kB / 1.275 GB, free: 14.75 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.00496/1.064, allocations: 1.931 MB / 1.277 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/1.064, allocations: 4 kB / 1.277 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001796/1.066, allocations: 0.8309 MB / 1.278 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/1.066, allocations: 10.19 kB / 1.278 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/1.066, allocations: 7.938 kB / 1.278 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/1.066, allocations: 7.938 kB / 1.278 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007917/1.067, allocations: 167.9 kB / 1.278 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/1.067, allocations: 7.938 kB / 1.278 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008044/1.067, allocations: 59.94 kB / 1.278 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.968e-05/1.067, allocations: 23.98 kB / 1.278 GB, free: 11.64 MB / 0.9825 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.0003976/1.068, allocations: 285.5 kB / 1.278 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001434/1.068, allocations: 86.97 kB / 1.278 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001878/1.068, allocations: 96.08 kB / 1.278 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/1.068, allocations: 8 kB / 1.278 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/1.068, allocations: 3.938 kB / 1.278 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001462/1.07, allocations: 0.6912 MB / 1.279 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003743/1.073, allocations: 1.911 MB / 1.281 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/1.073, allocations: 4 kB / 1.281 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007191/1.074, allocations: 140.2 kB / 1.281 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.935e-06/1.074, allocations: 4 kB / 1.281 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.388e-05/1.074, allocations: 16 kB / 1.281 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.416e-06/1.074, allocations: 11.92 kB / 1.281 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/1.074, allocations: 4 kB / 1.281 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002312/1.077, allocations: 1.221 MB / 1.282 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004341/1.077, allocations: 232.1 kB / 1.282 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/1.077, allocations: 12.06 kB / 1.282 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007649/1.078, allocations: 61.91 kB / 1.282 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.632e-05/1.078, allocations: 39.84 kB / 1.282 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.045e-05/1.078, allocations: 27.97 kB / 1.283 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000656/1.079, allocations: 0.542 MB / 1.283 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/1.079, allocations: 0 / 1.283 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0007974/1.08, allocations: 244 kB / 1.283 GB, free: 5.816 MB / 0.9825 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.0004891/1.08, allocations: 217.7 kB / 1.283 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001604/1.082, allocations: 0.694 MB / 1.284 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/1.082, allocations: 0 / 1.284 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0008199/1.083, allocations: 329 kB / 1.284 GB, free: 4.582 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002067/1.085, allocations: 0.5192 MB / 1.285 GB, free: 4.074 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004206/1.089, allocations: 1.877 MB / 1.287 GB, free: 2.125 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006456/1.089, allocations: 1.048 MB / 1.288 GB, free: 1.051 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0006913/1.09, allocations: 215 kB / 1.288 GB, free: 0.8359 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002189/1.09, allocations: 71.36 kB / 1.288 GB, free: 0.7656 MB / 0.9825 GB Notification: Performance of SimCode: time 7.72e-07/1.09, allocations: 4 kB / 1.288 GB, free: 0.7617 MB / 0.9825 GB Notification: Performance of Templates: time 0.02797/1.118, allocations: 18.59 MB / 1.306 GB, free: 14.44 MB / 1.014 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=480 -s gbode -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) Reference file matches