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.001496/0.001496, allocations: 104.4 kB / 16.35 MB, free: 6.336 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.001578/0.001578, allocations: 195.4 kB / 17.29 MB, free: 5.883 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.378/1.378, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.555/2.555, allocations: 442.6 MB / 0.7165 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001541/0.001541, allocations: 64.94 kB / 0.8773 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2873/0.2888, allocations: 153 MB / 1.027 GB, free: 2.102 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate): time 0.8556/1.144, allocations: 221.1 MB / 1.243 GB, free: 324 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01014/1.155, allocations: 5.737 MB / 1.248 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001734/1.156, allocations: 39.81 kB / 1.248 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001565/1.158, allocations: 0.5708 MB / 1.249 GB, free: 9.957 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.00439/1.162, allocations: 1.633 MB / 1.25 GB, free: 8.316 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003379/1.166, allocations: 1.215 MB / 1.252 GB, free: 7.109 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.00383/1.17, allocations: 2.572 MB / 1.254 GB, free: 4.531 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001411/1.171, allocations: 0.8946 MB / 1.255 GB, free: 3.629 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002378/1.173, allocations: 1.055 MB / 1.256 GB, free: 2.57 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002078/1.176, allocations: 0.8414 MB / 1.257 GB, free: 1.742 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001665/1.176, allocations: 96 kB / 1.257 GB, free: 1.648 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003188/1.179, allocations: 1.543 MB / 1.258 GB, free: 104 kB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0004901/1.179, allocations: 410.9 kB / 1.259 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0007184/1.18, allocations: 0.5872 MB / 1.259 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00318/1.183, allocations: 2.01 MB / 1.261 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/1.183, allocations: 4 kB / 1.261 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.814e-06/1.183, allocations: 0 / 1.261 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.985e-05/1.183, allocations: 0 / 1.261 GB, free: 13.09 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.002416/1.186, allocations: 1.419 MB / 1.263 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/1.186, allocations: 12.03 kB / 1.263 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002708/1.189, allocations: 418.2 kB / 1.263 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001587/1.19, allocations: 0.8038 MB / 1.264 GB, free: 10.35 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.243e-05/1.19, allocations: 61.98 kB / 1.264 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001382/1.19, allocations: 79.94 kB / 1.264 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001785/1.192, allocations: 0.9867 MB / 1.265 GB, free: 9.207 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.255e-05/1.192, allocations: 4 kB / 1.265 GB, free: 9.203 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.061e-05/1.192, allocations: 32 kB / 1.265 GB, free: 9.172 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.85e-05/1.192, allocations: 26 kB / 1.265 GB, free: 9.148 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001852/1.194, allocations: 0.8821 MB / 1.266 GB, free: 8.262 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.005671/1.2, allocations: 3.478 MB / 1.269 GB, free: 4.602 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001454/1.201, allocations: 0.5962 MB / 1.27 GB, free: 4 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007219/1.202, allocations: 346.7 kB / 1.27 GB, free: 3.66 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001938/1.202, allocations: 97.09 kB / 1.27 GB, free: 3.547 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.627e-05/1.202, allocations: 46.44 kB / 1.27 GB, free: 3.492 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=39): time 1.913e-06/1.202, allocations: 4 kB / 1.27 GB, free: 3.488 MB / 0.9669 GB Notification: Performance of matching and sorting (n=41): time 0.004953/1.207, allocations: 1.885 MB / 1.272 GB, free: 1.547 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.234e-05/1.207, allocations: 55.41 kB / 1.272 GB, free: 1.48 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009754/1.208, allocations: 0.7822 MB / 1.273 GB, free: 0.6914 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 6.197e-05/1.208, allocations: 33.7 kB / 1.273 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.000309/1.209, allocations: 455.5 kB / 1.274 GB, free: 204 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001336/1.209, allocations: 145.9 kB / 1.274 GB, free: 56 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002061/1.209, allocations: 110.2 kB / 1.274 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001241/1.209, allocations: 330 kB / 1.274 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008449/1.21, allocations: 304.9 kB / 1.274 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008576/1.211, allocations: 447.5 kB / 1.275 GB, free: 14.83 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.00515/1.216, allocations: 1.931 MB / 1.277 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/1.216, allocations: 0 / 1.277 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001859/1.218, allocations: 0.8387 MB / 1.278 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/1.218, allocations: 4 kB / 1.278 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/1.218, allocations: 7.938 kB / 1.278 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/1.218, allocations: 8 kB / 1.278 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008186/1.219, allocations: 159.9 kB / 1.278 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.579e-05/1.219, allocations: 11.94 kB / 1.278 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008838/1.22, allocations: 59.94 kB / 1.278 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.023e-05/1.22, allocations: 23.98 kB / 1.278 GB, free: 11.72 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.0004898/1.22, allocations: 283.2 kB / 1.278 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001489/1.221, allocations: 94.95 kB / 1.278 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001849/1.221, allocations: 96.08 kB / 1.278 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/1.221, allocations: 8 kB / 1.278 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/1.221, allocations: 0 / 1.278 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001452/1.222, allocations: 0.6911 MB / 1.279 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00379/1.226, allocations: 1.907 MB / 1.281 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/1.226, allocations: 4 kB / 1.281 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007318/1.227, allocations: 144.2 kB / 1.281 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.798e-06/1.227, allocations: 4 kB / 1.281 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.931e-05/1.227, allocations: 15.98 kB / 1.281 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.003e-05/1.227, allocations: 11.92 kB / 1.281 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/1.227, allocations: 4 kB / 1.281 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0024/1.229, allocations: 1.228 MB / 1.282 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004778/1.23, allocations: 236 kB / 1.282 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001166/1.23, allocations: 8 kB / 1.282 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007971/1.231, allocations: 61.97 kB / 1.282 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.773e-05/1.231, allocations: 39.83 kB / 1.282 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.656e-05/1.231, allocations: 27.98 kB / 1.283 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000678/1.232, allocations: 0.5419 MB / 1.283 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.21e-07/1.232, allocations: 0 / 1.283 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0008163/1.232, allocations: 244 kB / 1.283 GB, free: 5.891 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.0005188/1.233, allocations: 208.4 kB / 1.283 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00168/1.235, allocations: 0.6901 MB / 1.284 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/1.235, allocations: 4 kB / 1.284 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0007294/1.235, allocations: 337 kB / 1.284 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002089/1.238, allocations: 0.5173 MB / 1.285 GB, free: 4.148 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004135/1.242, allocations: 1.873 MB / 1.287 GB, free: 2.203 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006223/1.242, allocations: 1.044 MB / 1.288 GB, free: 1.133 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0007959/1.243, allocations: 231 kB / 1.288 GB, free: 0.9023 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002311/1.243, allocations: 67.42 kB / 1.288 GB, free: 0.8359 MB / 0.9825 GB Notification: Performance of SimCode: time 2.054e-06/1.243, allocations: 3.938 kB / 1.288 GB, free: 0.832 MB / 0.9825 GB Notification: Performance of Templates: time 0.02963/1.273, allocations: 18.58 MB / 1.306 GB, free: 14.53 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 cvode -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