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.001317/0.001317, allocations: 100.8 kB / 19.74 MB, free: 2.07 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.00143/0.00143, allocations: 213.4 kB / 23.04 MB, free: 4.863 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.426/1.426, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.105/3.105, allocations: 0.49 GB / 0.7959 GB, free: 35.52 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.002039/0.002039, allocations: 65.02 kB / 1.155 GB, free: 25.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3467/0.3487, allocations: 176.1 MB / 1.327 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04275/0.3915, allocations: 38.49 MB / 1.365 GB, free: 10.31 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01505/0.4065, allocations: 9.655 MB / 1.374 GB, free: 0.6328 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00207/0.4086, allocations: 83.31 kB / 1.374 GB, free: 0.5508 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.002014/0.4106, allocations: 0.6327 MB / 1.375 GB, free: 15.91 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.005806/0.4164, allocations: 2.013 MB / 1.377 GB, free: 13.89 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003301/0.4197, allocations: 1.221 MB / 1.378 GB, free: 12.68 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.004939/0.4247, allocations: 3.451 MB / 1.381 GB, free: 9.223 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00144/0.4261, allocations: 0.8067 MB / 1.382 GB, free: 8.395 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003619/0.4297, allocations: 1.463 MB / 1.384 GB, free: 6.93 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001582/0.4313, allocations: 0.8826 MB / 1.384 GB, free: 6.043 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001858/0.4315, allocations: 100 kB / 1.385 GB, free: 5.945 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001841/0.4333, allocations: 0.7135 MB / 1.385 GB, free: 5.23 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003235/0.4336, allocations: 290.8 kB / 1.386 GB, free: 4.945 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0007096/0.4344, allocations: 0.521 MB / 1.386 GB, free: 4.422 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.003168/0.4375, allocations: 1.954 MB / 1.388 GB, free: 2.461 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.4375, allocations: 0 / 1.388 GB, free: 2.461 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.673e-06/0.4375, allocations: 0 / 1.388 GB, free: 2.461 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.312e-05/0.4376, allocations: 0 / 1.388 GB, free: 2.461 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.002831/0.4404, allocations: 1.469 MB / 1.389 GB, free: 0.9531 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.4404, allocations: 16.02 kB / 1.389 GB, free: 0.9375 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004221/0.4409, allocations: 144.1 kB / 1.39 GB, free: 0.7969 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002089/0.4429, allocations: 1.063 MB / 1.391 GB, free: 15.7 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.374e-05/0.443, allocations: 61.98 kB / 1.391 GB, free: 15.64 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001168/0.4431, allocations: 72 kB / 1.391 GB, free: 15.57 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001512/0.4446, allocations: 0.9372 MB / 1.392 GB, free: 14.56 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.699e-05/0.4446, allocations: 11.88 kB / 1.392 GB, free: 14.55 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.066e-05/0.4447, allocations: 28 kB / 1.392 GB, free: 14.52 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.683e-05/0.4448, allocations: 24 kB / 1.392 GB, free: 14.5 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001135/0.4459, allocations: 0.5633 MB / 1.392 GB, free: 13.93 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.004107/0.45, allocations: 2.605 MB / 1.395 GB, free: 11.25 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000618/0.4506, allocations: 252.9 kB / 1.395 GB, free: 11 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00035/0.451, allocations: 160.8 kB / 1.395 GB, free: 10.84 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002555/0.4512, allocations: 59.95 kB / 1.395 GB, free: 10.78 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.766e-05/0.4513, allocations: 38.56 kB / 1.395 GB, free: 10.73 MB / 1.092 GB Notification: Performance of pre-optimization done (n=31): time 2.245e-06/0.4513, allocations: 0 / 1.395 GB, free: 10.73 MB / 1.092 GB Notification: Performance of matching and sorting (n=31): time 0.001346/0.4526, allocations: 0.513 MB / 1.396 GB, free: 10.21 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.896e-05/0.4527, allocations: 55.41 kB / 1.396 GB, free: 10.14 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001084/0.4537, allocations: 0.81 MB / 1.397 GB, free: 9.32 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 5.045e-05/0.4538, allocations: 33.7 kB / 1.397 GB, free: 9.281 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004667/0.4543, allocations: 0.5078 MB / 1.397 GB, free: 8.77 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001219/0.4544, allocations: 119 kB / 1.397 GB, free: 8.652 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001916/0.4546, allocations: 114.2 kB / 1.397 GB, free: 8.531 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001662/0.4547, allocations: 329.9 kB / 1.398 GB, free: 8.203 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003698/0.4551, allocations: 173.2 kB / 1.398 GB, free: 8.035 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006375/0.4557, allocations: 0.498 MB / 1.398 GB, free: 7.422 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008996/0.4566, allocations: 0.5155 MB / 1.399 GB, free: 6.836 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.4566, allocations: 0 / 1.399 GB, free: 6.836 MB / 1.092 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001246/0.4579, allocations: 0.6058 MB / 1.399 GB, free: 6.223 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.4579, allocations: 8.688 kB / 1.399 GB, free: 6.215 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.4579, allocations: 7.984 kB / 1.399 GB, free: 6.207 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.968e-05/0.458, allocations: 12 kB / 1.399 GB, free: 6.195 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004741/0.4584, allocations: 123.8 kB / 1.4 GB, free: 6.074 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.663e-05/0.4585, allocations: 15.88 kB / 1.4 GB, free: 6.059 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000571/0.459, allocations: 71.53 kB / 1.4 GB, free: 5.988 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.858e-05/0.4591, allocations: 24 kB / 1.4 GB, free: 5.965 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.0004422/0.4595, allocations: 277.6 kB / 1.4 GB, free: 5.684 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001767/0.4597, allocations: 87.44 kB / 1.4 GB, free: 5.598 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001036/0.4607, allocations: 486.2 kB / 1.401 GB, free: 5.113 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.389e-05/0.4607, allocations: 8 kB / 1.401 GB, free: 5.105 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.565e-06/0.4607, allocations: 3.984 kB / 1.401 GB, free: 5.102 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007486/0.4615, allocations: 453.5 kB / 1.401 GB, free: 4.629 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002207/0.4637, allocations: 1.151 MB / 1.402 GB, free: 3.426 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.4637, allocations: 4 kB / 1.402 GB, free: 3.422 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003427/0.4641, allocations: 84.03 kB / 1.402 GB, free: 3.34 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-06/0.4641, allocations: 3.984 kB / 1.402 GB, free: 3.336 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.574e-05/0.4641, allocations: 11.94 kB / 1.402 GB, free: 3.324 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.075e-05/0.4641, allocations: 11.92 kB / 1.402 GB, free: 3.312 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.4641, allocations: 4 kB / 1.402 GB, free: 3.309 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001385/0.4655, allocations: 0.7664 MB / 1.403 GB, free: 2.512 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003654/0.4659, allocations: 139.3 kB / 1.403 GB, free: 2.375 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.766e-05/0.4659, allocations: 8 kB / 1.403 GB, free: 2.367 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004327/0.4664, allocations: 35.91 kB / 1.403 GB, free: 2.332 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.435e-05/0.4665, allocations: 27.94 kB / 1.403 GB, free: 2.305 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.121e-05/0.4665, allocations: 20.05 kB / 1.403 GB, free: 2.285 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.000752/0.4672, allocations: 0.5498 MB / 1.404 GB, free: 1.742 MB / 1.092 GB Notification: Performance of sort global known variables: time 7e-08/0.4672, allocations: 0 / 1.404 GB, free: 1.742 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001107/0.4684, allocations: 363 kB / 1.404 GB, free: 1.387 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.0006647/0.469, allocations: 366.5 kB / 1.404 GB, free: 1.02 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0009479/0.47, allocations: 404.8 kB / 1.405 GB, free: 0.625 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.47, allocations: 0 / 1.405 GB, free: 0.625 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0003868/0.4704, allocations: 184.1 kB / 1.405 GB, free: 456 kB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002097/0.4725, allocations: 475.7 kB / 1.405 GB, free: 15.99 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002768/0.4752, allocations: 1.629 MB / 1.407 GB, free: 14.3 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004726/0.4757, allocations: 448.6 kB / 1.407 GB, free: 13.84 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002203/0.4759, allocations: 83.41 kB / 1.408 GB, free: 13.75 MB / 1.107 GB Notification: Performance of SimCode: time 1.222e-06/0.4759, allocations: 0 / 1.408 GB, free: 13.75 MB / 1.107 GB Notification: Performance of Templates: time 0.02885/0.5048, allocations: 16.92 MB / 1.424 GB, free: 12.95 MB / 1.123 GB " [Timeout remaining time 299] 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 -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: 14.310345008969307]