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.0009385/0.0009385, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009435/0.0009435, allocations: 161 kB / 23.82 MB, free: 0.75 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.9332/0.9332, allocations: 177.2 MB / 204.2 MB, free: 5.594 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.903/1.903, allocations: 377.8 MB / 0.6236 GB, free: 8.523 MB / 0.5886 GB " [Timeout remaining time 177] 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.502e-06/1.502e-06, allocations: 0 / 0.8115 GB, free: 1.68 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.395e-05/2.545e-05, allocations: 3.984 kB / 0.8115 GB, free: 1.676 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.01079/0.01082, allocations: 13.3 MB / 0.8245 GB, free: 4.355 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.008042/0.01886, allocations: 5.385 MB / 0.8298 GB, free: 15.01 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001482/0.02034, allocations: 80.41 kB / 0.8299 GB, free: 14.93 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0008595/0.0212, allocations: 369.2 kB / 0.8302 GB, free: 14.57 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.002471/0.02367, allocations: 1.353 MB / 0.8315 GB, free: 13.21 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.002003/0.02568, allocations: 1.099 MB / 0.8326 GB, free: 12.11 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.003346/0.02902, allocations: 3.397 MB / 0.8359 GB, free: 8.699 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001172/0.0302, allocations: 0.8343 MB / 0.8367 GB, free: 7.844 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002451/0.03265, allocations: 1.62 MB / 0.8383 GB, free: 6.238 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001102/0.03375, allocations: 0.8061 MB / 0.8391 GB, free: 5.43 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0001846/0.03393, allocations: 96 kB / 0.8392 GB, free: 5.336 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006801/0.03461, allocations: 299.4 kB / 0.8395 GB, free: 5.043 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0002064/0.03482, allocations: 294.8 kB / 0.8398 GB, free: 4.754 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0004204/0.03524, allocations: 427 kB / 0.8402 GB, free: 4.336 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.001541/0.03678, allocations: 1.051 MB / 0.8412 GB, free: 3.281 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.03679, allocations: 0 / 0.8412 GB, free: 3.281 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.353e-06/0.03679, allocations: 0 / 0.8412 GB, free: 3.281 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 2.341e-05/0.03681, allocations: 0 / 0.8412 GB, free: 3.281 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.001981/0.03879, allocations: 1.507 MB / 0.8427 GB, free: 1.734 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.03883, allocations: 8.031 kB / 0.8427 GB, free: 1.727 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003924/0.03922, allocations: 208 kB / 0.8429 GB, free: 1.523 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001213/0.04043, allocations: 0.9723 MB / 0.8438 GB, free: 0.5117 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.222e-05/0.04048, allocations: 54.38 kB / 0.8439 GB, free: 472 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.968e-05/0.04058, allocations: 83.92 kB / 0.844 GB, free: 388 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009982/0.04157, allocations: 0.7363 MB / 0.8447 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.342e-05/0.0416, allocations: 3.938 kB / 0.8447 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.949e-05/0.04166, allocations: 32 kB / 0.8447 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.049e-05/0.0417, allocations: 16 kB / 0.8447 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005258/0.04222, allocations: 255.6 kB / 0.845 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003293/0.04552, allocations: 2.935 MB / 0.8478 GB, free: 12.22 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000326/0.04584, allocations: 148.8 kB / 0.848 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001288/0.04597, allocations: 84.2 kB / 0.8481 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001181/0.04609, allocations: 23.98 kB / 0.8481 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/0.04612, allocations: 45.39 kB / 0.8481 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=31): time 3.246e-06/0.04612, allocations: 0 / 0.8481 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of matching and sorting (n=31): time 0.0005518/0.04667, allocations: 302.6 kB / 0.8484 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.03e-05/0.0467, allocations: 55.41 kB / 0.8485 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000742/0.04745, allocations: 0.7492 MB / 0.8492 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.792e-05/0.04748, allocations: 33.7 kB / 0.8492 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004892/0.04797, allocations: 0.565 MB / 0.8498 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 9.141e-05/0.04806, allocations: 127 kB / 0.8499 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001441/0.04821, allocations: 119.9 kB / 0.85 GB, free: 9.906 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.04835, allocations: 0.4965 MB / 0.8505 GB, free: 9.402 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/0.04849, allocations: 65.27 kB / 0.8506 GB, free: 9.34 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003262/0.04881, allocations: 468.9 kB / 0.851 GB, free: 8.738 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004161/0.04923, allocations: 389 kB / 0.8514 GB, free: 8.262 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.04923, allocations: 0 / 0.8514 GB, free: 8.262 MB / 0.8073 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.000631/0.04986, allocations: 452.9 kB / 0.8518 GB, free: 7.812 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.04989, allocations: 9.969 kB / 0.8518 GB, free: 7.805 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/0.0499, allocations: 8 kB / 0.8518 GB, free: 7.797 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/0.04992, allocations: 11.94 kB / 0.8518 GB, free: 7.785 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000326/0.05024, allocations: 119.8 kB / 0.852 GB, free: 7.668 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.312e-05/0.05026, allocations: 8 kB / 0.852 GB, free: 7.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003285/0.05058, allocations: 63.61 kB / 0.852 GB, free: 7.598 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.884e-05/0.05062, allocations: 24 kB / 0.8521 GB, free: 7.574 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.0001821/0.05081, allocations: 188.4 kB / 0.8522 GB, free: 7.379 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/0.05093, allocations: 111.3 kB / 0.8523 GB, free: 7.27 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004768/0.0514, allocations: 308.8 kB / 0.8526 GB, free: 6.965 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.408e-06/0.05141, allocations: 8 kB / 0.8526 GB, free: 6.957 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.05142, allocations: 0 / 0.8526 GB, free: 6.957 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002886/0.0517, allocations: 286.9 kB / 0.8529 GB, free: 6.648 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001268/0.05297, allocations: 1.039 MB / 0.8539 GB, free: 5.547 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.05298, allocations: 0 / 0.8539 GB, free: 5.547 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002277/0.0532, allocations: 76.06 kB / 0.854 GB, free: 5.473 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.256e-06/0.05321, allocations: 4 kB / 0.854 GB, free: 5.469 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.522e-05/0.05324, allocations: 11.98 kB / 0.854 GB, free: 5.457 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.05324, allocations: 0 / 0.854 GB, free: 5.457 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.05324, allocations: 4 kB / 0.854 GB, free: 5.453 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006084/0.05385, allocations: 0.5363 MB / 0.8545 GB, free: 4.879 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002046/0.05406, allocations: 135.3 kB / 0.8547 GB, free: 4.746 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.477e-05/0.05414, allocations: 11.98 kB / 0.8547 GB, free: 4.734 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002803/0.05442, allocations: 15.98 kB / 0.8547 GB, free: 4.719 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.383e-05/0.05451, allocations: 39.86 kB / 0.8547 GB, free: 4.68 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.531e-05/0.05454, allocations: 19.98 kB / 0.8548 GB, free: 4.66 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0004955/0.05504, allocations: 478.9 kB / 0.8552 GB, free: 4.195 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.7e-07/0.05504, allocations: 0 / 0.8552 GB, free: 4.195 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0007718/0.05581, allocations: 287.3 kB / 0.8555 GB, free: 3.914 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.0003207/0.05613, allocations: 186.9 kB / 0.8557 GB, free: 3.723 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.00043/0.05656, allocations: 245.5 kB / 0.8559 GB, free: 3.48 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.05656, allocations: 4 kB / 0.8559 GB, free: 3.477 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.00016/0.05672, allocations: 115.6 kB / 0.856 GB, free: 3.359 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001614/0.05834, allocations: 0.4938 MB / 0.8565 GB, free: 2.875 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002318/0.06065, allocations: 1.454 MB / 0.8579 GB, free: 1.355 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001568/0.06081, allocations: 191.2 kB / 0.8581 GB, free: 1.148 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0004908/0.0613, allocations: 166.2 kB / 0.8583 GB, free: 0.9844 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/0.06143, allocations: 72.48 kB / 0.8583 GB, free: 0.9141 MB / 0.8073 GB Notification: Performance of SimCode: time 1.373e-06/0.06143, allocations: 0 / 0.8583 GB, free: 0.9141 MB / 0.8073 GB Notification: Performance of Templates: time 0.02603/0.08746, allocations: 17.6 MB / 0.8755 GB, free: 15.73 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.514756650198251]