Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masExc.TSur|masExc.mWat_flow|masExc.Gc|masExc.XInf|masExc.humRatPre.X_w",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masExc.TSur|masExc.mWat_flow|masExc.Gc|masExc.XInf|masExc.humRatPre.X_w",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0016/0.0016, allocations: 98.94 kB / 16.27 MB, free: 5.965 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.001616/0.001616, allocations: 190.7 kB / 17.2 MB, free: 5.59 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.353/1.353, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.243/2.243, allocations: 390.3 MB / 0.6653 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.00133, allocations: 69.41 kB / 0.8132 GB, free: 33.04 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2758/0.2772, allocations: 140.4 MB / 0.9503 GB, free: 8.906 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.7014/0.9787, allocations: 149 MB / 1.096 GB, free: 5.434 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00152/0.9803, allocations: 1.138 MB / 1.097 GB, free: 5.418 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/0.9804, allocations: 2.156 kB / 1.097 GB, free: 5.418 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003594/0.9808, allocations: 53.34 kB / 1.097 GB, free: 5.418 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0008106/0.9816, allocations: 307.9 kB / 1.097 GB, free: 5.402 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004745/0.9821, allocations: 163.7 kB / 1.097 GB, free: 5.398 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004854/0.9826, allocations: 219.4 kB / 1.098 GB, free: 5.398 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001527/0.9828, allocations: 61.95 kB / 1.098 GB, free: 5.391 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.863e-05/0.9829, allocations: 51.11 kB / 1.098 GB, free: 5.391 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/0.983, allocations: 61.09 kB / 1.098 GB, free: 5.391 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.237e-05/0.983, allocations: 10.94 kB / 1.098 GB, free: 5.391 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000669/0.9837, allocations: 367.4 kB / 1.098 GB, free: 5.387 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.117e-05/0.9837, allocations: 29.52 kB / 1.098 GB, free: 5.387 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.539e-05/0.9838, allocations: 70.45 kB / 1.098 GB, free: 5.383 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005149/0.9843, allocations: 285.8 kB / 1.098 GB, free: 5.363 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.9844, allocations: 1.094 kB / 1.098 GB, free: 5.363 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.433e-06/0.9844, allocations: 0.8438 kB / 1.098 GB, free: 5.363 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.011e-05/0.9844, allocations: 0 / 1.098 GB, free: 5.363 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0009363/0.9853, allocations: 463.8 kB / 1.099 GB, free: 20.96 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.9854, allocations: 9.812 kB / 1.099 GB, free: 20.96 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003223/0.9857, allocations: 40.95 kB / 1.099 GB, free: 20.95 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002491/0.986, allocations: 216.1 kB / 1.099 GB, free: 20.74 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.986, allocations: 7.969 kB / 1.099 GB, free: 20.74 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.052e-05/0.986, allocations: 6.406 kB / 1.099 GB, free: 20.74 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002959/0.9863, allocations: 117.6 kB / 1.099 GB, free: 20.71 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.9863, allocations: 0.75 kB / 1.099 GB, free: 20.71 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/0.9864, allocations: 0.6562 kB / 1.099 GB, free: 20.71 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.9864, allocations: 6.906 kB / 1.099 GB, free: 20.71 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002802/0.9867, allocations: 107 kB / 1.099 GB, free: 20.7 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007331/0.9874, allocations: 459.4 kB / 1.1 GB, free: 20.4 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002215/0.9876, allocations: 87.73 kB / 1.1 GB, free: 20.38 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001253/0.9878, allocations: 37.69 kB / 1.1 GB, free: 20.37 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.9878, allocations: 1.641 kB / 1.1 GB, free: 20.37 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.9878, allocations: 39.27 kB / 1.1 GB, free: 20.33 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=7): time 1.163e-06/0.9878, allocations: 0.8125 kB / 1.1 GB, free: 20.33 MB / 0.8731 GB Notification: Performance of matching and sorting (n=7): time 0.0004685/0.9883, allocations: 146.1 kB / 1.1 GB, free: 20.29 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.507e-05/0.9884, allocations: 54.95 kB / 1.1 GB, free: 20.23 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001835/0.9886, allocations: 178.5 kB / 1.1 GB, free: 20.13 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/0.9886, allocations: 26.48 kB / 1.1 GB, free: 20.1 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 7.204e-05/0.9887, allocations: 113.4 kB / 1.101 GB, free: 20.01 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 1.974e-05/0.9887, allocations: 20.67 kB / 1.101 GB, free: 20 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.511e-05/0.9888, allocations: 29.22 kB / 1.101 GB, free: 19.97 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.9889, allocations: 329.7 kB / 1.101 GB, free: 19.66 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001195/0.989, allocations: 36.44 kB / 1.101 GB, free: 19.65 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001089/0.9891, allocations: 31.17 kB / 1.101 GB, free: 19.65 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002314/0.9894, allocations: 75.72 kB / 1.101 GB, free: 19.64 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.9894, allocations: 1.781 kB / 1.101 GB, free: 19.64 MB / 0.8731 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003089/0.9897, allocations: 116.3 kB / 1.101 GB, free: 19.61 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.9897, allocations: 6.109 kB / 1.101 GB, free: 19.61 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.9897, allocations: 0 / 1.101 GB, free: 19.61 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.9898, allocations: 0.7188 kB / 1.101 GB, free: 19.61 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001428/0.9899, allocations: 18.11 kB / 1.101 GB, free: 19.61 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.9899, allocations: 0.5938 kB / 1.101 GB, free: 19.61 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.99, allocations: 21.05 kB / 1.101 GB, free: 19.6 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.9901, allocations: 6.969 kB / 1.101 GB, free: 19.59 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 8 * 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.000115/0.9902, allocations: 126.1 kB / 1.101 GB, free: 19.48 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.45e-05/0.9902, allocations: 11.72 kB / 1.101 GB, free: 19.47 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003562/0.9906, allocations: 127.8 kB / 1.101 GB, free: 19.43 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.9906, allocations: 1.094 kB / 1.101 GB, free: 19.43 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.9906, allocations: 1.812 kB / 1.101 GB, free: 19.43 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.9906, allocations: 0 / 1.101 GB, free: 19.43 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002508/0.9909, allocations: 230.7 kB / 1.102 GB, free: 19.23 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.9909, allocations: 0 / 1.102 GB, free: 19.23 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.991, allocations: 17.41 kB / 1.102 GB, free: 19.23 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.991, allocations: 2.344 kB / 1.102 GB, free: 19.23 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.991, allocations: 2.219 kB / 1.102 GB, free: 19.23 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.991, allocations: 0.6562 kB / 1.102 GB, free: 19.23 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.9911, allocations: 3.156 kB / 1.102 GB, free: 19.23 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003407/0.9914, allocations: 215.9 kB / 1.102 GB, free: 19.09 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 5.887e-05/0.9915, allocations: 93.52 kB / 1.102 GB, free: 18.99 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.42e-05/0.9915, allocations: 1.297 kB / 1.102 GB, free: 18.99 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.9916, allocations: 6.188 kB / 1.102 GB, free: 18.99 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.031e-05/0.9917, allocations: 8.828 kB / 1.102 GB, free: 18.99 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.146e-06/0.9917, allocations: 2 kB / 1.102 GB, free: 18.99 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001205/0.9918, allocations: 139.6 kB / 1.102 GB, free: 18.91 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9918, allocations: 1.203 kB / 1.102 GB, free: 18.91 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002542/0.9921, allocations: 18.75 kB / 1.102 GB, free: 18.91 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (7): * Single equations (assignments): 7 * 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.0002022/0.9923, allocations: 110.5 kB / 1.102 GB, free: 18.82 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003094/0.9926, allocations: 84.12 kB / 1.102 GB, free: 18.81 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.9926, allocations: 0 / 1.102 GB, free: 18.81 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001236/0.9927, allocations: 43.72 kB / 1.102 GB, free: 18.81 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000453/0.9932, allocations: 36.02 kB / 1.102 GB, free: 18.8 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006273/0.9938, allocations: 282.4 kB / 1.103 GB, free: 18.61 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000313/0.9942, allocations: 0.7036 MB / 1.103 GB, free: 17.92 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.373e-05/0.9942, allocations: 18.38 kB / 1.103 GB, free: 17.91 MB / 0.8731 GB Notification: Performance of SimCode: time 8.61e-07/0.9942, allocations: 0 / 1.103 GB, free: 17.91 MB / 0.8731 GB Notification: Performance of Templates: time 0.004258/0.9985, allocations: 1.668 MB / 1.105 GB, free: 17.78 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches