Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00184/0.00184, allocations: 79.19 kB / 19.76 MB, free: 2.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002277/0.002277, allocations: 156.5 kB / 23.01 MB, free: 4.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.438/1.438, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.89/2.89, allocations: 394.2 MB / 0.6387 GB, free: 11.95 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|fouPor.Q1_flow|fouPor.Q2_flow|fouPor.vol1.T|fouPor.vol2.T|sou2.T|sou1.T_in|sin.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|fouPor.Q1_flow|fouPor.Q2_flow|fouPor.vol1.T|fouPor.vol2.T|sou2.T|sou1.T_in|sin.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002295/0.002295, allocations: 79.81 kB / 1.009 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9448/0.9471, allocations: 181.8 MB / 1.187 GB, free: 16.43 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04222/0.9893, allocations: 38.48 MB / 1.224 GB, free: 6.523 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01794/1.007, allocations: 9.664 MB / 1.234 GB, free: 15.9 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002714/1.01, allocations: 84.78 kB / 1.234 GB, free: 15.85 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.002269/1.012, allocations: 0.6313 MB / 1.234 GB, free: 15.49 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.006949/1.019, allocations: 2.008 MB / 1.236 GB, free: 14.32 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.003912/1.023, allocations: 1.207 MB / 1.237 GB, free: 13.66 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.006058/1.029, allocations: 3.464 MB / 1.241 GB, free: 11.97 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001462/1.031, allocations: 0.8052 MB / 1.242 GB, free: 11.55 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004065/1.035, allocations: 1.476 MB / 1.243 GB, free: 10.86 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001793/1.036, allocations: 0.8821 MB / 1.244 GB, free: 10.49 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001883/1.037, allocations: 99.19 kB / 1.244 GB, free: 10.49 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002218/1.039, allocations: 0.7167 MB / 1.245 GB, free: 10.24 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0003719/1.039, allocations: 296.1 kB / 1.245 GB, free: 10.05 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0007289/1.04, allocations: 0.5077 MB / 1.246 GB, free: 9.793 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.003349/1.043, allocations: 1.957 MB / 1.247 GB, free: 9.066 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/1.043, allocations: 0 / 1.247 GB, free: 9.066 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.763e-06/1.043, allocations: 5.125 kB / 1.247 GB, free: 9.062 MB / 1.107 GB Notification: Performance of Transformations before backend: time 2.433e-05/1.043, allocations: 4 kB / 1.247 GB, free: 9.059 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.003016/1.046, allocations: 1.477 MB / 1.249 GB, free: 8.082 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/1.046, allocations: 9.469 kB / 1.249 GB, free: 8.082 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004237/1.047, allocations: 139.3 kB / 1.249 GB, free: 8.016 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002033/1.049, allocations: 1.069 MB / 1.25 GB, free: 7.332 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.967e-05/1.049, allocations: 58.95 kB / 1.25 GB, free: 7.301 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/1.049, allocations: 68.5 kB / 1.25 GB, free: 7.281 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001534/1.051, allocations: 0.9444 MB / 1.251 GB, free: 6.586 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.09e-05/1.051, allocations: 5.641 kB / 1.251 GB, free: 6.582 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.146e-05/1.051, allocations: 26.81 kB / 1.251 GB, free: 6.562 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-05/1.051, allocations: 22.81 kB / 1.251 GB, free: 6.559 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001178/1.052, allocations: 0.5659 MB / 1.252 GB, free: 6.273 MB / 1.107 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.004061/1.056, allocations: 2.61 MB / 1.254 GB, free: 4.195 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006005/1.057, allocations: 245.9 kB / 1.254 GB, free: 4.066 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003667/1.057, allocations: 161.9 kB / 1.255 GB, free: 3.988 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002652/1.057, allocations: 66.48 kB / 1.255 GB, free: 3.961 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/1.057, allocations: 32.78 kB / 1.255 GB, free: 3.922 MB / 1.107 GB Notification: Performance of pre-optimization done (n=31): time 1.833e-06/1.057, allocations: 1.062 kB / 1.255 GB, free: 3.922 MB / 1.107 GB Notification: Performance of matching and sorting (n=31): time 0.001292/1.058, allocations: 0.5109 MB / 1.255 GB, free: 3.656 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.494e-05/1.059, allocations: 55.06 kB / 1.255 GB, free: 3.594 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001069/1.06, allocations: 0.812 MB / 1.256 GB, free: 3.129 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 4.54e-05/1.06, allocations: 32.89 kB / 1.256 GB, free: 3.094 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004651/1.06, allocations: 0.5135 MB / 1.257 GB, free: 2.637 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001299/1.06, allocations: 121.6 kB / 1.257 GB, free: 2.531 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001676/1.06, allocations: 112.8 kB / 1.257 GB, free: 2.457 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001461/1.061, allocations: 331.1 kB / 1.257 GB, free: 2.133 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003811/1.061, allocations: 166.5 kB / 1.257 GB, free: 2.055 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006943/1.062, allocations: 0.4966 MB / 1.258 GB, free: 1.559 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008772/1.063, allocations: 0.5134 MB / 1.258 GB, free: 1.168 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/1.063, allocations: 6.188 kB / 1.258 GB, free: 1.164 MB / 1.107 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001195/1.064, allocations: 0.6059 MB / 1.259 GB, free: 0.8516 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/1.064, allocations: 7.531 kB / 1.259 GB, free: 0.8516 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/1.064, allocations: 8.422 kB / 1.259 GB, free: 0.8477 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/1.064, allocations: 8.25 kB / 1.259 GB, free: 0.8477 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004469/1.064, allocations: 126.2 kB / 1.259 GB, free: 0.8164 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.288e-05/1.064, allocations: 12.84 kB / 1.259 GB, free: 0.8125 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006137/1.065, allocations: 66.25 kB / 1.259 GB, free: 0.7695 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.158e-05/1.065, allocations: 24.41 kB / 1.259 GB, free: 0.7656 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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.0004153/1.065, allocations: 286.1 kB / 1.259 GB, free: 0.5391 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001686/1.065, allocations: 92.94 kB / 1.26 GB, free: 500 kB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00104/1.067, allocations: 473.5 kB / 1.26 GB, free: 228 kB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.344e-05/1.067, allocations: 3.969 kB / 1.26 GB, free: 228 kB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/1.067, allocations: 4.047 kB / 1.26 GB, free: 224 kB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008204/1.067, allocations: 460.9 kB / 1.26 GB, free: 15.91 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002433/1.07, allocations: 1.17 MB / 1.262 GB, free: 15.09 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/1.07, allocations: 0.9062 kB / 1.262 GB, free: 15.09 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003585/1.07, allocations: 76.47 kB / 1.262 GB, free: 15.07 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/1.07, allocations: 3.25 kB / 1.262 GB, free: 15.07 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.989e-05/1.07, allocations: 12.19 kB / 1.262 GB, free: 15.06 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.454e-06/1.07, allocations: 10.16 kB / 1.262 GB, free: 15.05 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-06/1.07, allocations: 6.031 kB / 1.262 GB, free: 15.05 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001404/1.072, allocations: 0.7544 MB / 1.262 GB, free: 14.58 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00034/1.072, allocations: 131 kB / 1.263 GB, free: 14.48 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.591e-05/1.072, allocations: 7.344 kB / 1.263 GB, free: 14.48 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004699/1.073, allocations: 34 kB / 1.263 GB, free: 14.46 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.027e-05/1.073, allocations: 33.66 kB / 1.263 GB, free: 14.44 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.352e-05/1.073, allocations: 20.8 kB / 1.263 GB, free: 14.43 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0007928/1.073, allocations: 0.5454 MB / 1.263 GB, free: 14.12 MB / 1.123 GB Notification: Performance of sort global known variables: time 7e-08/1.073, allocations: 0 / 1.263 GB, free: 14.12 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001331/1.075, allocations: 365.2 kB / 1.263 GB, free: 14.02 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0006898/1.075, allocations: 375.4 kB / 1.264 GB, free: 13.8 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0009794/1.076, allocations: 403.9 kB / 1.264 GB, free: 13.63 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/1.076, allocations: 0 / 1.264 GB, free: 13.63 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0004036/1.077, allocations: 177.4 kB / 1.264 GB, free: 13.56 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00219/1.079, allocations: 478.3 kB / 1.265 GB, free: 13.31 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002825/1.082, allocations: 1.587 MB / 1.266 GB, free: 12.28 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005734/1.082, allocations: 459.2 kB / 1.267 GB, free: 12.01 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0008235/1.083, allocations: 172.8 kB / 1.267 GB, free: 11.93 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001767/1.083, allocations: 72.33 kB / 1.267 GB, free: 11.91 MB / 1.123 GB Notification: Performance of SimCode: time 9.11e-07/1.083, allocations: 0 / 1.267 GB, free: 11.91 MB / 1.123 GB Notification: Performance of Templates: time 0.03467/1.118, allocations: 18.75 MB / 1.285 GB, free: 0.9453 MB / 1.123 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.66247609409038]