Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senEnt1.h_out|senEnt2.h_out|senTem1.T|senTem2.T|senMas1.X|senMas2.X|cheTem.y|cheEnt.y|cheMas.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier") translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senEnt1.h_out|senEnt2.h_out|senTem1.T|senTem2.T|senMas1.X|senMas2.X|cheTem.y|cheEnt.y|cheMas.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.439/1.439, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00113/0.00113, allocations: 183.4 kB / 326.5 MB, free: 2.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.6/1.6, allocations: 205.4 MB / 0.5775 GB, free: 20.26 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001085/0.001085, allocations: 101.9 kB / 0.6822 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000327/0.0003272, allocations: 12.98 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2084/0.2087, allocations: 106.3 MB / 0.9001 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.92/5.129, allocations: 2.201 GB / 3.101 GB, free: 241.3 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002658/5.129, allocations: 100.4 kB / 3.101 GB, free: 241.3 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.995/9.124, allocations: 1.256 GB / 4.357 GB, free: 66.62 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.343e-06/9.124, allocations: 0 / 4.357 GB, free: 66.62 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0002513/9.124, allocations: 47.94 kB / 4.358 GB, free: 66.57 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.008299/9.133, allocations: 2.362 MB / 4.36 GB, free: 64.14 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/9.133, allocations: 12.03 kB / 4.36 GB, free: 64.13 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006/9.139, allocations: 0.4933 MB / 4.36 GB, free: 63.64 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00567/9.144, allocations: 1.759 MB / 4.362 GB, free: 61.83 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001303/9.145, allocations: 102.6 kB / 4.362 GB, free: 61.73 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004737/9.145, allocations: 135.9 kB / 4.362 GB, free: 61.59 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003996/9.149, allocations: 1.583 MB / 4.364 GB, free: 59.94 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.641e-05/9.149, allocations: 4 kB / 4.364 GB, free: 59.93 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002642/9.149, allocations: 52 kB / 4.364 GB, free: 59.88 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.348e-05/9.15, allocations: 54.5 kB / 4.364 GB, free: 59.83 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00292/9.152, allocations: 1.271 MB / 4.365 GB, free: 58.55 MB / 0.9011 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.009861/9.162, allocations: 7.207 MB / 4.372 GB, free: 50.81 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008389/9.163, allocations: 0.6656 MB / 4.373 GB, free: 50.13 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001858/9.163, allocations: 105.7 kB / 4.373 GB, free: 50.01 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/9.163, allocations: 43.12 kB / 4.373 GB, free: 49.96 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009912/9.164, allocations: 175.1 kB / 4.373 GB, free: 49.79 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=67): time 4.488e-06/9.164, allocations: 0 / 4.373 GB, free: 49.79 MB / 0.9011 GB Notification: Performance of matching and sorting (n=67): time 0.001679/9.166, allocations: 1.017 MB / 4.374 GB, free: 48.77 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.31e-05/9.166, allocations: 55.97 kB / 4.374 GB, free: 48.7 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001423/9.168, allocations: 1.166 MB / 4.375 GB, free: 47.53 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 8.931e-05/9.168, allocations: 45.7 kB / 4.375 GB, free: 47.48 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003996/9.168, allocations: 0.7696 MB / 4.376 GB, free: 46.7 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001587/9.168, allocations: 244.6 kB / 4.376 GB, free: 46.46 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.963e-05/9.168, allocations: 20 kB / 4.376 GB, free: 46.44 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 6.029e-05/9.168, allocations: 345.9 kB / 4.377 GB, free: 46.09 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004036/9.169, allocations: 305.8 kB / 4.377 GB, free: 45.8 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000563/9.169, allocations: 0.6126 MB / 4.378 GB, free: 45.05 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005497/9.17, allocations: 422 kB / 4.378 GB, free: 44.64 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/9.17, allocations: 0 / 4.378 GB, free: 44.64 MB / 0.9011 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.00141/9.171, allocations: 1.054 MB / 4.379 GB, free: 43.58 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004971/9.172, allocations: 2.677 MB / 4.382 GB, free: 40.75 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-05/9.172, allocations: 11.98 kB / 4.382 GB, free: 40.73 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.712e-05/9.172, allocations: 15.95 kB / 4.382 GB, free: 40.72 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008089/9.173, allocations: 191.7 kB / 4.382 GB, free: 40.53 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.045e-05/9.173, allocations: 19.88 kB / 4.382 GB, free: 40.51 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001597/9.174, allocations: 127.6 kB / 4.382 GB, free: 40.39 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.293e-05/9.174, allocations: 43.98 kB / 4.382 GB, free: 40.34 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 9.628e-06/9.174, allocations: 4 kB / 4.382 GB, free: 40.34 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001155/9.176, allocations: 0.8895 MB / 4.383 GB, free: 39.45 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/9.176, allocations: 8 kB / 4.383 GB, free: 39.44 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.758e-06/9.176, allocations: 12 kB / 4.383 GB, free: 39.43 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007429/9.176, allocations: 200.5 kB / 4.383 GB, free: 39.23 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.326e-05/9.176, allocations: 15.94 kB / 4.383 GB, free: 39.22 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00144/9.178, allocations: 115.7 kB / 4.383 GB, free: 39.11 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.049e-05/9.178, allocations: 43.97 kB / 4.383 GB, free: 39.06 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (111): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007462/9.179, allocations: 0.4968 MB / 4.384 GB, free: 38.55 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00025/9.179, allocations: 158.2 kB / 4.384 GB, free: 38.4 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001261/9.18, allocations: 0.8279 MB / 4.385 GB, free: 37.56 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/9.18, allocations: 8 kB / 4.385 GB, free: 37.55 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/9.18, allocations: 0 / 4.385 GB, free: 37.55 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007516/9.181, allocations: 0.794 MB / 4.386 GB, free: 36.71 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003514/9.185, allocations: 2.349 MB / 4.388 GB, free: 34.27 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/9.185, allocations: 0 / 4.388 GB, free: 34.27 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007923/9.185, allocations: 163.9 kB / 4.388 GB, free: 34.11 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.219e-05/9.185, allocations: 7.938 kB / 4.388 GB, free: 34.11 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.849e-05/9.185, allocations: 23.98 kB / 4.388 GB, free: 34.08 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-06/9.185, allocations: 4 kB / 4.388 GB, free: 34.08 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/9.185, allocations: 12.14 kB / 4.388 GB, free: 34.07 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001535/9.187, allocations: 1.406 MB / 4.389 GB, free: 32.58 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007726/9.188, allocations: 339.2 kB / 4.39 GB, free: 32.23 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002707/9.188, allocations: 19.94 kB / 4.39 GB, free: 32.21 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00128/9.189, allocations: 103.8 kB / 4.39 GB, free: 32.11 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.553e-05/9.189, allocations: 52.45 kB / 4.39 GB, free: 32.06 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.418e-05/9.19, allocations: 35.97 kB / 4.39 GB, free: 32.02 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001126/9.191, allocations: 0.8923 MB / 4.391 GB, free: 31.13 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.2e-07/9.191, allocations: 0 / 4.391 GB, free: 31.13 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.003306/9.194, allocations: 1.181 MB / 4.392 GB, free: 29.95 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (humBac.vol.dynBal.U,humBac.vol.dynBal.m,humBac.vol.dynBal.mXi[1],humFor.vol.dynBal.U,humFor.vol.dynBal.m,humFor.vol.dynBal.mXi[1]) * 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 (72): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004118/9.198, allocations: 3.19 MB / 4.395 GB, free: 26.56 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001789/9.2, allocations: 1.225 MB / 4.396 GB, free: 25.34 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/9.2, allocations: 0.75 kB / 4.396 GB, free: 25.34 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0004042/9.2, allocations: 354.9 kB / 4.397 GB, free: 24.99 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003744/9.204, allocations: 0.9062 MB / 4.397 GB, free: 24.09 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0043/9.208, allocations: 3.506 MB / 4.401 GB, free: 20.54 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009086/9.209, allocations: 1.388 MB / 4.402 GB, free: 19.12 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.001733/9.211, allocations: 424.4 kB / 4.403 GB, free: 18.7 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003325/9.211, allocations: 115.4 kB / 4.403 GB, free: 18.59 MB / 0.9011 GB Notification: Performance of SimCode: time 4.6e-07/9.211, allocations: 0 / 4.403 GB, free: 18.59 MB / 0.9011 GB Notification: Performance of Templates: time 0.5484/9.76, allocations: 62.85 MB / 4.464 GB, free: 119.6 MB / 0.9167 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches