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.002012/0.002012, allocations: 80.77 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002417/0.002417, allocations: 159.1 kB / 22.46 MB, free: 5.375 MB / 14.72 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.463/1.463, allocations: 177.1 MB / 202.8 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] 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 3.02/3.02, allocations: 389 MB / 0.633 GB, free: 0.9883 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.943e-06/1.943e-06, allocations: 0 / 1 GB, free: 7.293 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.617e-05/3.811e-05, allocations: 5.656 kB / 1 GB, free: 7.289 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04608/0.04612, allocations: 38.17 MB / 1.037 GB, free: 0.9805 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01648/0.0626, allocations: 9.654 MB / 1.047 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002455/0.06505, allocations: 79.31 kB / 1.047 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002193/0.06725, allocations: 0.6363 MB / 1.048 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006246/0.07349, allocations: 2.061 MB / 1.05 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003505/0.077, allocations: 1.252 MB / 1.051 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007042/0.08404, allocations: 3.456 MB / 1.054 GB, free: 15.8 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002268/0.08631, allocations: 0.7729 MB / 1.055 GB, free: 15 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005078/0.09139, allocations: 1.882 MB / 1.057 GB, free: 13.12 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001523/0.09291, allocations: 0.7826 MB / 1.058 GB, free: 12.34 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001776/0.09309, allocations: 100 kB / 1.058 GB, free: 12.24 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001876/0.09496, allocations: 0.7286 MB / 1.058 GB, free: 11.51 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003448/0.09531, allocations: 306.7 kB / 1.059 GB, free: 11.21 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.000624/0.09593, allocations: 439 kB / 1.059 GB, free: 10.78 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00308/0.09901, allocations: 1.963 MB / 1.061 GB, free: 8.809 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.09902, allocations: 0 / 1.061 GB, free: 8.809 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.233e-06/0.09902, allocations: 0 / 1.061 GB, free: 8.809 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.791e-05/0.09905, allocations: 4 kB / 1.061 GB, free: 8.805 MB / 1.014 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.002622/0.1017, allocations: 1.454 MB / 1.062 GB, free: 7.312 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.1017, allocations: 12.03 kB / 1.062 GB, free: 7.301 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003822/0.1021, allocations: 144.1 kB / 1.063 GB, free: 7.16 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001887/0.104, allocations: 1.055 MB / 1.064 GB, free: 6.07 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.954e-05/0.104, allocations: 54.38 kB / 1.064 GB, free: 6.016 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001237/0.1042, allocations: 75.94 kB / 1.064 GB, free: 5.941 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001537/0.1057, allocations: 0.941 MB / 1.065 GB, free: 4.93 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.415e-05/0.1057, allocations: 4 kB / 1.065 GB, free: 4.926 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.662e-05/0.1058, allocations: 35.98 kB / 1.065 GB, free: 4.891 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.131e-05/0.1058, allocations: 16 kB / 1.065 GB, free: 4.875 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001197/0.107, allocations: 0.5711 MB / 1.065 GB, free: 4.301 MB / 1.014 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003845/0.1109, allocations: 2.598 MB / 1.068 GB, free: 1.625 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006247/0.1115, allocations: 246.8 kB / 1.068 GB, free: 1.375 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003696/0.1119, allocations: 171.5 kB / 1.068 GB, free: 1.207 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002566/0.1121, allocations: 59.95 kB / 1.068 GB, free: 1.148 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.161e-05/0.1122, allocations: 42.55 kB / 1.068 GB, free: 1.098 MB / 1.014 GB Notification: Performance of pre-optimization done (n=31): time 2.525e-06/0.1122, allocations: 0 / 1.068 GB, free: 1.098 MB / 1.014 GB Notification: Performance of matching and sorting (n=31): time 0.001319/0.1135, allocations: 0.5047 MB / 1.069 GB, free: 0.5859 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/0.1135, allocations: 55.34 kB / 1.069 GB, free: 0.5195 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001079/0.1146, allocations: 0.8139 MB / 1.07 GB, free: 15.69 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.879e-05/0.1146, allocations: 29.7 kB / 1.07 GB, free: 15.66 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004892/0.1151, allocations: 0.5156 MB / 1.07 GB, free: 15.14 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001198/0.1153, allocations: 111 kB / 1.07 GB, free: 15.03 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000183/0.1154, allocations: 114.3 kB / 1.07 GB, free: 14.91 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.1156, allocations: 330 kB / 1.071 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003975/0.116, allocations: 161.2 kB / 1.071 GB, free: 14.42 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006647/0.1167, allocations: 0.4981 MB / 1.071 GB, free: 13.81 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009496/0.1176, allocations: 0.5149 MB / 1.072 GB, free: 13.23 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.1176, allocations: 0 / 1.072 GB, free: 13.23 MB / 1.029 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001248/0.1189, allocations: 0.6103 MB / 1.072 GB, free: 12.61 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.1189, allocations: 8 kB / 1.072 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.1189, allocations: 8.031 kB / 1.072 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.84e-05/0.1189, allocations: 8 kB / 1.072 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004773/0.1194, allocations: 123.8 kB / 1.073 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.837e-05/0.1194, allocations: 15.92 kB / 1.073 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005599/0.12, allocations: 67.55 kB / 1.073 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.479e-05/0.12, allocations: 28.05 kB / 1.073 GB, free: 12.36 MB / 1.029 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.0004389/0.1205, allocations: 273.6 kB / 1.073 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001661/0.1206, allocations: 99.38 kB / 1.073 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001086/0.1217, allocations: 490 kB / 1.073 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/0.1217, allocations: 4 kB / 1.073 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.1217, allocations: 3.938 kB / 1.073 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008207/0.1226, allocations: 459 kB / 1.074 GB, free: 11.01 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002125/0.1247, allocations: 1.162 MB / 1.075 GB, free: 9.793 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.1247, allocations: 0 / 1.075 GB, free: 9.793 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003647/0.1251, allocations: 80.05 kB / 1.075 GB, free: 9.715 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.115e-06/0.1251, allocations: 4 kB / 1.075 GB, free: 9.711 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.694e-05/0.1251, allocations: 8 kB / 1.075 GB, free: 9.703 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.163e-06/0.1251, allocations: 4 kB / 1.075 GB, free: 9.699 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.1251, allocations: 0 / 1.075 GB, free: 9.699 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001409/0.1265, allocations: 0.7607 MB / 1.076 GB, free: 8.91 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003044/0.1268, allocations: 135.3 kB / 1.076 GB, free: 8.777 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/0.1269, allocations: 12 kB / 1.076 GB, free: 8.766 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004733/0.1274, allocations: 23.97 kB / 1.076 GB, free: 8.742 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.43e-05/0.1275, allocations: 31.89 kB / 1.076 GB, free: 8.711 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.475e-05/0.1275, allocations: 19.98 kB / 1.076 GB, free: 8.691 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0007699/0.1283, allocations: 0.5498 MB / 1.077 GB, free: 8.148 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.1283, allocations: 0 / 1.077 GB, free: 8.148 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001088/0.1294, allocations: 359.1 kB / 1.077 GB, free: 7.797 MB / 1.029 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.0007417/0.1301, allocations: 387.9 kB / 1.077 GB, free: 7.41 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009884/0.1311, allocations: 404.5 kB / 1.078 GB, free: 7.016 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1311, allocations: 0 / 1.078 GB, free: 7.016 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0004178/0.1315, allocations: 180.2 kB / 1.078 GB, free: 6.84 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002234/0.1338, allocations: 464.8 kB / 1.078 GB, free: 6.395 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002737/0.1365, allocations: 1.534 MB / 1.08 GB, free: 4.809 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004726/0.137, allocations: 456.6 kB / 1.08 GB, free: 4.332 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0005989/0.1376, allocations: 174.1 kB / 1.08 GB, free: 4.16 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001681/0.1377, allocations: 76.48 kB / 1.08 GB, free: 4.082 MB / 1.029 GB Notification: Performance of SimCode: time 1.302e-06/0.1377, allocations: 0 / 1.08 GB, free: 4.082 MB / 1.029 GB Notification: Performance of Templates: time 0.03385/0.1716, allocations: 18.36 MB / 1.098 GB, free: 2.113 MB / 1.045 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.171653762459755]