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.001292/0.001292, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001458/0.001458, allocations: 207.8 kB / 22.99 MB, free: 4.957 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.45/1.45, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.153/3.153, allocations: 0.49 GB / 0.7959 GB, free: 35.57 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002074/0.002074, allocations: 62.8 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.313/0.3151, allocations: 176.1 MB / 1.327 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04438/0.3594, allocations: 38.49 MB / 1.365 GB, free: 10.37 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0154/0.3748, allocations: 9.665 MB / 1.374 GB, free: 0.6758 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001638/0.3765, allocations: 79.31 kB / 1.374 GB, free: 0.5977 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001665/0.3781, allocations: 0.6328 MB / 1.375 GB, free: 15.96 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.005003/0.3831, allocations: 2.018 MB / 1.377 GB, free: 13.93 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002944/0.3861, allocations: 1.222 MB / 1.378 GB, free: 12.72 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.004386/0.3905, allocations: 3.488 MB / 1.381 GB, free: 9.223 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001172/0.3916, allocations: 0.8107 MB / 1.382 GB, free: 8.391 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003119/0.3948, allocations: 1.465 MB / 1.384 GB, free: 6.926 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001278/0.396, allocations: 0.9373 MB / 1.385 GB, free: 5.984 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001644/0.3962, allocations: 100 kB / 1.385 GB, free: 5.887 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001603/0.3978, allocations: 0.7134 MB / 1.385 GB, free: 5.172 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003168/0.3981, allocations: 298.8 kB / 1.386 GB, free: 4.879 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0005838/0.3987, allocations: 0.5055 MB / 1.386 GB, free: 4.371 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002548/0.4013, allocations: 1.954 MB / 1.388 GB, free: 2.41 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.4013, allocations: 0 / 1.388 GB, free: 2.41 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.402e-06/0.4013, allocations: 3.938 kB / 1.388 GB, free: 2.406 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.451e-05/0.4013, allocations: 0 / 1.388 GB, free: 2.406 MB / 1.076 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.002486/0.4038, allocations: 1.485 MB / 1.389 GB, free: 0.8828 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.4038, allocations: 8.031 kB / 1.389 GB, free: 0.875 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003639/0.4042, allocations: 148.1 kB / 1.39 GB, free: 0.7305 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001934/0.4061, allocations: 1.062 MB / 1.391 GB, free: 15.64 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.27e-05/0.4061, allocations: 54 kB / 1.391 GB, free: 15.58 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/0.4063, allocations: 68 kB / 1.391 GB, free: 15.52 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001519/0.4078, allocations: 0.945 MB / 1.392 GB, free: 14.5 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.906e-05/0.4078, allocations: 11.89 kB / 1.392 GB, free: 14.49 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.045e-05/0.4079, allocations: 28 kB / 1.392 GB, free: 14.46 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.999e-05/0.4079, allocations: 20 kB / 1.392 GB, free: 14.44 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001162/0.4091, allocations: 0.5711 MB / 1.392 GB, free: 13.87 MB / 1.092 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.003752/0.4128, allocations: 2.597 MB / 1.395 GB, free: 11.2 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005952/0.4134, allocations: 249.2 kB / 1.395 GB, free: 10.95 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003591/0.4138, allocations: 160.8 kB / 1.395 GB, free: 10.79 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002462/0.414, allocations: 63.89 kB / 1.395 GB, free: 10.72 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.939e-05/0.4141, allocations: 42.56 kB / 1.395 GB, free: 10.67 MB / 1.092 GB Notification: Performance of pre-optimization done (n=31): time 1.743e-06/0.4141, allocations: 0 / 1.395 GB, free: 10.67 MB / 1.092 GB Notification: Performance of matching and sorting (n=31): time 0.001217/0.4153, allocations: 0.5013 MB / 1.396 GB, free: 10.16 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/0.4153, allocations: 59.41 kB / 1.396 GB, free: 10.09 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001021/0.4163, allocations: 0.8139 MB / 1.397 GB, free: 9.266 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 4.297e-05/0.4164, allocations: 33.7 kB / 1.397 GB, free: 9.227 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004167/0.4168, allocations: 0.5195 MB / 1.397 GB, free: 8.703 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001089/0.4169, allocations: 107.1 kB / 1.397 GB, free: 8.598 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001743/0.4171, allocations: 118.2 kB / 1.397 GB, free: 8.473 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.4172, allocations: 329.9 kB / 1.398 GB, free: 8.145 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003878/0.4176, allocations: 169.2 kB / 1.398 GB, free: 7.98 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006193/0.4182, allocations: 0.4942 MB / 1.398 GB, free: 7.371 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008765/0.4191, allocations: 0.5154 MB / 1.399 GB, free: 6.785 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.4191, allocations: 4 kB / 1.399 GB, free: 6.781 MB / 1.092 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00118/0.4203, allocations: 0.6099 MB / 1.399 GB, free: 6.164 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.4203, allocations: 8 kB / 1.399 GB, free: 6.156 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/0.4203, allocations: 11.98 kB / 1.399 GB, free: 6.145 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.158e-05/0.4204, allocations: 8 kB / 1.399 GB, free: 6.137 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004699/0.4208, allocations: 119.8 kB / 1.4 GB, free: 6.02 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.842e-05/0.4208, allocations: 16.36 kB / 1.4 GB, free: 6.004 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005421/0.4214, allocations: 79.53 kB / 1.4 GB, free: 5.926 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.676e-05/0.4214, allocations: 24 kB / 1.4 GB, free: 5.902 MB / 1.092 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.0004008/0.4218, allocations: 273.6 kB / 1.4 GB, free: 5.625 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001548/0.422, allocations: 91.42 kB / 1.4 GB, free: 5.535 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001021/0.423, allocations: 486.9 kB / 1.401 GB, free: 5.047 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/0.423, allocations: 7.984 kB / 1.401 GB, free: 5.039 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.423, allocations: 3.938 kB / 1.401 GB, free: 5.035 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007594/0.4238, allocations: 457.4 kB / 1.401 GB, free: 4.559 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002005/0.4258, allocations: 1.155 MB / 1.402 GB, free: 3.352 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.049e-05/0.4258, allocations: 4 kB / 1.402 GB, free: 3.348 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003482/0.4262, allocations: 71.89 kB / 1.402 GB, free: 3.277 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/0.4262, allocations: 0 / 1.402 GB, free: 3.277 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.252e-05/0.4262, allocations: 23.92 kB / 1.402 GB, free: 3.254 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.4262, allocations: 3.938 kB / 1.402 GB, free: 3.25 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.4262, allocations: 4 kB / 1.402 GB, free: 3.246 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001312/0.4275, allocations: 0.7627 MB / 1.403 GB, free: 2.453 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003023/0.4278, allocations: 139.3 kB / 1.403 GB, free: 2.316 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.751e-05/0.4279, allocations: 11.94 kB / 1.403 GB, free: 2.305 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004678/0.4284, allocations: 32.03 kB / 1.403 GB, free: 2.273 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.695e-05/0.4284, allocations: 27.95 kB / 1.403 GB, free: 2.246 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-05/0.4285, allocations: 23.98 kB / 1.403 GB, free: 2.223 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0007454/0.4292, allocations: 0.5498 MB / 1.404 GB, free: 1.68 MB / 1.092 GB Notification: Performance of sort global known variables: time 7e-08/0.4292, allocations: 0 / 1.404 GB, free: 1.68 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0009952/0.4302, allocations: 363 kB / 1.404 GB, free: 1.324 MB / 1.092 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.0006299/0.4309, allocations: 369.2 kB / 1.404 GB, free: 0.957 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0008945/0.4318, allocations: 408.3 kB / 1.405 GB, free: 0.5586 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4318, allocations: 0 / 1.405 GB, free: 0.5586 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0003879/0.4321, allocations: 171.8 kB / 1.405 GB, free: 400 kB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002079/0.4342, allocations: 487.2 kB / 1.405 GB, free: 15.93 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002511/0.4367, allocations: 1.602 MB / 1.407 GB, free: 14.27 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004711/0.4372, allocations: 452.6 kB / 1.407 GB, free: 13.8 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0005443/0.4378, allocations: 173.9 kB / 1.408 GB, free: 13.63 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001527/0.4379, allocations: 71.42 kB / 1.408 GB, free: 13.56 MB / 1.107 GB Notification: Performance of SimCode: time 5.91e-07/0.4379, allocations: 4 kB / 1.408 GB, free: 13.55 MB / 1.107 GB Notification: Performance of Templates: time 0.03345/0.4714, allocations: 20.48 MB / 1.428 GB, free: 9.492 MB / 1.123 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=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.133424803992966]