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.001213/0.001213, allocations: 81.86 kB / 20.68 MB, free: 3.816 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.001507/0.001507, allocations: 181 kB / 24.09 MB, free: 416 kB / 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.9242/0.9242, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.793/1.793, allocations: 377.9 MB / 0.624 GB, free: 8.406 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.172e-06/1.172e-06, allocations: 0 / 0.812 GB, free: 1.395 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.843e-05/1.961e-05, allocations: 7.234 kB / 0.812 GB, free: 1.387 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1124/0.1124, allocations: 142.1 MB / 0.9509 GB, free: 2.777 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001073/0.1135, allocations: 1.149 MB / 0.952 GB, free: 1.625 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.1136, allocations: 11.94 kB / 0.952 GB, free: 1.613 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0002882/0.1138, allocations: 43.69 kB / 0.952 GB, free: 1.57 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0005937/0.1144, allocations: 306.4 kB / 0.9523 GB, free: 1.27 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002939/0.1147, allocations: 175.2 kB / 0.9525 GB, free: 1.098 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0003379/0.1151, allocations: 227.2 kB / 0.9527 GB, free: 0.875 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.1152, allocations: 49.25 kB / 0.9527 GB, free: 0.8242 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000137/0.1153, allocations: 107.8 kB / 0.9529 GB, free: 0.7188 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.723e-05/0.1154, allocations: 43.88 kB / 0.9529 GB, free: 0.6758 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.1154, allocations: 19.94 kB / 0.9529 GB, free: 0.6562 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001718/0.1156, allocations: 131.8 kB / 0.953 GB, free: 0.5273 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 3.872e-05/0.1156, allocations: 23.92 kB / 0.9531 GB, free: 0.5039 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.176e-05/0.1156, allocations: 43.84 kB / 0.9531 GB, free: 472 kB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002299/0.1159, allocations: 211.3 kB / 0.9533 GB, free: 260 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.1159, allocations: 3.938 kB / 0.9533 GB, free: 256 kB / 0.9011 GB Notification: Performance of FrontEnd: time 9.02e-07/0.1159, allocations: 0 / 0.9533 GB, free: 256 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.146e-06/0.1159, allocations: 0 / 0.9533 GB, free: 256 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.0004268/0.1163, allocations: 491.6 kB / 0.9538 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.1163, allocations: 12.03 kB / 0.9538 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002499/0.1166, allocations: 60.69 kB / 0.9538 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.1167, allocations: 146.7 kB / 0.954 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.1167, allocations: 8.375 kB / 0.954 GB, free: 15.49 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.071e-05/0.1167, allocations: 12.38 kB / 0.954 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/0.1168, allocations: 102.2 kB / 0.9541 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.1169, allocations: 0 / 0.9541 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.296e-06/0.1169, allocations: 7.938 kB / 0.9541 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.1169, allocations: 8 kB / 0.9541 GB, free: 15.35 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.271e-05/0.1169, allocations: 27.97 kB / 0.9541 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003725/0.1173, allocations: 375.9 kB / 0.9545 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 7.317e-05/0.1174, allocations: 58.97 kB / 0.9546 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.291e-05/0.1174, allocations: 19.69 kB / 0.9546 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.517e-05/0.1174, allocations: 4 kB / 0.9546 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.906e-05/0.1174, allocations: 41.39 kB / 0.9546 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.1174, allocations: 4 kB / 0.9546 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0001377/0.1175, allocations: 77.66 kB / 0.9547 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.253e-05/0.1176, allocations: 55.34 kB / 0.9548 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.503e-05/0.1177, allocations: 199.5 kB / 0.9549 GB, free: 14.42 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 9.889e-06/0.1177, allocations: 25.7 kB / 0.955 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 6.288e-05/0.1177, allocations: 170.6 kB / 0.9551 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.308e-05/0.1177, allocations: 27.78 kB / 0.9552 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.193e-05/0.1178, allocations: 23.38 kB / 0.9552 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.1179, allocations: 0.4923 MB / 0.9557 GB, free: 13.65 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.675e-05/0.1179, allocations: 7.984 kB / 0.9557 GB, free: 13.64 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.501e-05/0.1179, allocations: 8 kB / 0.9557 GB, free: 13.64 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.136e-05/0.1179, allocations: 36.14 kB / 0.9557 GB, free: 13.6 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.118, allocations: 0 / 0.9557 GB, free: 13.6 MB / 0.9167 GB Notification: Performance of matching and sorting (n=8) (initialization): time 7.628e-05/0.118, allocations: 73.5 kB / 0.9558 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.118, allocations: 8 kB / 0.9558 GB, free: 13.51 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.118, allocations: 0 / 0.9558 GB, free: 13.51 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.1181, allocations: 3.984 kB / 0.9558 GB, free: 13.51 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.623e-05/0.1181, allocations: 16 kB / 0.9558 GB, free: 13.49 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.345e-06/0.1181, allocations: 0 / 0.9558 GB, free: 13.49 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.086e-05/0.1182, allocations: 11.94 kB / 0.9558 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.528e-06/0.1182, allocations: 0 / 0.9558 GB, free: 13.48 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 6.074e-05/0.1182, allocations: 168.6 kB / 0.956 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.871e-05/0.1182, allocations: 15.89 kB / 0.956 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001048/0.1183, allocations: 74.39 kB / 0.9561 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.1183, allocations: 0 / 0.9561 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.1183, allocations: 0 / 0.9561 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.1183, allocations: 3.938 kB / 0.9561 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001133/0.1185, allocations: 129.2 kB / 0.9562 GB, free: 13.06 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.1185, allocations: 0 / 0.9562 GB, free: 13.06 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.199e-05/0.1185, allocations: 15.98 kB / 0.9562 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.1185, allocations: 4 kB / 0.9562 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.1185, allocations: 7.938 kB / 0.9562 GB, free: 13.03 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.1185, allocations: 0 / 0.9562 GB, free: 13.03 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1185, allocations: 0 / 0.9562 GB, free: 13.03 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001064/0.1186, allocations: 223.8 kB / 0.9564 GB, free: 12.79 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.198e-05/0.1186, allocations: 11.89 kB / 0.9564 GB, free: 12.78 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.069e-05/0.1186, allocations: 3.938 kB / 0.9564 GB, free: 12.78 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.298e-05/0.1187, allocations: 7.984 kB / 0.9565 GB, free: 12.77 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.743e-05/0.1187, allocations: 7.984 kB / 0.9565 GB, free: 12.76 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.1187, allocations: 4 kB / 0.9565 GB, free: 12.76 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.256e-05/0.1188, allocations: 137.6 kB / 0.9566 GB, free: 12.62 MB / 0.9167 GB Notification: Performance of sort global known variables: time 4e-08/0.1188, allocations: 0 / 0.9566 GB, free: 12.62 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001448/0.1189, allocations: 31.95 kB / 0.9566 GB, free: 12.59 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.77e-05/0.119, allocations: 95.25 kB / 0.9567 GB, free: 12.49 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 7.181e-05/0.1191, allocations: 43.58 kB / 0.9568 GB, free: 12.44 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.1191, allocations: 4 kB / 0.9568 GB, free: 12.44 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.213e-05/0.1191, allocations: 15.69 kB / 0.9568 GB, free: 12.42 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002148/0.1193, allocations: 35.97 kB / 0.9568 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007496/0.1201, allocations: 254.5 kB / 0.9571 GB, free: 12.11 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.117e-05/0.1201, allocations: 67.34 kB / 0.9571 GB, free: 12.02 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 4.142e-05/0.1201, allocations: 16.47 kB / 0.9571 GB, free: 12 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.542e-05/0.1202, allocations: 86.19 kB / 0.9572 GB, free: 11.92 MB / 0.9167 GB Notification: Performance of SimCode: time 6.51e-07/0.1202, allocations: 0 / 0.9572 GB, free: 11.92 MB / 0.9167 GB Notification: Performance of Templates: time 0.002774/0.123, allocations: 1.573 MB / 0.9588 GB, free: 10.39 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.843175346031785]