Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.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.0007555/0.0007555, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.000724/0.000724, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8356/0.8356, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.586/0.586, allocations: 116 MB / 375.2 MB, free: 4.184 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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: "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 0.5532 GB, free: 13.33 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.607e-06/9.88e-06, allocations: 2.281 kB / 0.5533 GB, free: 13.33 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial): time 0.4159/0.4159, allocations: 210 MB / 0.7583 GB, free: 9.523 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01242/0.4283, allocations: 16.99 MB / 0.7749 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008244/0.4292, allocations: 99.06 kB / 0.775 GB, free: 10.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001259/0.4304, allocations: 0.7327 MB / 0.7757 GB, free: 9.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.003235/0.4336, allocations: 2.249 MB / 0.7779 GB, free: 7.719 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003259/0.4369, allocations: 2.234 MB / 0.7801 GB, free: 5.477 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001423/0.4383, allocations: 2.565 MB / 0.7826 GB, free: 2.902 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000284/0.4386, allocations: 253.9 kB / 0.7829 GB, free: 2.629 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001729/0.4403, allocations: 1.928 MB / 0.7847 GB, free: 0.6953 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004772/0.4408, allocations: 0.6541 MB / 0.7854 GB, free: 40 kB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001192/0.4409, allocations: 132 kB / 0.7855 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003779/0.4447, allocations: 3.948 MB / 0.7894 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001796/0.4449, allocations: 350.4 kB / 0.7897 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.000337/0.4452, allocations: 0.5765 MB / 0.7903 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002509/0.4477, allocations: 3.221 MB / 0.7934 GB, free: 7.805 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.4477, allocations: 0 / 0.7934 GB, free: 7.805 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4477, allocations: 0 / 0.7934 GB, free: 7.805 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.336e-05/0.4478, allocations: 0 / 0.7934 GB, free: 7.805 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 318 * Number of variables: 318 Notification: Performance of Generate backend data structure: time 0.002374/0.4501, allocations: 2.341 MB / 0.7957 GB, free: 5.422 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.102e-05/0.4502, allocations: 8.031 kB / 0.7957 GB, free: 5.414 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001394/0.4503, allocations: 194 kB / 0.7959 GB, free: 5.215 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001414/0.4517, allocations: 450.4 kB / 0.7963 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001207/0.4529, allocations: 1.065 MB / 0.7973 GB, free: 3.66 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002676/0.4532, allocations: 0.5586 MB / 0.7979 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001264/0.4533, allocations: 132 kB / 0.798 GB, free: 2.875 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001512/0.4548, allocations: 1.424 MB / 0.7994 GB, free: 1.395 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.945e-05/0.4549, allocations: 3.938 kB / 0.7994 GB, free: 1.391 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-05/0.4549, allocations: 52 kB / 0.7995 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.412e-05/0.4549, allocations: 32 kB / 0.7995 GB, free: 1.309 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001595/0.4565, allocations: 1.27 MB / 0.8007 GB, free: 32 kB / 0.6355 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.003549/0.4601, allocations: 3.656 MB / 0.8043 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001612/0.4617, allocations: 1.265 MB / 0.8055 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007613/0.4625, allocations: 0.6358 MB / 0.8062 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000223/0.4627, allocations: 144.9 kB / 0.8063 GB, free: 10.24 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.4627, allocations: 47.5 kB / 0.8063 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=113): time 2.074e-06/0.4627, allocations: 0 / 0.8063 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of matching and sorting (n=113): time 0.004624/0.4673, allocations: 2.821 MB / 0.8091 GB, free: 7.34 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.874e-05/0.4674, allocations: 60.41 kB / 0.8092 GB, free: 7.27 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006747/0.468, allocations: 0.9677 MB / 0.8101 GB, free: 6.293 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.143e-05/0.4681, allocations: 45.7 kB / 0.8101 GB, free: 6.242 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000286/0.4684, allocations: 0.6627 MB / 0.8108 GB, free: 5.574 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001867/0.4686, allocations: 404.4 kB / 0.8112 GB, free: 5.176 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002051/0.4688, allocations: 214.9 kB / 0.8114 GB, free: 4.961 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.875e-05/0.4689, allocations: 341.9 kB / 0.8117 GB, free: 4.621 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005954/0.4694, allocations: 462.3 kB / 0.8121 GB, free: 4.168 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006531/0.4701, allocations: 0.5632 MB / 0.8127 GB, free: 3.586 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001244/0.4713, allocations: 1.009 MB / 0.8137 GB, free: 2.555 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.4713, allocations: 3.938 kB / 0.8137 GB, free: 2.551 MB / 0.6511 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002475/0.4738, allocations: 1.772 MB / 0.8154 GB, free: 0.7617 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.4738, allocations: 8.125 kB / 0.8154 GB, free: 0.7539 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.4738, allocations: 4 kB / 0.8154 GB, free: 0.75 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006403/0.4745, allocations: 375 kB / 0.8158 GB, free: 384 kB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004957/0.475, allocations: 255.7 kB / 0.816 GB, free: 128 kB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005038/0.48, allocations: 6.948 MB / 0.8228 GB, free: 8.715 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003962/0.4804, allocations: 131.5 kB / 0.8229 GB, free: 8.586 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.914e-05/0.4805, allocations: 71.97 kB / 0.823 GB, free: 8.516 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (114): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,2,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002948/0.4808, allocations: 269.6 kB / 0.8233 GB, free: 8.242 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001451/0.4809, allocations: 155 kB / 0.8234 GB, free: 8.09 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003057/0.484, allocations: 2.531 MB / 0.8259 GB, free: 5.539 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.484, allocations: 12 kB / 0.8259 GB, free: 5.527 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.368e-06/0.484, allocations: 4 kB / 0.8259 GB, free: 5.523 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.836e-06/0.484, allocations: 12.78 kB / 0.8259 GB, free: 5.512 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003532/0.4875, allocations: 3.055 MB / 0.8289 GB, free: 2.387 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/0.4875, allocations: 0 / 0.8289 GB, free: 2.387 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006314/0.4882, allocations: 239.6 kB / 0.8291 GB, free: 2.152 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005737/0.4887, allocations: 384.3 kB / 0.8295 GB, free: 1.766 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-05/0.4888, allocations: 48.34 kB / 0.8295 GB, free: 1.719 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004672/0.4935, allocations: 6.874 MB / 0.8363 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4935, allocations: 0 / 0.8363 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003057/0.4965, allocations: 2.495 MB / 0.8387 GB, free: 7.848 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002689/0.4968, allocations: 242.7 kB / 0.8389 GB, free: 7.609 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.692e-05/0.4969, allocations: 27.98 kB / 0.8389 GB, free: 7.582 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003862/0.4973, allocations: 75.92 kB / 0.839 GB, free: 7.508 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.4974, allocations: 112.6 kB / 0.8391 GB, free: 7.395 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.353e-05/0.4975, allocations: 67.97 kB / 0.8392 GB, free: 7.328 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0004841/0.4979, allocations: 0.6565 MB / 0.8398 GB, free: 6.668 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4979, allocations: 0 / 0.8398 GB, free: 6.668 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0008539/0.4988, allocations: 0.6391 MB / 0.8405 GB, free: 6.027 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,counterFlowNTU1.h_out_A,counterFlowNTU1.h_out_B,mCV.inlet.m_flow,mCV.dp_int,mCV1.inlet.m_flow,mCV1.dp_int) * 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 (106): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,5,100.0%), (1,5,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00405/0.5028, allocations: 3.646 MB / 0.844 GB, free: 2.34 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001998/0.5048, allocations: 1.776 MB / 0.8458 GB, free: 0.5117 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.5048, allocations: 4 kB / 0.8458 GB, free: 0.5078 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001103/0.5059, allocations: 1.199 MB / 0.8469 GB, free: 15.26 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/0.507, allocations: 482 kB / 0.8474 GB, free: 14.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01162/0.5186, allocations: 11.15 MB / 0.8583 GB, free: 3.422 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003925/0.519, allocations: 0.6375 MB / 0.8589 GB, free: 2.75 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001003/0.52, allocations: 0.8483 MB / 0.8597 GB, free: 1.906 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006385/0.5207, allocations: 0.7111 MB / 0.8604 GB, free: 1.195 MB / 0.698 GB Notification: Performance of SimCode: time 1.022e-06/0.5207, allocations: 0 / 0.8604 GB, free: 1.195 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05314/0.5738, allocations: 45.54 MB / 0.9049 GB, free: 4.207 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.9/8.474, allocations: 7.922 kB / 0.9049 GB, free: 4.199 MB / 0.7448 GB " [Timeout remaining time 651] (rm -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial_fmu --startTime=0 --stopTime=100 --stepSize=0.1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial.fmu > ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.908570192754269]