Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|crossFlowNTU.h_out_A|crossFlowNTU.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU") translateModel(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|crossFlowNTU.h_out_A|crossFlowNTU.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.008959/0.008959, allocations: 171.2 kB / 15.12 MB, free: 5.559 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.63/1.63, allocations: 205.4 MB / 221.3 MB, free: 13.79 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008807/0.0008807, allocations: 94.8 kB / 269.6 MB, free: 13.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.8075/0.8075, allocations: 90.59 MB / 408.5 MB, free: 14.96 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0004778/0.0004778, allocations: 12 kB / 485.2 MB, free: 2.062 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4311/0.4316, allocations: 66.27 MB / 0.5386 GB, free: 45.48 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU): time 0.2176/0.6492, allocations: 166.6 MB / 0.7012 GB, free: 5.062 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0229/0.6722, allocations: 16.8 MB / 0.7176 GB, free: 4.227 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001321/0.6736, allocations: 27.81 kB / 0.7177 GB, free: 4.199 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.00172/0.6753, allocations: 449.8 kB / 0.7181 GB, free: 3.758 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.005299/0.6806, allocations: 1.453 MB / 0.7195 GB, free: 2.301 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.007488/0.6882, allocations: 2.229 MB / 0.7217 GB, free: 92 kB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.002008/0.6902, allocations: 0.9165 MB / 0.7226 GB, free: 15.17 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004851/0.6907, allocations: 225.5 kB / 0.7228 GB, free: 14.94 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001983/0.6927, allocations: 0.8454 MB / 0.7236 GB, free: 14.09 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008636/0.6935, allocations: 426 kB / 0.724 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0002252/0.6938, allocations: 40 kB / 0.7241 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01004/0.7038, allocations: 4.249 MB / 0.7282 GB, free: 9.383 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0004122/0.7043, allocations: 155.3 kB / 0.7284 GB, free: 9.23 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0005241/0.7048, allocations: 209.1 kB / 0.7286 GB, free: 9.02 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.005298/0.7102, allocations: 1.892 MB / 0.7304 GB, free: 7.129 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.7102, allocations: 4 kB / 0.7304 GB, free: 7.125 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.866e-06/0.7102, allocations: 0 / 0.7304 GB, free: 7.125 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.286e-05/0.7103, allocations: 4 kB / 0.7304 GB, free: 7.121 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.004223/0.7145, allocations: 1.579 MB / 0.732 GB, free: 5.492 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.7145, allocations: 16.03 kB / 0.732 GB, free: 5.477 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001903/0.7164, allocations: 231.7 kB / 0.7322 GB, free: 5.25 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001147/0.7176, allocations: 0.5472 MB / 0.7327 GB, free: 4.664 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002476/0.7179, allocations: 196.8 kB / 0.7329 GB, free: 4.445 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002189/0.7181, allocations: 92 kB / 0.733 GB, free: 4.355 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002031/0.7201, allocations: 0.9757 MB / 0.734 GB, free: 3.359 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.054e-05/0.7202, allocations: 0 / 0.734 GB, free: 3.359 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.484e-05/0.7203, allocations: 36 kB / 0.734 GB, free: 3.324 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.46e-05/0.7203, allocations: 23.98 kB / 0.734 GB, free: 3.301 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001833/0.7221, allocations: 0.7807 MB / 0.7348 GB, free: 2.52 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.005385/0.7276, allocations: 3.66 MB / 0.7384 GB, free: 14.57 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002166/0.7297, allocations: 0.9241 MB / 0.7393 GB, free: 13.64 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001111/0.7309, allocations: 1.292 MB / 0.7405 GB, free: 12.07 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.815e-05/0.7309, allocations: 47.2 kB / 0.7406 GB, free: 12.02 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=83): time 3.125e-06/0.7309, allocations: 3.938 kB / 0.7406 GB, free: 12.01 MB / 0.5573 GB Notification: Performance of matching and sorting (n=83): time 0.005922/0.7369, allocations: 2.36 MB / 0.7429 GB, free: 9.543 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.525e-05/0.7369, allocations: 60.06 kB / 0.7429 GB, free: 9.473 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006458/0.7376, allocations: 495.1 kB / 0.7434 GB, free: 8.98 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 7.994e-05/0.7377, allocations: 41.7 kB / 0.7434 GB, free: 8.934 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002929/0.738, allocations: 384.3 kB / 0.7438 GB, free: 8.551 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002594/0.7383, allocations: 287.8 kB / 0.7441 GB, free: 8.266 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.815e-05/0.7383, allocations: 16 kB / 0.7441 GB, free: 8.25 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.7385, allocations: 382.8 kB / 0.7445 GB, free: 7.867 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007283/0.7392, allocations: 341.8 kB / 0.7448 GB, free: 7.531 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007618/0.74, allocations: 415.1 kB / 0.7452 GB, free: 7.113 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007762/0.7408, allocations: 362.9 kB / 0.7455 GB, free: 6.762 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.7408, allocations: 0 / 0.7455 GB, free: 6.762 MB / 0.5573 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003289/0.7441, allocations: 1.342 MB / 0.7468 GB, free: 5.398 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.723e-05/0.7441, allocations: 8 kB / 0.7468 GB, free: 5.391 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.7441, allocations: 1.094 kB / 0.7468 GB, free: 5.391 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009056/0.7451, allocations: 275.9 kB / 0.7471 GB, free: 5.113 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009083/0.746, allocations: 199.8 kB / 0.7473 GB, free: 4.918 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3011/1.047, allocations: 5.094 MB / 0.7523 GB, free: 178.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009538/1.048, allocations: 103.4 kB / 0.7524 GB, free: 178.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001249/1.048, allocations: 62.23 kB / 0.7524 GB, free: 178.7 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 (80): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,88.9%) 1,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000392/1.049, allocations: 209.5 kB / 0.7526 GB, free: 178.6 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/1.049, allocations: 74.44 kB / 0.7527 GB, free: 178.6 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003925/1.053, allocations: 1.639 MB / 0.7543 GB, free: 178.5 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-05/1.053, allocations: 10.22 kB / 0.7543 GB, free: 178.5 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/1.053, allocations: 2.344 kB / 0.7543 GB, free: 178.5 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/1.053, allocations: 6.656 kB / 0.7543 GB, free: 178.5 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004688/1.057, allocations: 2.523 MB / 0.7568 GB, free: 178.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/1.058, allocations: 0 / 0.7568 GB, free: 178.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009343/1.058, allocations: 208.5 kB / 0.757 GB, free: 178.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007569/1.059, allocations: 280.8 kB / 0.7573 GB, free: 178.1 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-05/1.059, allocations: 37.92 kB / 0.7573 GB, free: 178.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005264/1.065, allocations: 5.101 MB / 0.7623 GB, free: 174.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/1.065, allocations: 3.281 kB / 0.7623 GB, free: 174.3 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004247/1.069, allocations: 1.916 MB / 0.7641 GB, free: 174 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004297/1.069, allocations: 241.8 kB / 0.7644 GB, free: 173.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001109/1.069, allocations: 23.05 kB / 0.7644 GB, free: 173.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005497/1.07, allocations: 62.69 kB / 0.7645 GB, free: 173.9 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001701/1.07, allocations: 84.27 kB / 0.7645 GB, free: 173.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.533e-05/1.07, allocations: 62.72 kB / 0.7646 GB, free: 173.9 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0003943/1.071, allocations: 344.5 kB / 0.7649 GB, free: 173.8 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.41e-07/1.071, allocations: 0 / 0.7649 GB, free: 173.8 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001852/1.073, allocations: 0.6904 MB / 0.7656 GB, free: 173.7 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (crossFlowNTU.h_out_A,crossFlowNTU.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 (83): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 4,(1,100.0%) 4,(3,88.9%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001923/1.074, allocations: 1.019 MB / 0.7666 GB, free: 173.6 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.002778/1.077, allocations: 1.435 MB / 0.768 GB, free: 173.2 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/1.077, allocations: 0 / 0.768 GB, free: 173.2 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001812/1.079, allocations: 1.061 MB / 0.769 GB, free: 172.7 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009917/1.08, allocations: 193.8 kB / 0.7692 GB, free: 172.6 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003682/1.084, allocations: 2.505 MB / 0.7717 GB, free: 171.2 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004614/1.084, allocations: 1.019 MB / 0.7727 GB, free: 170.5 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001202/1.085, allocations: 233.7 kB / 0.7729 GB, free: 170.4 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004052/1.086, allocations: 119.3 kB / 0.773 GB, free: 170.4 MB / 0.5573 GB Notification: Performance of SimCode: time 1.543e-06/1.086, allocations: 0 / 0.773 GB, free: 170.4 MB / 0.5573 GB Notification: Performance of Templates: time 0.04384/1.13, allocations: 22.31 MB / 0.7948 GB, free: 164.4 MB / 0.5573 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches