Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_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/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/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.CrossFlowNTU_zeroMassFlow,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_zeroMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_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.00517/0.00517, allocations: 105.5 kB / 15.74 MB, free: 6.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 193.6 kB / 16.67 MB, free: 5.934 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.317/1.317, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo): time 0.6616/0.6616, allocations: 89.46 MB / 380 MB, free: 8.656 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002168/0.002168, allocations: 79.88 kB / 0.5139 GB, free: 7.188 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.278/0.2802, allocations: 67.29 MB / 0.5796 GB, free: 15.3 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow): time 0.4808/0.7611, allocations: 201.6 MB / 0.7765 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01085/0.7719, allocations: 14.77 MB / 0.791 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006093/0.7726, allocations: 19.75 kB / 0.791 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001104/0.7738, allocations: 0.5013 MB / 0.7915 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002428/0.7762, allocations: 1.258 MB / 0.7927 GB, free: 1.082 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002699/0.7789, allocations: 1.387 MB / 0.7941 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008398/0.7798, allocations: 1.21 MB / 0.7952 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002941/0.7801, allocations: 259.2 kB / 0.7955 GB, free: 0.9727 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001353/0.7814, allocations: 0.9957 MB / 0.7965 GB, free: 0.9023 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003761/0.7818, allocations: 487.5 kB / 0.7969 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.835e-05/0.7819, allocations: 77.88 kB / 0.797 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003478/0.7854, allocations: 2.503 MB / 0.7994 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001114/0.7855, allocations: 195.5 kB / 0.7996 GB, free: 0.7109 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002789/0.7858, allocations: 462.7 kB / 0.8001 GB, free: 0.5742 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00185/0.7876, allocations: 1.743 MB / 0.8018 GB, free: 336 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.7877, allocations: 1 kB / 0.8018 GB, free: 336 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.222e-06/0.7877, allocations: 0 / 0.8018 GB, free: 336 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.047e-05/0.7877, allocations: 0.875 kB / 0.8018 GB, free: 336 kB / 0.5762 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.002127/0.7898, allocations: 1.421 MB / 0.8032 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.7899, allocations: 12.19 kB / 0.8032 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001201/0.79, allocations: 121 kB / 0.8033 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001525/0.7915, allocations: 225.2 kB / 0.8035 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007287/0.7923, allocations: 0.534 MB / 0.804 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002189/0.7925, allocations: 189 kB / 0.8042 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.312e-05/0.7926, allocations: 73.06 kB / 0.8043 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001357/0.794, allocations: 0.8229 MB / 0.8051 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.851e-05/0.794, allocations: 2.938 kB / 0.8051 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.139e-05/0.7941, allocations: 26.69 kB / 0.8051 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.7941, allocations: 16.47 kB / 0.8051 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001341/0.7954, allocations: 0.6469 MB / 0.8057 GB, free: 14.93 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.00374/0.7992, allocations: 3.178 MB / 0.8089 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001167/0.8003, allocations: 0.5992 MB / 0.8094 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006016/0.801, allocations: 354.5 kB / 0.8098 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006883/0.8017, allocations: 0.8999 MB / 0.8107 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/0.8017, allocations: 44.47 kB / 0.8107 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=59): time 3.567e-06/0.8017, allocations: 7.922 kB / 0.8107 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of matching and sorting (n=59): time 0.004306/0.806, allocations: 1.663 MB / 0.8123 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/0.8061, allocations: 61.25 kB / 0.8124 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004645/0.8065, allocations: 0.5018 MB / 0.8129 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.542e-05/0.8066, allocations: 36.33 kB / 0.8129 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000224/0.8068, allocations: 361.3 kB / 0.8133 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001641/0.807, allocations: 217.3 kB / 0.8135 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000182/0.8072, allocations: 111.5 kB / 0.8136 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001871/0.8074, allocations: 376.8 kB / 0.8139 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005834/0.808, allocations: 254 kB / 0.8142 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005808/0.8086, allocations: 259.9 kB / 0.8144 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001192/0.8098, allocations: 0.5239 MB / 0.8149 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.8098, allocations: 0.875 kB / 0.8149 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002607/0.8124, allocations: 0.9987 MB / 0.8159 GB, free: 9.926 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.8124, allocations: 9.25 kB / 0.8159 GB, free: 9.922 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.8124, allocations: 0 / 0.8159 GB, free: 9.922 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007746/0.8132, allocations: 227.1 kB / 0.8161 GB, free: 9.805 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006995/0.8139, allocations: 153.1 kB / 0.8163 GB, free: 9.77 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006004/0.8199, allocations: 5.092 MB / 0.8212 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004551/0.8204, allocations: 72.95 kB / 0.8213 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.042e-05/0.8205, allocations: 35.92 kB / 0.8214 GB, free: 4.914 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (57): * Single equations (assignments): 54 * 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.00027/0.8208, allocations: 197 kB / 0.8215 GB, free: 4.75 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.8209, allocations: 69.73 kB / 0.8216 GB, free: 4.711 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003312/0.8242, allocations: 1.4 MB / 0.823 GB, free: 3.957 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.8242, allocations: 7.562 kB / 0.823 GB, free: 3.957 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.8242, allocations: 2.438 kB / 0.823 GB, free: 3.957 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.8242, allocations: 3.984 kB / 0.823 GB, free: 3.953 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003969/0.8282, allocations: 2.052 MB / 0.825 GB, free: 2.559 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.8282, allocations: 1.406 kB / 0.825 GB, free: 2.559 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007092/0.829, allocations: 138.6 kB / 0.8251 GB, free: 2.48 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007124/0.8297, allocations: 238.5 kB / 0.8254 GB, free: 2.238 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-05/0.8297, allocations: 27.98 kB / 0.8254 GB, free: 2.211 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006071/0.8358, allocations: 5.107 MB / 0.8304 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.8358, allocations: 4 kB / 0.8304 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003355/0.8392, allocations: 1.4 MB / 0.8317 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002408/0.8395, allocations: 200.5 kB / 0.8319 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/0.8396, allocations: 20 kB / 0.8319 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000452/0.84, allocations: 35.97 kB / 0.832 GB, free: 11 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/0.8401, allocations: 56.42 kB / 0.832 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.341e-05/0.8402, allocations: 31.98 kB / 0.8321 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004461/0.8407, allocations: 374.8 kB / 0.8324 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8407, allocations: 0 / 0.8324 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009571/0.8416, allocations: 367.1 kB / 0.8328 GB, free: 10.19 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (crossFlowNTU.h_out_A,crossFlowNTU.h_out_B,flowResistanceA.inlet.m_flow,flowResistanceB.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 (53): * Single equations (assignments): 50 * 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.004452/0.8461, allocations: 2.33 MB / 0.8351 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002317/0.8484, allocations: 1.066 MB / 0.8361 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.8484, allocations: 4 kB / 0.8361 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001575/0.85, allocations: 0.8006 MB / 0.8369 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008762/0.8509, allocations: 188.6 kB / 0.8371 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01153/0.8625, allocations: 6.405 MB / 0.8433 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005986/0.8631, allocations: 0.938 MB / 0.8442 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008917/0.864, allocations: 431 kB / 0.8446 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005229/0.8645, allocations: 339.3 kB / 0.845 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of SimCode: time 4.61e-07/0.8645, allocations: 0 / 0.845 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05887/0.9234, allocations: 22.81 MB / 0.8672 GB, free: 7.031 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.61/11.54, allocations: 7.922 kB / 0.8672 GB, free: 7.023 MB / 0.6387 GB (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_zeroMassFlow_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_zeroMassFlow.fmu > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches