Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001005/0.001005, allocations: 82.64 kB / 20.68 MB, free: 3.82 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.001059/0.001059, allocations: 181 kB / 24.09 MB, free: 424 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.9833/0.9833, allocations: 177.1 MB / 204.5 MB, free: 5.523 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.924/1.924, allocations: 377.9 MB / 0.624 GB, free: 8.391 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.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_12_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_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.812 GB, free: 1.418 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.144e-05/1.305e-05, allocations: 3 kB / 0.812 GB, free: 1.414 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.009273/0.009286, allocations: 13.13 MB / 0.8248 GB, free: 4.262 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.005742/0.01503, allocations: 5.354 MB / 0.8301 GB, free: 14.95 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005996/0.01563, allocations: 83.31 kB / 0.8301 GB, free: 14.86 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0005827/0.01621, allocations: 361.3 kB / 0.8305 GB, free: 14.51 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.001698/0.01791, allocations: 1.344 MB / 0.8318 GB, free: 13.16 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.001451/0.01936, allocations: 1.115 MB / 0.8329 GB, free: 12.04 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.002394/0.02175, allocations: 3.394 MB / 0.8362 GB, free: 8.633 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007346/0.02249, allocations: 0.8344 MB / 0.837 GB, free: 7.777 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001551/0.02404, allocations: 1.618 MB / 0.8386 GB, free: 6.172 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006924/0.02473, allocations: 0.81 MB / 0.8394 GB, free: 5.359 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.000102/0.02483, allocations: 96 kB / 0.8395 GB, free: 5.266 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005655/0.0254, allocations: 287.5 kB / 0.8398 GB, free: 4.984 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0001853/0.02558, allocations: 302.8 kB / 0.84 GB, free: 4.688 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.00029/0.02587, allocations: 435 kB / 0.8405 GB, free: 4.262 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0008839/0.02676, allocations: 1.047 MB / 0.8415 GB, free: 3.211 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.02676, allocations: 0 / 0.8415 GB, free: 3.211 MB / 0.7917 GB Notification: Performance of FrontEnd: time 8.11e-07/0.02676, allocations: 0 / 0.8415 GB, free: 3.211 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.02677, allocations: 0 / 0.8415 GB, free: 3.211 MB / 0.7917 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.001276/0.02804, allocations: 1.511 MB / 0.843 GB, free: 1.66 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.02808, allocations: 8.031 kB / 0.843 GB, free: 1.652 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002514/0.02833, allocations: 212 kB / 0.8432 GB, free: 1.445 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008418/0.02917, allocations: 0.9568 MB / 0.8441 GB, free: 460 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.114e-05/0.0292, allocations: 54.38 kB / 0.8442 GB, free: 408 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.856e-05/0.02927, allocations: 79.94 kB / 0.8442 GB, free: 328 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005743/0.02984, allocations: 0.6971 MB / 0.8449 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.02986, allocations: 0 / 0.8449 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.827e-05/0.0299, allocations: 31.98 kB / 0.8449 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.821e-05/0.02993, allocations: 23.98 kB / 0.845 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002431/0.03017, allocations: 202.1 kB / 0.8452 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002044/0.03221, allocations: 2.957 MB / 0.848 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00018/0.03239, allocations: 130.9 kB / 0.8482 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.787e-05/0.03246, allocations: 69.05 kB / 0.8482 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 8.443e-05/0.03255, allocations: 33.38 kB / 0.8483 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/0.03257, allocations: 45.38 kB / 0.8483 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=31): time 1.243e-06/0.03257, allocations: 3.938 kB / 0.8483 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of matching and sorting (n=31): time 0.0003141/0.03288, allocations: 278.6 kB / 0.8486 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.213e-05/0.0329, allocations: 63.33 kB / 0.8486 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004657/0.03337, allocations: 0.7331 MB / 0.8494 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.555e-05/0.03339, allocations: 33.7 kB / 0.8494 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003242/0.03372, allocations: 0.565 MB / 0.8499 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 6.259e-05/0.03378, allocations: 123 kB / 0.8501 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.03389, allocations: 127.9 kB / 0.8502 GB, free: 9.961 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.034, allocations: 0.4965 MB / 0.8507 GB, free: 9.457 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.294e-05/0.03408, allocations: 53.27 kB / 0.8507 GB, free: 9.406 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002261/0.03431, allocations: 468.8 kB / 0.8512 GB, free: 8.805 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002766/0.03459, allocations: 385 kB / 0.8515 GB, free: 8.332 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.03459, allocations: 4 kB / 0.8515 GB, free: 8.328 MB / 0.8073 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0004067/0.035, allocations: 428.4 kB / 0.8519 GB, free: 7.902 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.03501, allocations: 8.688 kB / 0.8519 GB, free: 7.895 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.03502, allocations: 4 kB / 0.852 GB, free: 7.891 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.03503, allocations: 12 kB / 0.852 GB, free: 7.879 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002123/0.03524, allocations: 119.9 kB / 0.8521 GB, free: 7.762 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.365e-06/0.03525, allocations: 15.92 kB / 0.8521 GB, free: 7.746 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002012/0.03545, allocations: 55.62 kB / 0.8521 GB, free: 7.691 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.744e-05/0.03548, allocations: 27.98 kB / 0.8522 GB, free: 7.664 MB / 0.8073 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.0001433/0.03562, allocations: 192.4 kB / 0.8524 GB, free: 7.465 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.439e-05/0.03571, allocations: 103.3 kB / 0.8525 GB, free: 7.363 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003024/0.03601, allocations: 285.6 kB / 0.8527 GB, free: 7.082 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.03601, allocations: 4 kB / 0.8527 GB, free: 7.078 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.03601, allocations: 0 / 0.8527 GB, free: 7.078 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001761/0.03619, allocations: 270.9 kB / 0.853 GB, free: 6.785 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009108/0.0371, allocations: 0.8906 MB / 0.8539 GB, free: 5.84 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.0371, allocations: 0 / 0.8539 GB, free: 5.84 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001532/0.03726, allocations: 71.89 kB / 0.8539 GB, free: 5.77 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.03726, allocations: 8.156 kB / 0.8539 GB, free: 5.762 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.03727, allocations: 8 kB / 0.8539 GB, free: 5.754 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.03728, allocations: 4 kB / 0.8539 GB, free: 5.75 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.03728, allocations: 0 / 0.8539 GB, free: 5.75 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003743/0.03765, allocations: 0.5115 MB / 0.8544 GB, free: 5.199 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001455/0.0378, allocations: 131.3 kB / 0.8546 GB, free: 5.07 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.651e-05/0.03784, allocations: 12 kB / 0.8546 GB, free: 5.059 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001935/0.03804, allocations: 23.92 kB / 0.8546 GB, free: 5.035 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.271e-05/0.03808, allocations: 27.89 kB / 0.8546 GB, free: 5.008 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.198e-05/0.0381, allocations: 24.02 kB / 0.8547 GB, free: 4.984 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0002562/0.03836, allocations: 442.7 kB / 0.8551 GB, free: 4.555 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.03836, allocations: 0 / 0.8551 GB, free: 4.555 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000421/0.03878, allocations: 287.3 kB / 0.8554 GB, free: 4.273 MB / 0.8073 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.0002226/0.039, allocations: 183 kB / 0.8555 GB, free: 4.086 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002558/0.03926, allocations: 233.7 kB / 0.8557 GB, free: 3.855 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.03926, allocations: 0 / 0.8557 GB, free: 3.855 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001/0.03936, allocations: 103.7 kB / 0.8558 GB, free: 3.75 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001027/0.04039, allocations: 492.9 kB / 0.8563 GB, free: 3.273 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001492/0.04188, allocations: 1.459 MB / 0.8577 GB, free: 1.75 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001173/0.042, allocations: 191.2 kB / 0.8579 GB, free: 1.543 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0002794/0.04228, allocations: 154.3 kB / 0.8581 GB, free: 1.391 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007356/0.04301, allocations: 429.8 kB / 0.8585 GB, free: 0.9688 MB / 0.8073 GB Notification: Performance of SimCode: time 7.22e-07/0.04301, allocations: 0 / 0.8585 GB, free: 0.9688 MB / 0.8073 GB Notification: Performance of Templates: time 0.02357/0.06658, allocations: 17.69 MB / 0.8758 GB, free: 15.75 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.482090476900339]