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.001091/0.001091, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001222/0.001222, allocations: 173 kB / 23.02 MB, free: 1.547 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 1.12/1.12, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] 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.082/2.082, allocations: 429.5 MB / 0.6732 GB, free: 4.059 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.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: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 0.8782 GB, free: 6.328 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.764e-05/2.9e-05, allocations: 4.844 kB / 0.8782 GB, free: 6.324 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.01087/0.0109, allocations: 13.44 MB / 0.8913 GB, free: 8.852 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.008799/0.0197, allocations: 6.363 MB / 0.8975 GB, free: 2.488 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00159/0.02129, allocations: 87.25 kB / 0.8976 GB, free: 2.402 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001025/0.02231, allocations: 365.2 kB / 0.8979 GB, free: 2.043 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.002923/0.02524, allocations: 1.371 MB / 0.8993 GB, free: 0.6641 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.002689/0.02793, allocations: 1.442 MB / 0.9007 GB, free: 15.21 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.003875/0.0318, allocations: 3.44 MB / 0.9041 GB, free: 11.77 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001278/0.03308, allocations: 0.8553 MB / 0.9049 GB, free: 10.89 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00303/0.03611, allocations: 1.675 MB / 0.9065 GB, free: 9.227 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001344/0.03745, allocations: 0.8138 MB / 0.9073 GB, free: 8.41 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002497/0.0377, allocations: 104 kB / 0.9074 GB, free: 8.309 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008104/0.03851, allocations: 295.4 kB / 0.9077 GB, free: 8.02 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002703/0.03878, allocations: 314.7 kB / 0.908 GB, free: 7.711 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005671/0.03935, allocations: 458.9 kB / 0.9084 GB, free: 7.262 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.001722/0.04107, allocations: 1.074 MB / 0.9095 GB, free: 6.184 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.04108, allocations: 0 / 0.9095 GB, free: 6.184 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.603e-06/0.04108, allocations: 0 / 0.9095 GB, free: 6.184 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.096e-05/0.04111, allocations: 0 / 0.9095 GB, free: 6.184 MB / 0.8698 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.002032/0.04314, allocations: 1.565 MB / 0.911 GB, free: 4.578 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.233e-05/0.04319, allocations: 8.031 kB / 0.911 GB, free: 4.57 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003949/0.04359, allocations: 215.9 kB / 0.9112 GB, free: 4.359 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00114/0.04473, allocations: 1.015 MB / 0.9122 GB, free: 3.309 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.056e-05/0.04477, allocations: 62.31 kB / 0.9123 GB, free: 3.25 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.788e-05/0.04486, allocations: 87.94 kB / 0.9124 GB, free: 3.164 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008757/0.04573, allocations: 0.7402 MB / 0.9131 GB, free: 2.336 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/0.04575, allocations: 3.938 kB / 0.9131 GB, free: 2.332 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.871e-05/0.0458, allocations: 32 kB / 0.9131 GB, free: 2.301 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-05/0.04584, allocations: 20 kB / 0.9131 GB, free: 2.281 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004284/0.04627, allocations: 251.6 kB / 0.9134 GB, free: 2.035 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002763/0.04903, allocations: 2.993 MB / 0.9163 GB, free: 14.94 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003064/0.04934, allocations: 146.9 kB / 0.9164 GB, free: 14.79 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001073/0.04945, allocations: 83.55 kB / 0.9165 GB, free: 14.7 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001341/0.04958, allocations: 31.98 kB / 0.9166 GB, free: 14.67 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.04961, allocations: 41.39 kB / 0.9166 GB, free: 14.62 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=31): time 3.266e-06/0.04962, allocations: 0 / 0.9166 GB, free: 14.62 MB / 0.8855 GB Notification: Performance of matching and sorting (n=31): time 0.0005377/0.05015, allocations: 306.3 kB / 0.9169 GB, free: 14.31 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.9e-05/0.05018, allocations: 55.41 kB / 0.9169 GB, free: 14.25 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006602/0.05084, allocations: 0.8124 MB / 0.9177 GB, free: 13.41 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.329e-05/0.05088, allocations: 37.7 kB / 0.9178 GB, free: 13.37 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003161/0.05119, allocations: 0.5847 MB / 0.9183 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 7.452e-05/0.05127, allocations: 119.1 kB / 0.9185 GB, free: 12.66 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001415/0.05141, allocations: 152.3 kB / 0.9186 GB, free: 12.5 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.05152, allocations: 0.5043 MB / 0.9191 GB, free: 11.99 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001236/0.05165, allocations: 69.95 kB / 0.9192 GB, free: 11.92 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003361/0.05198, allocations: 0.6315 MB / 0.9198 GB, free: 11.07 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004675/0.05245, allocations: 0.5852 MB / 0.9203 GB, free: 10.31 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/0.05246, allocations: 4 kB / 0.9203 GB, free: 10.31 MB / 0.8855 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0006355/0.05309, allocations: 0.5633 MB / 0.9209 GB, free: 9.738 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.05311, allocations: 12 kB / 0.9209 GB, free: 9.727 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.05313, allocations: 8 kB / 0.9209 GB, free: 9.719 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.05315, allocations: 12 kB / 0.9209 GB, free: 9.707 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003175/0.05346, allocations: 151.7 kB / 0.9211 GB, free: 9.559 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.559e-05/0.05348, allocations: 19.94 kB / 0.9211 GB, free: 9.539 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003261/0.05381, allocations: 83.39 kB / 0.9212 GB, free: 9.457 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.022e-05/0.05385, allocations: 36.23 kB / 0.9212 GB, free: 9.422 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (83): * Single equations (assignments): 83 * 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.0001879/0.05403, allocations: 208.3 kB / 0.9214 GB, free: 9.207 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.05414, allocations: 107.3 kB / 0.9215 GB, free: 9.102 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004193/0.05456, allocations: 309.6 kB / 0.9218 GB, free: 8.797 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/0.05457, allocations: 7.984 kB / 0.9218 GB, free: 8.789 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.05457, allocations: 0 / 0.9218 GB, free: 8.789 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002427/0.05481, allocations: 293.2 kB / 0.9221 GB, free: 8.473 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001244/0.05606, allocations: 1.061 MB / 0.9231 GB, free: 7.352 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.05606, allocations: 0 / 0.9231 GB, free: 7.352 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001952/0.05626, allocations: 71.91 kB / 0.9232 GB, free: 7.281 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/0.05626, allocations: 0 / 0.9232 GB, free: 7.281 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.357e-05/0.05629, allocations: 15.98 kB / 0.9232 GB, free: 7.266 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.05629, allocations: 0 / 0.9232 GB, free: 7.266 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.05629, allocations: 7.938 kB / 0.9232 GB, free: 7.258 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005032/0.05679, allocations: 0.5396 MB / 0.9237 GB, free: 6.68 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001972/0.05699, allocations: 147.3 kB / 0.9239 GB, free: 6.535 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.142e-05/0.05705, allocations: 8 kB / 0.9239 GB, free: 6.527 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002175/0.05727, allocations: 31.91 kB / 0.9239 GB, free: 6.496 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.16e-05/0.05733, allocations: 35.83 kB / 0.924 GB, free: 6.461 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.604e-05/0.05736, allocations: 15.98 kB / 0.924 GB, free: 6.445 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0004169/0.05777, allocations: 0.4972 MB / 0.9245 GB, free: 5.938 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6e-08/0.05777, allocations: 0 / 0.9245 GB, free: 5.938 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0006598/0.05843, allocations: 287.4 kB / 0.9247 GB, free: 5.656 MB / 0.8855 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.0003093/0.05874, allocations: 191 kB / 0.9249 GB, free: 5.461 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004351/0.05918, allocations: 311.1 kB / 0.9252 GB, free: 5.156 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.05918, allocations: 0 / 0.9252 GB, free: 5.156 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001384/0.05932, allocations: 111.9 kB / 0.9253 GB, free: 5.043 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001219/0.06054, allocations: 499.9 kB / 0.9258 GB, free: 4.566 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002134/0.06267, allocations: 1.508 MB / 0.9273 GB, free: 2.996 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001323/0.06281, allocations: 211.2 kB / 0.9275 GB, free: 2.77 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0004627/0.06327, allocations: 178.7 kB / 0.9276 GB, free: 2.594 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/0.06338, allocations: 76.48 kB / 0.9277 GB, free: 2.52 MB / 0.8855 GB Notification: Performance of SimCode: time 1.993e-06/0.06339, allocations: 0 / 0.9277 GB, free: 2.52 MB / 0.8855 GB Notification: Performance of Templates: time 0.02303/0.08642, allocations: 17.97 MB / 0.9453 GB, free: 0.9492 MB / 0.9011 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.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: 5.972533679101616]