Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.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_10_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_10_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.001075/0.001075, allocations: 102.4 kB / 16.35 MB, free: 5.824 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.001042/0.001042, allocations: 196.7 kB / 17.3 MB, free: 5.48 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.299/1.299, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.39/2.39, allocations: 437.1 MB / 0.7112 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00243/0.00243, allocations: 63.03 kB / 0.8707 GB, free: 1.43 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.296/0.2984, allocations: 151.6 MB / 1.019 GB, free: 9.836 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate): time 0.7253/1.024, allocations: 221.1 MB / 1.235 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.009194/1.033, allocations: 5.716 MB / 1.24 GB, free: 5.918 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001514/1.035, allocations: 39.75 kB / 1.24 GB, free: 5.879 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001553/1.036, allocations: 0.5825 MB / 1.241 GB, free: 5.293 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.004284/1.041, allocations: 1.626 MB / 1.242 GB, free: 3.66 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003139/1.044, allocations: 1.219 MB / 1.244 GB, free: 2.453 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.003432/1.047, allocations: 2.573 MB / 1.246 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001265/1.048, allocations: 0.8883 MB / 1.247 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002013/1.05, allocations: 1.058 MB / 1.248 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001747/1.052, allocations: 0.8403 MB / 1.249 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001451/1.052, allocations: 96 kB / 1.249 GB, free: 13 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002883/1.055, allocations: 1.543 MB / 1.251 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0004069/1.056, allocations: 406.9 kB / 1.251 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0006253/1.056, allocations: 0.5833 MB / 1.251 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002642/1.059, allocations: 2.022 MB / 1.253 GB, free: 8.438 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/1.059, allocations: 0 / 1.253 GB, free: 8.438 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.884e-06/1.059, allocations: 0 / 1.253 GB, free: 8.438 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.437e-05/1.059, allocations: 0 / 1.253 GB, free: 8.438 MB / 0.9512 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.002258/1.061, allocations: 1.415 MB / 1.255 GB, free: 6.973 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/1.061, allocations: 12.92 kB / 1.255 GB, free: 6.961 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002664/1.064, allocations: 419 kB / 1.255 GB, free: 6.551 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001536/1.066, allocations: 0.8115 MB / 1.256 GB, free: 5.691 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.257e-05/1.066, allocations: 58 kB / 1.256 GB, free: 5.637 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001336/1.066, allocations: 76 kB / 1.256 GB, free: 5.562 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001805/1.068, allocations: 0.9905 MB / 1.257 GB, free: 4.551 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.191e-05/1.068, allocations: 0 / 1.257 GB, free: 4.551 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.347e-05/1.068, allocations: 32 kB / 1.257 GB, free: 4.52 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.723e-05/1.068, allocations: 26 kB / 1.257 GB, free: 4.496 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001856/1.07, allocations: 0.8821 MB / 1.258 GB, free: 3.613 MB / 0.9512 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.005884/1.075, allocations: 3.474 MB / 1.261 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001502/1.077, allocations: 0.5995 MB / 1.262 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007375/1.078, allocations: 345.5 kB / 1.262 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001875/1.078, allocations: 101.1 kB / 1.262 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.651e-05/1.078, allocations: 46.5 kB / 1.262 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=39): time 1.923e-06/1.078, allocations: 0 / 1.262 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of matching and sorting (n=41): time 0.004655/1.083, allocations: 1.896 MB / 1.264 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.62e-05/1.083, allocations: 55.41 kB / 1.264 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009028/1.084, allocations: 0.7822 MB / 1.265 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.346e-05/1.084, allocations: 37.7 kB / 1.265 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002926/1.084, allocations: 447.5 kB / 1.266 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001205/1.084, allocations: 145.9 kB / 1.266 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001954/1.084, allocations: 118 kB / 1.266 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.747e-05/1.084, allocations: 322 kB / 1.266 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007312/1.085, allocations: 312.9 kB / 1.266 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008165/1.086, allocations: 439.5 kB / 1.267 GB, free: 10.17 MB / 0.9669 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.005006/1.091, allocations: 1.935 MB / 1.269 GB, free: 8.18 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/1.091, allocations: 0 / 1.269 GB, free: 8.18 MB / 0.9669 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001887/1.093, allocations: 0.8426 MB / 1.27 GB, free: 7.328 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/1.093, allocations: 8 kB / 1.27 GB, free: 7.32 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-06/1.093, allocations: 0 / 1.27 GB, free: 7.32 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/1.093, allocations: 8 kB / 1.27 GB, free: 7.312 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008193/1.094, allocations: 163.8 kB / 1.27 GB, free: 7.152 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.343e-05/1.094, allocations: 11.94 kB / 1.27 GB, free: 7.141 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008721/1.095, allocations: 59.81 kB / 1.27 GB, free: 7.086 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.954e-05/1.095, allocations: 24.84 kB / 1.27 GB, free: 7.062 MB / 0.9669 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.0004291/1.095, allocations: 285.5 kB / 1.27 GB, free: 6.773 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001414/1.095, allocations: 86.97 kB / 1.27 GB, free: 6.688 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001784/1.096, allocations: 92.08 kB / 1.27 GB, free: 6.598 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/1.096, allocations: 8 kB / 1.27 GB, free: 6.59 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.495e-06/1.096, allocations: 0 / 1.27 GB, free: 6.59 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001452/1.097, allocations: 0.6871 MB / 1.271 GB, free: 5.871 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003813/1.101, allocations: 1.918 MB / 1.273 GB, free: 3.855 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/1.101, allocations: 4 kB / 1.273 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00074/1.102, allocations: 144.2 kB / 1.273 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.047e-06/1.102, allocations: 8 kB / 1.273 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.174e-05/1.102, allocations: 11.98 kB / 1.273 GB, free: 3.691 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.61e-05/1.102, allocations: 8 kB / 1.273 GB, free: 3.684 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/1.102, allocations: 3.938 kB / 1.273 GB, free: 3.68 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002395/1.104, allocations: 1.232 MB / 1.274 GB, free: 2.387 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004328/1.105, allocations: 228.1 kB / 1.274 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001151/1.105, allocations: 20.06 kB / 1.274 GB, free: 2.125 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000787/1.105, allocations: 58.34 kB / 1.275 GB, free: 2.07 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.389e-05/1.106, allocations: 47.81 kB / 1.275 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.112e-05/1.106, allocations: 27.98 kB / 1.275 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0006608/1.106, allocations: 0.5419 MB / 1.275 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/1.106, allocations: 0 / 1.275 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0007706/1.107, allocations: 244 kB / 1.275 GB, free: 1.219 MB / 0.9669 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.0004548/1.108, allocations: 207.7 kB / 1.276 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001651/1.109, allocations: 0.6856 MB / 1.276 GB, free: 336 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/1.109, allocations: 4 kB / 1.276 GB, free: 332 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0007531/1.11, allocations: 325 kB / 1.277 GB, free: 8 kB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002098/1.112, allocations: 0.5286 MB / 1.277 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003949/1.116, allocations: 1.872 MB / 1.279 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005853/1.117, allocations: 1.044 MB / 1.28 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.000692/1.117, allocations: 219 kB / 1.28 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002307/1.118, allocations: 71.42 kB / 1.28 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of SimCode: time 5.41e-07/1.118, allocations: 7.938 kB / 1.28 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of Templates: time 0.02821/1.146, allocations: 18.57 MB / 1.298 GB, free: 9.898 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches