Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.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.001518/0.001518, allocations: 81.95 kB / 21.47 MB, free: 3.031 MB / 18.57 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.001642/0.001642, allocations: 162.7 kB / 24.86 MB, free: 9.285 MB / 18.57 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 0.9499/0.9499, allocations: 177.1 MB / 205.3 MB, free: 5.121 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.81/1.81, allocations: 377.9 MB / 0.6247 GB, free: 8.438 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|masExc.TSur|masExc.mWat_flow|masExc.Gc|masExc.XInf|masExc.humRatPre.X_w",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|masExc.TSur|masExc.mWat_flow|masExc.Gc|masExc.XInf|masExc.humRatPre.X_w",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.021e-06/1.021e-06, allocations: 0 / 0.8128 GB, free: 1.422 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.49e-05/1.592e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.418 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.112/0.112, allocations: 142.1 MB / 0.9516 GB, free: 2.812 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001005/0.113, allocations: 1.149 MB / 0.9527 GB, free: 1.66 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.598e-05/0.1131, allocations: 4 kB / 0.9527 GB, free: 1.656 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.000295/0.1134, allocations: 47.62 kB / 0.9528 GB, free: 1.609 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0005263/0.1139, allocations: 314.3 kB / 0.9531 GB, free: 1.301 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002032/0.1141, allocations: 167.2 kB / 0.9532 GB, free: 1.137 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.000303/0.1144, allocations: 231.2 kB / 0.9535 GB, free: 0.9102 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.798e-05/0.1145, allocations: 49.25 kB / 0.9535 GB, free: 0.8594 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001165/0.1146, allocations: 107.8 kB / 0.9536 GB, free: 0.7539 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.933e-05/0.1147, allocations: 47.81 kB / 0.9537 GB, free: 0.707 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.643e-05/0.1147, allocations: 12 kB / 0.9537 GB, free: 0.6953 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003869/0.1151, allocations: 123.8 kB / 0.9538 GB, free: 0.5742 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 4.222e-05/0.1151, allocations: 35.84 kB / 0.9538 GB, free: 0.5391 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.292e-05/0.1152, allocations: 39.91 kB / 0.9539 GB, free: 0.5 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002308/0.1154, allocations: 215.3 kB / 0.9541 GB, free: 296 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.1154, allocations: 0 / 0.9541 GB, free: 296 kB / 0.9011 GB Notification: Performance of FrontEnd: time 9.11e-07/0.1154, allocations: 0 / 0.9541 GB, free: 296 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.1154, allocations: 0 / 0.9541 GB, free: 296 kB / 0.9011 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.0004241/0.1158, allocations: 495.6 kB / 0.9545 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.1159, allocations: 8.031 kB / 0.9546 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000262/0.1161, allocations: 68.61 kB / 0.9546 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/0.1162, allocations: 150.7 kB / 0.9548 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.1163, allocations: 8.375 kB / 0.9548 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.204e-05/0.1163, allocations: 12.38 kB / 0.9548 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.1164, allocations: 103.2 kB / 0.9549 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.1164, allocations: 0 / 0.9549 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-06/0.1164, allocations: 4 kB / 0.9549 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.1164, allocations: 4 kB / 0.9549 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.469e-05/0.1165, allocations: 27.97 kB / 0.9549 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003703/0.1168, allocations: 379.9 kB / 0.9553 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 7.288e-05/0.1169, allocations: 54.98 kB / 0.9553 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.329e-05/0.1169, allocations: 19.69 kB / 0.9553 GB, free: 14.87 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.294e-05/0.1169, allocations: 0 / 0.9553 GB, free: 14.87 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.035e-05/0.117, allocations: 49.42 kB / 0.9554 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 7.31e-07/0.117, allocations: 0 / 0.9554 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0001402/0.1171, allocations: 69.62 kB / 0.9555 GB, free: 14.74 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.482e-05/0.1171, allocations: 55.41 kB / 0.9555 GB, free: 14.67 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.506e-05/0.1172, allocations: 201.2 kB / 0.9557 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.029e-05/0.1172, allocations: 29.69 kB / 0.9557 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 6.073e-05/0.1173, allocations: 170.6 kB / 0.9559 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.315e-05/0.1173, allocations: 27.72 kB / 0.9559 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.335e-05/0.1173, allocations: 31.36 kB / 0.956 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.872e-05/0.1174, allocations: 0.4884 MB / 0.9564 GB, free: 13.69 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.725e-05/0.1174, allocations: 7.984 kB / 0.9564 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.54e-05/0.1175, allocations: 8 kB / 0.9564 GB, free: 13.67 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.288e-05/0.1175, allocations: 32.12 kB / 0.9565 GB, free: 13.64 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1175, allocations: 3.938 kB / 0.9565 GB, free: 13.63 MB / 0.9167 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.063e-05/0.1176, allocations: 77.55 kB / 0.9566 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 9.828e-06/0.1176, allocations: 4 kB / 0.9566 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1176, allocations: 8 kB / 0.9566 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.915e-06/0.1176, allocations: 0 / 0.9566 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.971e-05/0.1177, allocations: 19.94 kB / 0.9566 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.385e-06/0.1177, allocations: 0 / 0.9566 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.38e-05/0.1177, allocations: 11.94 kB / 0.9566 GB, free: 13.51 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/0.1177, allocations: 0 / 0.9566 GB, free: 13.51 MB / 0.9167 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 7.155e-05/0.1178, allocations: 160.6 kB / 0.9567 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.123e-05/0.1178, allocations: 11.89 kB / 0.9568 GB, free: 13.33 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001077/0.1179, allocations: 78.44 kB / 0.9568 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.1179, allocations: 3.938 kB / 0.9568 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.1179, allocations: 4 kB / 0.9568 GB, free: 13.24 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.1179, allocations: 3.984 kB / 0.9568 GB, free: 13.24 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001099/0.118, allocations: 121.2 kB / 0.957 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.118, allocations: 4 kB / 0.957 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.084e-05/0.1181, allocations: 11.98 kB / 0.957 GB, free: 13.08 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.1181, allocations: 0 / 0.957 GB, free: 13.08 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.591e-06/0.1181, allocations: 7.938 kB / 0.957 GB, free: 13.07 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1181, allocations: 4 kB / 0.957 GB, free: 13.07 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.1181, allocations: 0 / 0.957 GB, free: 13.07 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001019/0.1182, allocations: 215.8 kB / 0.9572 GB, free: 12.84 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.337e-05/0.1182, allocations: 15.88 kB / 0.9572 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.238e-05/0.1182, allocations: 11.88 kB / 0.9572 GB, free: 12.81 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.25e-05/0.1183, allocations: 0 / 0.9572 GB, free: 12.81 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.678e-05/0.1183, allocations: 15.97 kB / 0.9572 GB, free: 12.79 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.1183, allocations: 0 / 0.9572 GB, free: 12.79 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.383e-05/0.1183, allocations: 139.2 kB / 0.9574 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.1183, allocations: 0 / 0.9574 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001517/0.1185, allocations: 27.95 kB / 0.9574 GB, free: 12.63 MB / 0.9167 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 8.767e-05/0.1186, allocations: 99.23 kB / 0.9575 GB, free: 12.52 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 7.468e-05/0.1186, allocations: 35.66 kB / 0.9575 GB, free: 12.48 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.1186, allocations: 4 kB / 0.9575 GB, free: 12.48 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.644e-05/0.1187, allocations: 27.61 kB / 0.9576 GB, free: 12.45 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002269/0.1189, allocations: 31.92 kB / 0.9576 GB, free: 12.41 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004903/0.1194, allocations: 258.5 kB / 0.9578 GB, free: 12.13 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.401e-05/0.1194, allocations: 67.33 kB / 0.9579 GB, free: 12.05 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.858e-05/0.1195, allocations: 4.5 kB / 0.9579 GB, free: 12.04 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.844e-05/0.1195, allocations: 90.19 kB / 0.958 GB, free: 11.95 MB / 0.9167 GB Notification: Performance of SimCode: time 4.91e-07/0.1195, allocations: 4 kB / 0.958 GB, free: 11.95 MB / 0.9167 GB Notification: Performance of Templates: time 0.002884/0.1224, allocations: 1.594 MB / 0.9595 GB, free: 10.4 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & ./Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.801386311650276]