Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009391/0.0009391, 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.00105/0.00105, allocations: 185 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.9501/0.9501, allocations: 177.1 MB / 204.5 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.818/1.818, allocations: 359 MB / 0.6055 GB, free: 10.84 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.7876 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.677e-05/2.837e-05, allocations: 8.844 kB / 0.7876 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.01401/0.01403, allocations: 13.05 MB / 0.8003 GB, free: 15.06 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.006396/0.02043, allocations: 5.355 MB / 0.8055 GB, free: 9.742 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007484/0.02118, allocations: 79.31 kB / 0.8056 GB, free: 9.664 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0006401/0.02182, allocations: 370.2 kB / 0.806 GB, free: 9.301 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.001849/0.02367, allocations: 1.356 MB / 0.8073 GB, free: 7.941 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.001608/0.02527, allocations: 1.107 MB / 0.8084 GB, free: 6.832 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.002466/0.02774, allocations: 3.382 MB / 0.8117 GB, free: 3.441 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008347/0.02858, allocations: 0.8304 MB / 0.8125 GB, free: 2.59 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001693/0.03027, allocations: 1.615 MB / 0.8141 GB, free: 0.9922 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007479/0.03102, allocations: 0.8216 MB / 0.8149 GB, free: 172 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.000103/0.03112, allocations: 99.94 kB / 0.815 GB, free: 72 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004465/0.03157, allocations: 291.5 kB / 0.8152 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001867/0.03175, allocations: 302.8 kB / 0.8155 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0003079/0.03206, allocations: 435 kB / 0.8159 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0009457/0.03301, allocations: 1.047 MB / 0.817 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.03301, allocations: 3.938 kB / 0.817 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.433e-06/0.03301, allocations: 0 / 0.817 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.112e-05/0.03302, allocations: 7.938 kB / 0.817 GB, free: 14 MB / 0.7761 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.001398/0.03442, allocations: 1.495 MB / 0.8184 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.03446, allocations: 12.03 kB / 0.8185 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002829/0.03474, allocations: 219.8 kB / 0.8187 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008717/0.03561, allocations: 0.953 MB / 0.8196 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.111e-05/0.03564, allocations: 50.38 kB / 0.8196 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.1e-05/0.03571, allocations: 79.94 kB / 0.8197 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005866/0.0363, allocations: 0.6971 MB / 0.8204 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.03632, allocations: 3.938 kB / 0.8204 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.976e-05/0.03636, allocations: 32 kB / 0.8204 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.985e-05/0.03639, allocations: 20 kB / 0.8205 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000249/0.03664, allocations: 206.1 kB / 0.8206 GB, free: 10.08 MB / 0.7761 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.002135/0.03877, allocations: 2.942 MB / 0.8235 GB, free: 7.043 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001983/0.03897, allocations: 134.8 kB / 0.8237 GB, free: 6.898 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.07e-05/0.03904, allocations: 73.81 kB / 0.8237 GB, free: 6.824 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.62e-05/0.03914, allocations: 42.67 kB / 0.8238 GB, free: 6.785 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.03916, allocations: 37.39 kB / 0.8238 GB, free: 6.738 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=31): time 1.433e-06/0.03916, allocations: 0 / 0.8238 GB, free: 6.738 MB / 0.7761 GB Notification: Performance of matching and sorting (n=31): time 0.000333/0.03949, allocations: 274.4 kB / 0.8241 GB, free: 6.465 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.515e-05/0.03952, allocations: 59.34 kB / 0.8241 GB, free: 6.395 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005314/0.04005, allocations: 0.7292 MB / 0.8248 GB, free: 5.648 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.724e-05/0.04009, allocations: 37.7 kB / 0.8249 GB, free: 5.605 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003216/0.04041, allocations: 0.5688 MB / 0.8254 GB, free: 5.027 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 7.11e-05/0.04048, allocations: 119 kB / 0.8255 GB, free: 4.91 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.04058, allocations: 123.8 kB / 0.8257 GB, free: 4.781 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.0407, allocations: 0.5043 MB / 0.8261 GB, free: 4.27 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.819e-05/0.04079, allocations: 57.2 kB / 0.8262 GB, free: 4.215 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002406/0.04103, allocations: 472.8 kB / 0.8266 GB, free: 3.609 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002887/0.04132, allocations: 384.2 kB / 0.827 GB, free: 3.137 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.04132, allocations: 0 / 0.827 GB, free: 3.137 MB / 0.7761 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0004196/0.04174, allocations: 428.9 kB / 0.8274 GB, free: 2.711 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.04175, allocations: 8 kB / 0.8274 GB, free: 2.703 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.04176, allocations: 8 kB / 0.8274 GB, free: 2.695 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.04177, allocations: 8 kB / 0.8274 GB, free: 2.688 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002157/0.04199, allocations: 115.8 kB / 0.8276 GB, free: 2.574 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.014e-06/0.042, allocations: 8 kB / 0.8276 GB, free: 2.566 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002079/0.0422, allocations: 63.55 kB / 0.8276 GB, free: 2.504 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.602e-05/0.04223, allocations: 20 kB / 0.8276 GB, free: 2.484 MB / 0.7761 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.0001497/0.04238, allocations: 196.5 kB / 0.8278 GB, free: 2.281 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.658e-05/0.04248, allocations: 115.3 kB / 0.8279 GB, free: 2.168 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003235/0.0428, allocations: 281.3 kB / 0.8282 GB, free: 1.891 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.04281, allocations: 4 kB / 0.8282 GB, free: 1.887 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.512e-06/0.04281, allocations: 0 / 0.8282 GB, free: 1.887 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001795/0.04299, allocations: 255.2 kB / 0.8285 GB, free: 1.609 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008194/0.04381, allocations: 0.8924 MB / 0.8293 GB, free: 0.6641 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.04381, allocations: 4.031 kB / 0.8293 GB, free: 0.6602 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001582/0.04397, allocations: 67.91 kB / 0.8294 GB, free: 0.5938 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.04397, allocations: 4 kB / 0.8294 GB, free: 0.5898 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/0.04399, allocations: 15.98 kB / 0.8294 GB, free: 0.5742 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.04399, allocations: 0 / 0.8294 GB, free: 0.5742 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.044, allocations: 7.938 kB / 0.8294 GB, free: 0.5664 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004092/0.0444, allocations: 0.5159 MB / 0.8299 GB, free: 12 kB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001674/0.04457, allocations: 135.3 kB / 0.8301 GB, free: 15.88 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.952e-05/0.04462, allocations: 16.02 kB / 0.8301 GB, free: 15.86 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001848/0.04481, allocations: 15.98 kB / 0.8301 GB, free: 15.84 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.891e-05/0.04486, allocations: 35.83 kB / 0.8301 GB, free: 15.81 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.26e-05/0.04488, allocations: 20.05 kB / 0.8301 GB, free: 15.79 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0002698/0.04515, allocations: 450.7 kB / 0.8306 GB, free: 15.36 MB / 0.7917 GB Notification: Performance of sort global known variables: time 5e-08/0.04515, allocations: 0 / 0.8306 GB, free: 15.36 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0004526/0.0456, allocations: 271.4 kB / 0.8308 GB, free: 15.09 MB / 0.7917 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.0002424/0.04584, allocations: 194.9 kB / 0.831 GB, free: 14.89 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0002655/0.04611, allocations: 233.8 kB / 0.8312 GB, free: 14.66 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.04611, allocations: 0 / 0.8312 GB, free: 14.66 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.04621, allocations: 95.52 kB / 0.8313 GB, free: 14.56 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001028/0.04724, allocations: 0.4919 MB / 0.8318 GB, free: 14.08 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001535/0.04877, allocations: 1.465 MB / 0.8332 GB, free: 12.55 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000116/0.04889, allocations: 199.2 kB / 0.8334 GB, free: 12.33 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0002935/0.04918, allocations: 139.9 kB / 0.8336 GB, free: 12.2 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005652/0.04975, allocations: 429.8 kB / 0.834 GB, free: 11.77 MB / 0.7917 GB Notification: Performance of SimCode: time 7.41e-07/0.04975, allocations: 0 / 0.834 GB, free: 11.77 MB / 0.7917 GB Notification: Performance of Templates: time 0.01972/0.06947, allocations: 17.69 MB / 0.8512 GB, free: 10.54 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.372431080788374]