Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.001555/0.001555, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001699/0.001699, allocations: 165.9 kB / 22.46 MB, free: 2.105 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 1.265/1.265, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo): time 0.9261/0.9261, allocations: 80.18 MB / 339.4 MB, free: 7.559 MB / 314.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/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_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.065e-06/3.065e-06, allocations: 0 / 0.4924 GB, free: 6.535 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.659e-05/3.965e-05, allocations: 4.531 kB / 0.4924 GB, free: 6.531 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow): time 0.9705/0.9705, allocations: 179.9 MB / 0.668 GB, free: 4.23 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.01619/0.9867, allocations: 10.3 MB / 0.6781 GB, free: 4.109 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002564/0.9893, allocations: 63.19 kB / 0.6781 GB, free: 4.109 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.002332/0.9916, allocations: 489.5 kB / 0.6786 GB, free: 4.09 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.007566/0.9992, allocations: 1.465 MB / 0.68 GB, free: 4.047 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.006919/1.006, allocations: 1.503 MB / 0.6815 GB, free: 3.922 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.003768/1.01, allocations: 1.589 MB / 0.6831 GB, free: 3.488 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005561/1.01, allocations: 159.7 kB / 0.6832 GB, free: 3.445 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004146/1.015, allocations: 1.424 MB / 0.6846 GB, free: 3.32 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006284/1.015, allocations: 401.1 kB / 0.685 GB, free: 3.27 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0001239/1.015, allocations: 79.69 kB / 0.6851 GB, free: 3.27 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00734/1.023, allocations: 2.537 MB / 0.6875 GB, free: 3.188 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.000198/1.023, allocations: 207.7 kB / 0.6877 GB, free: 3.137 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0005963/1.023, allocations: 358.7 kB / 0.6881 GB, free: 3.09 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.006652/1.03, allocations: 2.099 MB / 0.6901 GB, free: 2.863 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 9.047e-06/1.03, allocations: 1.969 kB / 0.6901 GB, free: 2.863 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.457e-06/1.03, allocations: 0 / 0.6901 GB, free: 2.863 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 3.622e-05/1.03, allocations: 0.75 kB / 0.6901 GB, free: 2.863 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 185 * Number of variables: 185 Notification: Performance of Generate backend data structure: time 0.003673/1.034, allocations: 1.54 MB / 0.6916 GB, free: 2.066 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 8.11e-05/1.034, allocations: 13.78 kB / 0.6916 GB, free: 2.066 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001696/1.034, allocations: 123.5 kB / 0.6918 GB, free: 2.027 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001291/1.035, allocations: 259.3 kB / 0.692 GB, free: 1.957 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001755/1.037, allocations: 0.7386 MB / 0.6927 GB, free: 1.664 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003264/1.037, allocations: 291.6 kB / 0.693 GB, free: 1.414 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001454/1.038, allocations: 74.91 kB / 0.6931 GB, free: 1.41 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001462/1.039, allocations: 0.8239 MB / 0.6939 GB, free: 1.309 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.401e-05/1.039, allocations: 3.984 kB / 0.6939 GB, free: 1.305 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.555e-05/1.039, allocations: 30.56 kB / 0.6939 GB, free: 1.305 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.748e-05/1.039, allocations: 16.62 kB / 0.6939 GB, free: 1.305 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001343/1.041, allocations: 0.7021 MB / 0.6946 GB, free: 1.301 MB / 0.5417 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.004143/1.045, allocations: 2.167 MB / 0.6967 GB, free: 0.543 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001447/1.046, allocations: 0.5648 MB / 0.6973 GB, free: 0.5078 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005231/1.047, allocations: 305.4 kB / 0.6976 GB, free: 0.5 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003497/1.047, allocations: 73.17 kB / 0.6976 GB, free: 0.5 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.874e-05/1.047, allocations: 42.45 kB / 0.6977 GB, free: 472 kB / 0.5417 GB Notification: Performance of pre-optimization done (n=58): time 5.771e-06/1.047, allocations: 0 / 0.6977 GB, free: 472 kB / 0.5417 GB Notification: Performance of matching and sorting (n=58): time 0.003736/1.051, allocations: 1.481 MB / 0.6991 GB, free: 340 kB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.187e-05/1.051, allocations: 60.81 kB / 0.6992 GB, free: 276 kB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008542/1.052, allocations: 0.7096 MB / 0.6999 GB, free: 136 kB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.738e-05/1.052, allocations: 44.39 kB / 0.6999 GB, free: 104 kB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005876/1.052, allocations: 467 kB / 0.7004 GB, free: 15.92 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002657/1.053, allocations: 212.1 kB / 0.7006 GB, free: 15.78 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002076/1.053, allocations: 114.2 kB / 0.7007 GB, free: 15.76 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001477/1.053, allocations: 330.4 kB / 0.701 GB, free: 15.46 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004367/1.053, allocations: 236 kB / 0.7012 GB, free: 15.45 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004582/1.054, allocations: 306.5 kB / 0.7015 GB, free: 15.41 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001035/1.055, allocations: 0.5276 MB / 0.702 GB, free: 15.36 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.907e-06/1.055, allocations: 0 / 0.702 GB, free: 15.36 MB / 0.5573 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0025/1.057, allocations: 0.97 MB / 0.703 GB, free: 15.23 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 4.195e-05/1.057, allocations: 9.75 kB / 0.703 GB, free: 15.23 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/1.057, allocations: 2.578 kB / 0.703 GB, free: 15.23 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007698/1.058, allocations: 218.3 kB / 0.7032 GB, free: 15.21 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003867/1.059, allocations: 127.8 kB / 0.7033 GB, free: 15.21 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005837/1.064, allocations: 4.713 MB / 0.7079 GB, free: 11.52 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009064/1.065, allocations: 74.25 kB / 0.708 GB, free: 11.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001057/1.065, allocations: 43.62 kB / 0.708 GB, free: 11.5 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (60): * Single equations (assignments): 57 * 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.0005934/1.066, allocations: 202.4 kB / 0.7082 GB, free: 11.38 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003238/1.066, allocations: 97.02 kB / 0.7083 GB, free: 11.33 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002948/1.069, allocations: 1.325 MB / 0.7096 GB, free: 11.18 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/1.069, allocations: 5.125 kB / 0.7096 GB, free: 11.18 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.387e-06/1.069, allocations: 2.938 kB / 0.7096 GB, free: 11.18 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/1.069, allocations: 7.234 kB / 0.7096 GB, free: 11.18 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003692/1.073, allocations: 1.752 MB / 0.7113 GB, free: 10.79 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.786e-06/1.073, allocations: 3.125 kB / 0.7113 GB, free: 10.79 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003389/1.073, allocations: 112 kB / 0.7114 GB, free: 10.78 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000546/1.074, allocations: 219.2 kB / 0.7117 GB, free: 10.75 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.097e-05/1.074, allocations: 24.22 kB / 0.7117 GB, free: 10.75 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00595/1.08, allocations: 4.712 MB / 0.7163 GB, free: 6.84 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/1.08, allocations: 3.188 kB / 0.7163 GB, free: 6.84 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003057/1.083, allocations: 1.355 MB / 0.7176 GB, free: 6.25 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005271/1.084, allocations: 140.9 kB / 0.7177 GB, free: 6.164 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.986e-05/1.084, allocations: 13.34 kB / 0.7178 GB, free: 6.156 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000354/1.084, allocations: 43.5 kB / 0.7178 GB, free: 6.145 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000218/1.084, allocations: 55.45 kB / 0.7178 GB, free: 6.137 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-05/1.084, allocations: 33.06 kB / 0.7179 GB, free: 6.133 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0008625/1.085, allocations: 0.4954 MB / 0.7184 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8e-08/1.085, allocations: 0 / 0.7184 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001962/1.087, allocations: 425.8 kB / 0.7188 GB, free: 5.812 MB / 0.5573 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.004444/1.092, allocations: 2.329 MB / 0.721 GB, free: 4.559 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.002263/1.094, allocations: 0.9786 MB / 0.722 GB, free: 3.926 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.879e-06/1.094, allocations: 2.469 kB / 0.722 GB, free: 3.926 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001017/1.095, allocations: 0.7052 MB / 0.7227 GB, free: 3.418 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001468/1.096, allocations: 311.1 kB / 0.723 GB, free: 3.254 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01506/1.111, allocations: 7.155 MB / 0.73 GB, free: 14.95 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004953/1.112, allocations: 419 kB / 0.7304 GB, free: 14.71 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001541/1.113, allocations: 459.2 kB / 0.7308 GB, free: 14.5 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006543/1.114, allocations: 429.9 kB / 0.7312 GB, free: 14.16 MB / 0.573 GB Notification: Performance of SimCode: time 3.296e-06/1.114, allocations: 0 / 0.7312 GB, free: 14.16 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09644/1.21, allocations: 30.28 MB / 0.7608 GB, free: 1.598 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.08/11.29, allocations: 6.906 kB / 0.7608 GB, free: 1.594 MB / 0.5886 GB " [Timeout remaining time 649] (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow_fmu --startTime=0 --stopTime=100 --stepSize=0.1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow.fmu > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_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: 15.30950434692204]