Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,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|cheTem1.y|cheEnt1.y|cheMas1.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,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|cheTem1.y|cheEnt1.y|cheMas1.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.827/2.827, allocations: 390.5 MB / 398 MB, free: 10.94 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001669/0.001669, allocations: 174.5 kB / 491.2 MB, free: 1.562 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.808/1.808, allocations: 221.5 MB / 0.7868 GB, free: 13.26 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 90 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.198e-05/2.218e-05, allocations: 5.562 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.3479, allocations: 143 MB / 1.212 GB, free: 39.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.166/6.514, allocations: 1.901 GB / 3.114 GB, free: 427.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000301/6.514, allocations: 92.23 kB / 3.114 GB, free: 427.1 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 11.04/17.55, allocations: 2.806 GB / 5.92 GB, free: 117.4 MB / 1.245 GB Notification: Performance of FrontEnd: time 2.094e-06/17.55, allocations: 0 / 5.92 GB, free: 117.4 MB / 1.245 GB Notification: Performance of Transformations before backend: time 0.0002894/17.56, allocations: 67.78 kB / 5.92 GB, free: 117.4 MB / 1.245 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 536 * Number of variables: 536 Notification: Performance of Generate backend data structure: time 0.01274/17.57, allocations: 3.496 MB / 5.924 GB, free: 116.2 MB / 1.245 GB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/17.57, allocations: 13.11 kB / 5.924 GB, free: 116.2 MB / 1.245 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01009/17.58, allocations: 1.194 MB / 5.925 GB, free: 116 MB / 1.245 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008623/17.59, allocations: 2.576 MB / 5.927 GB, free: 115.6 MB / 1.245 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001228/17.59, allocations: 349.9 kB / 5.928 GB, free: 115.6 MB / 1.245 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008928/17.59, allocations: 137.3 kB / 5.928 GB, free: 115.6 MB / 1.245 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004827/17.59, allocations: 2.436 MB / 5.93 GB, free: 115.6 MB / 1.245 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003953/17.6, allocations: 2.376 MB / 5.932 GB, free: 115.2 MB / 1.245 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.62e-05/17.6, allocations: 1.969 kB / 5.932 GB, free: 115.2 MB / 1.245 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002428/17.6, allocations: 10.66 kB / 5.932 GB, free: 115.2 MB / 1.245 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.004e-05/17.6, allocations: 86.25 kB / 5.932 GB, free: 115.2 MB / 1.245 GB Warning: The model contains alias variables with conflicting start and/or 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.02234/17.62, allocations: 13.58 MB / 5.946 GB, free: 107.9 MB / 1.245 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002272/17.62, allocations: 1.489 MB / 5.947 GB, free: 107.6 MB / 1.245 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007845/17.62, allocations: 0.607 MB / 5.948 GB, free: 107.6 MB / 1.245 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005323/17.62, allocations: 321.3 kB / 5.948 GB, free: 107.4 MB / 1.245 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.958e-05/17.62, allocations: 53.7 kB / 5.948 GB, free: 107.3 MB / 1.245 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001739/17.63, allocations: 164.8 kB / 5.948 GB, free: 107.3 MB / 1.245 GB Notification: Performance of pre-optimization done (n=110): time 4.819e-06/17.63, allocations: 0 / 5.948 GB, free: 107.3 MB / 1.245 GB Notification: Performance of matching and sorting (n=110): time 0.002793/17.63, allocations: 1.519 MB / 5.95 GB, free: 107.1 MB / 1.245 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/17.63, allocations: 65.97 kB / 5.95 GB, free: 107 MB / 1.245 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002144/17.63, allocations: 1.557 MB / 5.951 GB, free: 106.8 MB / 1.245 GB Notification: Performance of collectPreVariables (initialization): time 0.0001793/17.63, allocations: 35.58 kB / 5.951 GB, free: 106.8 MB / 1.245 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008538/17.63, allocations: 1.288 MB / 5.953 GB, free: 106.4 MB / 1.245 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002592/17.63, allocations: 372.4 kB / 5.953 GB, free: 106.1 MB / 1.245 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/17.63, allocations: 3.688 kB / 5.953 GB, free: 106.1 MB / 1.245 GB Notification: Performance of setup shared object (initialization): time 9.95e-05/17.63, allocations: 366.9 kB / 5.953 GB, free: 105.8 MB / 1.245 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000927/17.63, allocations: 0.6727 MB / 5.954 GB, free: 105.8 MB / 1.245 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001306/17.63, allocations: 1.325 MB / 5.955 GB, free: 105 MB / 1.245 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002072/17.64, allocations: 1.155 MB / 5.956 GB, free: 105 MB / 1.245 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.929e-06/17.64, allocations: 3.312 kB / 5.956 GB, free: 105 MB / 1.245 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.004249/17.64, allocations: 2.383 MB / 5.959 GB, free: 104.9 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 0.001426/17.64, allocations: 5.629 MB / 5.964 GB, free: 98.99 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.399e-05/17.64, allocations: 17.62 kB / 5.964 GB, free: 98.99 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.094e-05/17.64, allocations: 22.91 kB / 5.964 GB, free: 98.99 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002838/17.65, allocations: 0.5615 MB / 5.965 GB, free: 98.99 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001139/17.65, allocations: 2.4 MB / 5.967 GB, free: 96.65 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004137/17.65, allocations: 381.5 kB / 5.968 GB, free: 96.63 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002336/17.65, allocations: 94.94 kB / 5.968 GB, free: 96.63 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/17.65, allocations: 3.938 kB / 5.968 GB, free: 96.63 MB / 1.245 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003893/17.65, allocations: 2.13 MB / 5.97 GB, free: 96.6 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.898e-05/17.65, allocations: 13.34 kB / 5.97 GB, free: 96.6 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.596e-05/17.66, allocations: 28.84 kB / 5.97 GB, free: 96.6 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002295/17.66, allocations: 0.5332 MB / 5.97 GB, free: 96.6 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.583e-05/17.66, allocations: 34.42 kB / 5.97 GB, free: 96.6 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003377/17.66, allocations: 320.2 kB / 5.971 GB, free: 96.59 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001945/17.66, allocations: 90.53 kB / 5.971 GB, free: 96.59 MB / 1.245 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 4 (masExcFor.i1_w,masExcFor.i2_w,masExcRev.i1_w,masExcRev.i2_w) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (214): * Single equations (assignments): 208 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005854/17.66, allocations: 170.2 kB / 5.971 GB, free: 96.47 MB / 1.245 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005013/17.66, allocations: 218.7 kB / 5.971 GB, free: 96.36 MB / 1.245 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003075/17.67, allocations: 1.621 MB / 5.973 GB, free: 96.24 MB / 1.245 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/17.67, allocations: 11.84 kB / 5.973 GB, free: 96.24 MB / 1.245 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/17.67, allocations: 0 / 5.973 GB, free: 96.24 MB / 1.245 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.245e-05/17.67, allocations: 7.906 kB / 5.973 GB, free: 96.24 MB / 1.245 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00672/17.67, allocations: 3.92 MB / 5.977 GB, free: 95.72 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.06e-05/17.67, allocations: 9.5 kB / 5.977 GB, free: 95.71 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001563/17.67, allocations: 315 kB / 5.977 GB, free: 95.71 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.869e-05/17.67, allocations: 12.44 kB / 5.977 GB, free: 95.71 MB / 1.245 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.821e-05/17.67, allocations: 17.47 kB / 5.977 GB, free: 95.71 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007947/17.67, allocations: 2.368 MB / 5.979 GB, free: 93.38 MB / 1.245 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.157e-06/17.67, allocations: 10.06 kB / 5.979 GB, free: 93.38 MB / 1.245 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002849/17.68, allocations: 2.204 MB / 5.981 GB, free: 92.3 MB / 1.245 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001244/17.68, allocations: 0.4935 MB / 5.982 GB, free: 92.09 MB / 1.245 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003194/17.68, allocations: 7.531 kB / 5.982 GB, free: 92.09 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002299/17.68, allocations: 244.1 kB / 5.982 GB, free: 92.08 MB / 1.245 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/17.68, allocations: 80.28 kB / 5.982 GB, free: 92.07 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001326/17.68, allocations: 70.03 kB / 5.982 GB, free: 92.07 MB / 1.245 GB Notification: Performance of sorting global known variables: time 0.00183/17.68, allocations: 1.146 MB / 5.983 GB, free: 91.93 MB / 1.245 GB Notification: Performance of sort global known variables: time 6.01e-07/17.68, allocations: 0 / 5.983 GB, free: 91.93 MB / 1.245 GB Notification: Performance of remove unused functions: time 0.006347/17.69, allocations: 1.721 MB / 5.985 GB, free: 91.76 MB / 1.245 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01324/17.7, allocations: 8.266 MB / 5.993 GB, free: 87.48 MB / 1.245 GB Notification: Performance of simCode: created initialization part: time 0.00603/17.71, allocations: 2.847 MB / 5.996 GB, free: 87.2 MB / 1.245 GB Notification: Performance of simCode: created event and clocks part: time 1.736e-05/17.71, allocations: 3.5 kB / 5.996 GB, free: 87.2 MB / 1.245 GB Notification: Performance of simCode: created simulation system equations: time 0.00153/17.71, allocations: 0.624 MB / 5.996 GB, free: 87.19 MB / 1.245 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005507/17.72, allocations: 0.7305 MB / 5.997 GB, free: 87.16 MB / 1.245 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00755/17.72, allocations: 3.088 MB / 6 GB, free: 86.14 MB / 1.245 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001254/17.73, allocations: 1.752 MB / 6.002 GB, free: 85.39 MB / 1.245 GB Notification: Performance of simCode: alias equations: time 0.004518/17.73, allocations: 0.8214 MB / 6.003 GB, free: 85.37 MB / 1.245 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00048/17.73, allocations: 137.7 kB / 6.003 GB, free: 85.36 MB / 1.245 GB Notification: Performance of SimCode: time 1.263e-06/17.73, allocations: 3.156 kB / 6.003 GB, free: 85.36 MB / 1.245 GB Notification: Performance of Templates: time 0.118/17.85, allocations: 69.7 MB / 6.071 GB, free: 80.31 MB / 1.245 GB make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.makefile (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_ReverseFlowMassExchanger.csv","../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches