Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.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_zeroMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|crossFlowNTU.h_out_A|crossFlowNTU.h_out_B|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow") translateModel(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|crossFlowNTU.h_out_A|crossFlowNTU.h_out_B|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002585/0.002585, allocations: 177.3 kB / 7.461 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8915/0.8915, allocations: 205.2 MB / 213.1 MB, free: 13.88 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.0007497/0.0007497, allocations: 90.14 kB / 261.1 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.4594/0.4594, allocations: 90.35 MB / 399.4 MB, free: 12.27 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 4.529e-06/4.619e-06, allocations: 0 / 471.7 MB, free: 3.812 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2015/0.2015, allocations: 66.26 MB / 0.5253 GB, free: 28.98 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9355/1.137, allocations: 0.7545 GB / 1.28 GB, free: 87.32 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001693/1.137, allocations: 76.28 kB / 1.28 GB, free: 87.29 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.122/2.26, allocations: 490.9 MB / 1.759 GB, free: 84.43 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.982e-05/2.26, allocations: 27.52 kB / 1.759 GB, free: 84.41 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.004183/2.264, allocations: 2.086 MB / 1.761 GB, free: 82.3 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.032e-05/2.264, allocations: 8.031 kB / 1.761 GB, free: 82.29 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001213/2.265, allocations: 214.7 kB / 1.762 GB, free: 82.08 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005474/2.266, allocations: 496.2 kB / 1.762 GB, free: 81.56 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001485/2.266, allocations: 163.2 kB / 1.762 GB, free: 81.38 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.009e-05/2.266, allocations: 40 kB / 1.762 GB, free: 81.34 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007079/2.267, allocations: 0.4985 MB / 1.763 GB, free: 80.85 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007509/2.268, allocations: 0.5312 MB / 1.763 GB, free: 80.3 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/2.268, allocations: 3.906 kB / 1.763 GB, free: 80.3 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.467e-05/2.268, allocations: 3.609 kB / 1.763 GB, free: 80.3 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.299e-05/2.268, allocations: 20 kB / 1.763 GB, free: 80.28 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002453/2.27, allocations: 2.49 MB / 1.766 GB, free: 77.67 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004075/2.27, allocations: 331.5 kB / 1.766 GB, free: 77.35 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003115/2.271, allocations: 278.3 kB / 1.766 GB, free: 77.07 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000314/2.271, allocations: 0.5037 MB / 1.767 GB, free: 76.48 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.551e-05/2.271, allocations: 39.06 kB / 1.767 GB, free: 76.43 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=62): time 1.663e-06/2.271, allocations: 0 / 1.767 GB, free: 76.43 MB / 0.5886 GB Notification: Performance of matching and sorting (n=62): time 0.002399/2.274, allocations: 0.9429 MB / 1.768 GB, free: 75.5 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.971e-05/2.274, allocations: 59.91 kB / 1.768 GB, free: 75.43 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002238/2.274, allocations: 297.2 kB / 1.768 GB, free: 75.13 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.185e-05/2.274, allocations: 25.7 kB / 1.768 GB, free: 75.1 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.338e-05/2.274, allocations: 251.8 kB / 1.768 GB, free: 74.85 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 9.969e-05/2.274, allocations: 204.9 kB / 1.769 GB, free: 74.64 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.576e-05/2.274, allocations: 0 / 1.769 GB, free: 74.64 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 5.971e-05/2.274, allocations: 366.7 kB / 1.769 GB, free: 74.28 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002645/2.274, allocations: 193.3 kB / 1.769 GB, free: 74.09 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002593/2.275, allocations: 208.5 kB / 1.769 GB, free: 73.88 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008112/2.276, allocations: 283 kB / 1.77 GB, free: 73.61 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/2.276, allocations: 3.906 kB / 1.77 GB, free: 73.61 MB / 0.5886 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002288/2.278, allocations: 0.9701 MB / 1.77 GB, free: 72.64 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.007e-05/2.278, allocations: 4 kB / 1.77 GB, free: 72.64 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/2.278, allocations: 3.938 kB / 1.77 GB, free: 72.64 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004098/2.278, allocations: 154.2 kB / 1.771 GB, free: 72.48 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006615/2.279, allocations: 151 kB / 1.771 GB, free: 72.34 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002994/2.282, allocations: 4.314 MB / 1.775 GB, free: 67.71 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004111/2.282, allocations: 74.31 kB / 1.775 GB, free: 67.64 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.605e-05/2.282, allocations: 43.98 kB / 1.775 GB, free: 67.6 MB / 0.5886 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 50 * 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%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001106/2.283, allocations: 112.7 kB / 1.775 GB, free: 67.48 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.58e-05/2.283, allocations: 51.34 kB / 1.775 GB, free: 67.43 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003343/2.286, allocations: 1.328 MB / 1.777 GB, free: 66.18 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/2.286, allocations: 8 kB / 1.777 GB, free: 66.17 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/2.286, allocations: 4 kB / 1.777 GB, free: 66.16 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/2.286, allocations: 7.969 kB / 1.777 GB, free: 66.16 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00328/2.289, allocations: 1.895 MB / 1.778 GB, free: 64.23 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/2.289, allocations: 0 / 1.778 GB, free: 64.23 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007123/2.29, allocations: 151.4 kB / 1.779 GB, free: 64.08 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003482/2.29, allocations: 153.8 kB / 1.779 GB, free: 63.93 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.488e-05/2.29, allocations: 27.98 kB / 1.779 GB, free: 63.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002896/2.293, allocations: 4.313 MB / 1.783 GB, free: 59.27 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/2.293, allocations: 3.938 kB / 1.783 GB, free: 59.27 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002675/2.296, allocations: 1.421 MB / 1.784 GB, free: 57.83 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001657/2.296, allocations: 200.2 kB / 1.785 GB, free: 57.61 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.202e-05/2.296, allocations: 7.906 kB / 1.785 GB, free: 57.61 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004406/2.297, allocations: 58.36 kB / 1.785 GB, free: 57.55 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.944e-05/2.297, allocations: 48.59 kB / 1.785 GB, free: 57.51 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.068e-05/2.297, allocations: 47.97 kB / 1.785 GB, free: 57.46 MB / 0.5886 GB Notification: Performance of sort global known variables: time 0.0001561/2.297, allocations: 238.6 kB / 1.785 GB, free: 57.23 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001562/2.299, allocations: 0.7018 MB / 1.786 GB, free: 56.53 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 52 * 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%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002158/2.301, allocations: 1.934 MB / 1.787 GB, free: 54.71 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001453/2.302, allocations: 1.062 MB / 1.789 GB, free: 53.62 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/2.302, allocations: 0 / 1.789 GB, free: 53.62 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001117/2.303, allocations: 0.8467 MB / 1.789 GB, free: 52.75 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005785/2.304, allocations: 126.4 kB / 1.789 GB, free: 52.64 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002127/2.306, allocations: 1.198 MB / 1.791 GB, free: 51.55 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007266/2.307, allocations: 1.076 MB / 1.792 GB, free: 50.46 MB / 0.5886 GB Notification: Performance of SimCode: time 2.3e-07/2.307, allocations: 0 / 1.792 GB, free: 50.46 MB / 0.5886 GB Notification: Performance of Templates: time 0.02587/2.333, allocations: 23.31 MB / 1.814 GB, free: 27.19 MB / 0.5886 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches