Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.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.001857/0.001857, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002251/0.002251, allocations: 215.5 kB / 22.25 MB, free: 4.855 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.484/1.484, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] 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.7953/0.7953, allocations: 100.9 MB / 413.3 MB, free: 2.84 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.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_zeroMassFlow,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ThermofluidStream 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: ThermofluidStream requested package Complex of version 4.0.0. Complex 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.002535/0.002535, allocations: 93.08 kB / 0.5641 GB, free: 35.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1393, allocations: 74.61 MB / 0.6369 GB, free: 6.453 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow): time 0.5198/0.659, allocations: 176 MB / 0.8088 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01414/0.6732, allocations: 13.67 MB / 0.8221 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009967/0.6742, allocations: 67.59 kB / 0.8222 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001349/0.6755, allocations: 462.1 kB / 0.8226 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003541/0.6791, allocations: 1.38 MB / 0.824 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0038/0.6829, allocations: 1.468 MB / 0.8254 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001764/0.6846, allocations: 1.392 MB / 0.8268 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003226/0.6849, allocations: 163.8 kB / 0.8269 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002089/0.687, allocations: 1.144 MB / 0.828 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005886/0.6876, allocations: 473.8 kB / 0.8285 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001195/0.6877, allocations: 75.31 kB / 0.8286 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004648/0.6924, allocations: 2.537 MB / 0.831 GB, free: 9.668 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002225/0.6926, allocations: 201 kB / 0.8312 GB, free: 9.5 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004093/0.693, allocations: 411.1 kB / 0.8316 GB, free: 9.25 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003229/0.6962, allocations: 1.975 MB / 0.8336 GB, free: 8.043 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.6962, allocations: 0 / 0.8336 GB, free: 8.043 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.934e-06/0.6962, allocations: 0 / 0.8336 GB, free: 8.043 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.619e-05/0.6963, allocations: 0 / 0.8336 GB, free: 8.043 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002741/0.699, allocations: 1.518 MB / 0.835 GB, free: 6.91 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.699, allocations: 11.97 kB / 0.835 GB, free: 6.91 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001478/0.6992, allocations: 126.4 kB / 0.8352 GB, free: 6.801 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001674/0.7009, allocations: 251 kB / 0.8354 GB, free: 6.672 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001422/0.7023, allocations: 0.7083 MB / 0.8361 GB, free: 6.137 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002925/0.7026, allocations: 288.9 kB / 0.8364 GB, free: 5.848 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001129/0.7027, allocations: 75.33 kB / 0.8364 GB, free: 5.82 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00155/0.7042, allocations: 0.8043 MB / 0.8372 GB, free: 5.344 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.161e-05/0.7043, allocations: 0 / 0.8372 GB, free: 5.344 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.992e-05/0.7043, allocations: 33.34 kB / 0.8373 GB, free: 5.316 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.332e-05/0.7043, allocations: 18.59 kB / 0.8373 GB, free: 5.316 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001554/0.7059, allocations: 0.69 MB / 0.838 GB, free: 4.996 MB / 0.5919 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.003717/0.7096, allocations: 1.984 MB / 0.8399 GB, free: 3.543 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001306/0.7109, allocations: 0.5642 MB / 0.8404 GB, free: 3.242 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006351/0.7116, allocations: 300.9 kB / 0.8407 GB, free: 3.098 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002422/0.7118, allocations: 73.25 kB / 0.8408 GB, free: 3.07 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/0.7118, allocations: 39.88 kB / 0.8408 GB, free: 3.027 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=58): time 2.285e-06/0.7118, allocations: 0 / 0.8408 GB, free: 3.027 MB / 0.5919 GB Notification: Performance of matching and sorting (n=58): time 0.004747/0.7166, allocations: 1.477 MB / 0.8423 GB, free: 2.324 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.694e-05/0.7167, allocations: 67.75 kB / 0.8423 GB, free: 2.25 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007767/0.7174, allocations: 0.6827 MB / 0.843 GB, free: 1.859 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.61e-05/0.7175, allocations: 35.83 kB / 0.843 GB, free: 1.82 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003662/0.7179, allocations: 454.1 kB / 0.8435 GB, free: 1.422 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001784/0.718, allocations: 214.4 kB / 0.8437 GB, free: 1.234 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001785/0.7182, allocations: 116.7 kB / 0.8438 GB, free: 1.164 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001842/0.7184, allocations: 327.3 kB / 0.8441 GB, free: 0.8438 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005466/0.7189, allocations: 239 kB / 0.8443 GB, free: 0.7344 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006127/0.7196, allocations: 286.7 kB / 0.8446 GB, free: 0.582 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001128/0.7207, allocations: 0.5097 MB / 0.8451 GB, free: 332 kB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.7207, allocations: 4.875 kB / 0.8451 GB, free: 328 kB / 0.5919 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002349/0.723, allocations: 0.9531 MB / 0.846 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.7231, allocations: 9.406 kB / 0.846 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.7231, allocations: 0 / 0.846 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007511/0.7238, allocations: 219.7 kB / 0.8463 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005175/0.7243, allocations: 118.8 kB / 0.8464 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00579/0.7301, allocations: 4.728 MB / 0.851 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006549/0.7308, allocations: 71.52 kB / 0.8511 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.681e-05/0.7309, allocations: 37.02 kB / 0.8511 GB, free: 11.24 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004089/0.7313, allocations: 203.2 kB / 0.8513 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002198/0.7315, allocations: 91.5 kB / 0.8514 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003034/0.7345, allocations: 1.311 MB / 0.8527 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.675e-06/0.7345, allocations: 6.531 kB / 0.8527 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.7345, allocations: 2.531 kB / 0.8527 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.956e-06/0.7346, allocations: 3.984 kB / 0.8527 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004007/0.7386, allocations: 1.743 MB / 0.8544 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.7386, allocations: 2.812 kB / 0.8544 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005101/0.7391, allocations: 108.1 kB / 0.8545 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007067/0.7398, allocations: 217.3 kB / 0.8547 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.83e-05/0.7398, allocations: 25.14 kB / 0.8547 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005806/0.7456, allocations: 4.726 MB / 0.8593 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.7456, allocations: 0 / 0.8593 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003476/0.7491, allocations: 1.354 MB / 0.8606 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005524/0.7497, allocations: 135.2 kB / 0.8608 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002304/0.7499, allocations: 16 kB / 0.8608 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000588/0.7505, allocations: 39.95 kB / 0.8608 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001625/0.7507, allocations: 56.22 kB / 0.8609 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.301e-05/0.7507, allocations: 39.98 kB / 0.8609 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007685/0.7515, allocations: 495 kB / 0.8614 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.7515, allocations: 4 kB / 0.8614 GB, free: 2.973 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001363/0.7529, allocations: 402.9 kB / 0.8618 GB, free: 2.578 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,flowResistanceB.inlet.m_flow,flowResistanceA.inlet.m_flow) * 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 (50): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00463/0.7575, allocations: 2.297 MB / 0.864 GB, free: 240 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002224/0.7597, allocations: 0.9749 MB / 0.865 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.7597, allocations: 4.125 kB / 0.865 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001335/0.7611, allocations: 0.7095 MB / 0.8657 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001213/0.7623, allocations: 209.9 kB / 0.8659 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01379/0.7761, allocations: 7.092 MB / 0.8728 GB, free: 7 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004732/0.7766, allocations: 408.8 kB / 0.8732 GB, free: 6.566 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001001/0.7776, allocations: 437.8 kB / 0.8736 GB, free: 6.145 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006556/0.7782, allocations: 423.2 kB / 0.874 GB, free: 5.73 MB / 0.6231 GB Notification: Performance of SimCode: time 9.52e-07/0.7782, allocations: 0 / 0.874 GB, free: 5.73 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07619/0.8544, allocations: 27.53 MB / 0.9009 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.15/15, allocations: 10.16 kB / 0.9009 GB, free: 10.55 MB / 0.6544 GB " [Timeout remaining time 645] (rm -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow_fmu --startTime=0 --stopTime=100 --stepSize=0.1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow.fmu > ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.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: 18.698042983654886]