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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001773/0.001773, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002313/0.002313, allocations: 192.9 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.588/1.588, allocations: 222.9 MB / 240.2 MB, free: 4.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7935/0.7935, allocations: 93.72 MB / 384.1 MB, free: 6.977 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.002438/0.002438, allocations: 86.08 kB / 463.5 MB, free: 21.95 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1451, allocations: 68.25 MB / 0.5193 GB, free: 6.891 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow): time 0.5558/0.701, allocations: 201.9 MB / 0.7164 GB, free: 0.7031 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01983/0.7209, allocations: 15.06 MB / 0.7311 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001342/0.7223, allocations: 43.75 kB / 0.7312 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001835/0.7242, allocations: 0.5239 MB / 0.7317 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004662/0.7288, allocations: 1.321 MB / 0.733 GB, free: 15.69 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004706/0.7336, allocations: 1.474 MB / 0.7344 GB, free: 14.21 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002194/0.7358, allocations: 1.394 MB / 0.7358 GB, free: 12.82 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004705/0.7363, allocations: 264.5 kB / 0.736 GB, free: 12.54 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002349/0.7386, allocations: 1.07 MB / 0.7371 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006892/0.7393, allocations: 0.5014 MB / 0.7376 GB, free: 10.96 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001313/0.7395, allocations: 80 kB / 0.7376 GB, free: 10.88 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005801/0.7453, allocations: 2.574 MB / 0.7402 GB, free: 8.309 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000297/0.7456, allocations: 207.1 kB / 0.7404 GB, free: 8.105 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0007686/0.7464, allocations: 0.5011 MB / 0.7408 GB, free: 7.602 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.004259/0.7506, allocations: 1.932 MB / 0.7427 GB, free: 5.664 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.7507, allocations: 0 / 0.7427 GB, free: 5.664 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.705e-06/0.7507, allocations: 3.938 kB / 0.7427 GB, free: 5.66 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.525e-05/0.7508, allocations: 0 / 0.7427 GB, free: 5.66 MB / 0.545 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.003363/0.7542, allocations: 1.555 MB / 0.7443 GB, free: 4.055 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.7542, allocations: 12.03 kB / 0.7443 GB, free: 4.043 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001518/0.7544, allocations: 122.5 kB / 0.7444 GB, free: 3.914 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001842/0.7562, allocations: 239.8 kB / 0.7446 GB, free: 3.68 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001208/0.7574, allocations: 0.7242 MB / 0.7453 GB, free: 2.91 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00027/0.7577, allocations: 184.8 kB / 0.7455 GB, free: 2.707 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001525/0.7579, allocations: 72 kB / 0.7456 GB, free: 2.637 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001944/0.7598, allocations: 0.8257 MB / 0.7464 GB, free: 1.793 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.15e-05/0.76, allocations: 0 / 0.7464 GB, free: 1.793 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001106/0.7601, allocations: 32 kB / 0.7464 GB, free: 1.762 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.814e-05/0.7601, allocations: 16 kB / 0.7464 GB, free: 1.746 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001553/0.7617, allocations: 0.6597 MB / 0.7471 GB, free: 1.09 MB / 0.545 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.005247/0.7669, allocations: 3.218 MB / 0.7502 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001583/0.7685, allocations: 0.5977 MB / 0.7508 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008244/0.7694, allocations: 346.4 kB / 0.7511 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008282/0.7702, allocations: 0.903 MB / 0.752 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.968e-05/0.7703, allocations: 39.12 kB / 0.752 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=58): time 2.194e-06/0.7703, allocations: 0 / 0.752 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=58): time 0.005439/0.7757, allocations: 1.682 MB / 0.7537 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.886e-05/0.7758, allocations: 55.97 kB / 0.7537 GB, free: 9.676 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001034/0.7768, allocations: 0.6849 MB / 0.7544 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.02e-05/0.7769, allocations: 49.58 kB / 0.7544 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00035/0.7773, allocations: 448.1 kB / 0.7549 GB, free: 8.484 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000179/0.7774, allocations: 197.1 kB / 0.7551 GB, free: 8.289 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002137/0.7777, allocations: 110.2 kB / 0.7552 GB, free: 8.176 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002414/0.7779, allocations: 326 kB / 0.7555 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00071/0.7787, allocations: 261.8 kB / 0.7557 GB, free: 7.598 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007492/0.7794, allocations: 308.6 kB / 0.756 GB, free: 7.285 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001474/0.7809, allocations: 0.5484 MB / 0.7566 GB, free: 6.73 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.7809, allocations: 0 / 0.7566 GB, free: 6.73 MB / 0.5606 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.003205/0.7841, allocations: 1.027 MB / 0.7576 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.7842, allocations: 8 kB / 0.7576 GB, free: 5.676 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.7842, allocations: 0 / 0.7576 GB, free: 5.676 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009188/0.7851, allocations: 234.3 kB / 0.7578 GB, free: 5.438 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008261/0.786, allocations: 149 kB / 0.7579 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006871/0.7928, allocations: 5.103 MB / 0.7629 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007232/0.7936, allocations: 79.38 kB / 0.763 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.577e-05/0.7937, allocations: 39.98 kB / 0.763 GB, free: 15.65 MB / 0.5762 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 {(3,1,88.9%), (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.0003913/0.7941, allocations: 201.7 kB / 0.7632 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001808/0.7943, allocations: 86.88 kB / 0.7633 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004268/0.7986, allocations: 1.402 MB / 0.7647 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/0.7986, allocations: 7.938 kB / 0.7647 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.7986, allocations: 4 kB / 0.7647 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.7987, allocations: 3.984 kB / 0.7647 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004708/0.8034, allocations: 2.075 MB / 0.7667 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.8034, allocations: 4.156 kB / 0.7667 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000799/0.8042, allocations: 131.8 kB / 0.7668 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008199/0.805, allocations: 234.3 kB / 0.7671 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002017/0.8052, allocations: 27.92 kB / 0.7671 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006786/0.8121, allocations: 5.101 MB / 0.7721 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.8121, allocations: 0 / 0.7721 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003978/0.8161, allocations: 1.416 MB / 0.7735 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004456/0.8166, allocations: 215.8 kB / 0.7737 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001222/0.8167, allocations: 19.92 kB / 0.7737 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000537/0.8173, allocations: 39.97 kB / 0.7737 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001558/0.8174, allocations: 48.36 kB / 0.7738 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.503e-05/0.8175, allocations: 31.98 kB / 0.7738 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007272/0.8182, allocations: 499 kB / 0.7743 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.343e-06/0.8183, allocations: 0 / 0.7743 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001275/0.8196, allocations: 391.3 kB / 0.7747 GB, free: 3.129 MB / 0.5762 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 {(3,1,88.9%), (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.005103/0.8247, allocations: 2.377 MB / 0.777 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002922/0.8276, allocations: 1.084 MB / 0.778 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.413e-05/0.8277, allocations: 0 / 0.778 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001798/0.8295, allocations: 0.7915 MB / 0.7788 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001195/0.8307, allocations: 216.5 kB / 0.779 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01506/0.8458, allocations: 7.526 MB / 0.7864 GB, free: 6.77 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007048/0.8466, allocations: 0.9932 MB / 0.7873 GB, free: 5.75 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001184/0.8478, allocations: 446.9 kB / 0.7878 GB, free: 5.32 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006915/0.8485, allocations: 411.2 kB / 0.7881 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of SimCode: time 8.01e-07/0.8485, allocations: 0 / 0.7881 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.62/2.468, allocations: 25.41 MB / 0.813 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.2/20.66, allocations: 13.67 kB / 0.813 GB, free: 11.78 MB / 0.6231 GB (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 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow.fmu > ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe 2>&1) 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) Reference file matches