Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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_11_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_11_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.007911/0.007911, allocations: 96.73 kB / 15.73 MB, free: 6.051 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.001576/0.001576, allocations: 197.9 kB / 16.67 MB, free: 5.973 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.445/1.445, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.866/2.866, allocations: 469.8 MB / 0.7425 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 59.91 kB / 1.065 GB, free: 13 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3944/0.3959, allocations: 159.1 MB / 1.221 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate): time 0.9977/1.394, allocations: 221.7 MB / 1.437 GB, free: 6.977 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.0103/1.404, allocations: 5.739 MB / 1.443 GB, free: 1.754 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001858/1.406, allocations: 35.81 kB / 1.443 GB, free: 1.719 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.002204/1.408, allocations: 0.6136 MB / 1.443 GB, free: 1.102 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.005459/1.413, allocations: 1.684 MB / 1.445 GB, free: 15.41 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.00382/1.417, allocations: 1.232 MB / 1.446 GB, free: 14.19 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.004991/1.422, allocations: 2.571 MB / 1.449 GB, free: 11.62 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001546/1.424, allocations: 0.7661 MB / 1.449 GB, free: 10.84 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002413/1.426, allocations: 1.098 MB / 1.451 GB, free: 9.738 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002269/1.428, allocations: 0.8343 MB / 1.451 GB, free: 8.918 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0002087/1.429, allocations: 96 kB / 1.451 GB, free: 8.824 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003347/1.432, allocations: 1.551 MB / 1.453 GB, free: 7.27 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0005055/1.433, allocations: 410.8 kB / 1.453 GB, free: 6.867 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.000805/1.433, allocations: 0.5949 MB / 1.454 GB, free: 6.27 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.003291/1.437, allocations: 2.013 MB / 1.456 GB, free: 4.25 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 9.147e-06/1.437, allocations: 4 kB / 1.456 GB, free: 4.246 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.355e-06/1.437, allocations: 4 kB / 1.456 GB, free: 4.242 MB / 1.139 GB Notification: Performance of Transformations before backend: time 2.462e-05/1.437, allocations: 0 / 1.456 GB, free: 4.242 MB / 1.139 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.002627/1.439, allocations: 1.459 MB / 1.457 GB, free: 2.727 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/1.439, allocations: 8.031 kB / 1.457 GB, free: 2.719 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002739/1.442, allocations: 426.8 kB / 1.458 GB, free: 2.301 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001541/1.444, allocations: 0.8123 MB / 1.459 GB, free: 1.449 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.998e-05/1.444, allocations: 58 kB / 1.459 GB, free: 1.391 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001331/1.444, allocations: 76 kB / 1.459 GB, free: 1.316 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001829/1.446, allocations: 0.975 MB / 1.46 GB, free: 332 kB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.592e-05/1.446, allocations: 7.984 kB / 1.46 GB, free: 324 kB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.863e-05/1.446, allocations: 36 kB / 1.46 GB, free: 288 kB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.082e-05/1.446, allocations: 31.06 kB / 1.46 GB, free: 256 kB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001906/1.448, allocations: 0.8783 MB / 1.461 GB, free: 15.37 MB / 1.154 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.005802/1.453, allocations: 3.491 MB / 1.464 GB, free: 11.7 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00152/1.455, allocations: 0.5735 MB / 1.465 GB, free: 11.11 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007401/1.456, allocations: 333.5 kB / 1.465 GB, free: 10.79 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001839/1.456, allocations: 97.09 kB / 1.465 GB, free: 10.67 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/1.456, allocations: 42.5 kB / 1.465 GB, free: 10.62 MB / 1.154 GB Notification: Performance of pre-optimization done (n=39): time 2.535e-06/1.456, allocations: 0 / 1.465 GB, free: 10.62 MB / 1.154 GB Notification: Performance of matching and sorting (n=41): time 0.005132/1.461, allocations: 1.905 MB / 1.467 GB, free: 8.66 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.84e-05/1.461, allocations: 55.41 kB / 1.467 GB, free: 8.594 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001018/1.462, allocations: 0.7822 MB / 1.468 GB, free: 7.801 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 6.248e-05/1.462, allocations: 41.64 kB / 1.468 GB, free: 7.754 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003325/1.463, allocations: 464.3 kB / 1.468 GB, free: 7.297 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001593/1.463, allocations: 154.7 kB / 1.468 GB, free: 7.145 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002237/1.463, allocations: 114.1 kB / 1.468 GB, free: 7.023 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001017/1.463, allocations: 330 kB / 1.469 GB, free: 6.695 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007436/1.464, allocations: 304.9 kB / 1.469 GB, free: 6.398 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009099/1.465, allocations: 451.5 kB / 1.469 GB, free: 5.914 MB / 1.154 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.005295/1.47, allocations: 1.935 MB / 1.471 GB, free: 3.922 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/1.47, allocations: 0 / 1.471 GB, free: 3.922 MB / 1.154 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002022/1.472, allocations: 0.843 MB / 1.472 GB, free: 3.074 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/1.472, allocations: 4 kB / 1.472 GB, free: 3.07 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/1.472, allocations: 9.547 kB / 1.472 GB, free: 3.062 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/1.472, allocations: 8 kB / 1.472 GB, free: 3.055 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009616/1.473, allocations: 163.8 kB / 1.472 GB, free: 2.895 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.432e-05/1.473, allocations: 8 kB / 1.472 GB, free: 2.887 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001/1.474, allocations: 59.75 kB / 1.472 GB, free: 2.832 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.613e-05/1.474, allocations: 24 kB / 1.472 GB, free: 2.809 MB / 1.154 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.0004715/1.475, allocations: 283.8 kB / 1.473 GB, free: 2.523 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001932/1.475, allocations: 95.42 kB / 1.473 GB, free: 2.43 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001901/1.475, allocations: 96.08 kB / 1.473 GB, free: 2.328 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/1.475, allocations: 4 kB / 1.473 GB, free: 2.324 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.148e-06/1.475, allocations: 0 / 1.473 GB, free: 2.324 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001494/1.476, allocations: 0.6949 MB / 1.474 GB, free: 1.598 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004127/1.481, allocations: 1.911 MB / 1.475 GB, free: 15.59 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/1.481, allocations: 4 kB / 1.475 GB, free: 15.59 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007915/1.481, allocations: 140.1 kB / 1.476 GB, free: 15.45 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.368e-05/1.481, allocations: 4 kB / 1.476 GB, free: 15.45 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.382e-05/1.481, allocations: 19.94 kB / 1.476 GB, free: 15.43 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.126e-05/1.481, allocations: 7.984 kB / 1.476 GB, free: 15.42 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/1.481, allocations: 4 kB / 1.476 GB, free: 15.41 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002862/1.484, allocations: 1.233 MB / 1.477 GB, free: 14.12 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006366/1.485, allocations: 240.5 kB / 1.477 GB, free: 13.87 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002492/1.485, allocations: 8 kB / 1.477 GB, free: 13.86 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001052/1.486, allocations: 60 kB / 1.477 GB, free: 13.8 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/1.486, allocations: 35.84 kB / 1.477 GB, free: 13.77 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.992e-05/1.486, allocations: 39.91 kB / 1.477 GB, free: 13.73 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0009993/1.487, allocations: 0.5381 MB / 1.478 GB, free: 13.2 MB / 1.17 GB Notification: Performance of sort global known variables: time 1e-07/1.487, allocations: 0 / 1.478 GB, free: 13.2 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001206/1.489, allocations: 247.9 kB / 1.478 GB, free: 12.95 MB / 1.17 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.0006785/1.489, allocations: 223.7 kB / 1.478 GB, free: 12.74 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001908/1.491, allocations: 0.6628 MB / 1.479 GB, free: 12.07 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/1.491, allocations: 0 / 1.479 GB, free: 12.07 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0008071/1.492, allocations: 320.3 kB / 1.479 GB, free: 11.76 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002651/1.495, allocations: 0.5301 MB / 1.48 GB, free: 11.24 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005226/1.5, allocations: 1.901 MB / 1.481 GB, free: 9.266 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009939/1.501, allocations: 1.04 MB / 1.482 GB, free: 8.199 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0009467/1.502, allocations: 219 kB / 1.483 GB, free: 7.98 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003189/1.502, allocations: 75.41 kB / 1.483 GB, free: 7.906 MB / 1.17 GB Notification: Performance of SimCode: time 1.182e-06/1.502, allocations: 0 / 1.483 GB, free: 7.906 MB / 1.17 GB Notification: Performance of Templates: time 0.03825/1.54, allocations: 18.79 MB / 1.501 GB, free: 5.398 MB / 1.186 GB make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.makefile (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches