Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_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.CounterFlowNTU_zeroMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow") translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_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.001927/0.001927, allocations: 175.7 kB / 7.46 MB, free: 2.484 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.9278/0.9278, allocations: 205.2 MB / 213.1 MB, free: 13.86 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.0007573/0.0007574, allocations: 89.06 kB / 261.1 MB, free: 13.57 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.4779/0.4779, 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.489e-06/4.509e-06, allocations: 0 / 471.7 MB, free: 3.797 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.2116, allocations: 66.25 MB / 0.5253 GB, free: 29.03 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9667/1.178, allocations: 0.7551 GB / 1.28 GB, free: 87.01 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001702/1.178, allocations: 76.59 kB / 1.28 GB, free: 86.98 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.212/2.391, allocations: 0.5103 GB / 1.791 GB, free: 53.62 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.852e-05/2.391, allocations: 27.98 kB / 1.791 GB, free: 53.59 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.005269/2.396, allocations: 2.201 MB / 1.793 GB, free: 51.36 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.16e-05/2.396, allocations: 8.031 kB / 1.793 GB, free: 51.35 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001456/2.398, allocations: 214.8 kB / 1.793 GB, free: 51.14 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007078/2.398, allocations: 496.3 kB / 1.794 GB, free: 50.61 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001639/2.399, allocations: 164.1 kB / 1.794 GB, free: 50.43 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001178/2.399, allocations: 47.89 kB / 1.794 GB, free: 50.38 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007967/2.399, allocations: 0.4992 MB / 1.794 GB, free: 49.89 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007955/2.4, allocations: 0.535 MB / 1.795 GB, free: 49.34 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/2.4, allocations: 0 / 1.795 GB, free: 49.34 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.342e-05/2.4, allocations: 0 / 1.795 GB, free: 49.34 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.389e-05/2.4, allocations: 16 kB / 1.795 GB, free: 49.32 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002771/2.403, allocations: 2.655 MB / 1.797 GB, free: 46.45 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004587/2.404, allocations: 335.5 kB / 1.798 GB, free: 46.12 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003411/2.404, allocations: 274.6 kB / 1.798 GB, free: 45.85 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005657/2.405, allocations: 0.8175 MB / 1.799 GB, free: 44.87 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/2.405, allocations: 35.06 kB / 1.799 GB, free: 44.82 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=63): time 2.415e-06/2.405, allocations: 4 kB / 1.799 GB, free: 44.82 MB / 0.5886 GB Notification: Performance of matching and sorting (n=63): time 0.002802/2.407, allocations: 0.9564 MB / 1.8 GB, free: 43.87 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.002e-05/2.407, allocations: 63.84 kB / 1.8 GB, free: 43.79 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002658/2.408, allocations: 295.5 kB / 1.8 GB, free: 43.5 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.765e-05/2.408, allocations: 25.7 kB / 1.8 GB, free: 43.47 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.905e-05/2.408, allocations: 252.3 kB / 1.8 GB, free: 43.21 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.000124/2.408, allocations: 208.9 kB / 1.801 GB, free: 43.01 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-05/2.408, allocations: 0 / 1.801 GB, free: 43.01 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.832e-05/2.408, allocations: 365.6 kB / 1.801 GB, free: 42.64 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002887/2.408, allocations: 197.3 kB / 1.801 GB, free: 42.45 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002708/2.409, allocations: 200.6 kB / 1.801 GB, free: 42.25 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001065/2.41, allocations: 291 kB / 1.802 GB, free: 41.97 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/2.41, allocations: 0 / 1.802 GB, free: 41.97 MB / 0.5886 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002579/2.412, allocations: 0.9886 MB / 1.803 GB, free: 40.99 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/2.412, allocations: 11.94 kB / 1.803 GB, free: 40.98 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/2.412, allocations: 3.984 kB / 1.803 GB, free: 40.97 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004208/2.413, allocations: 150.1 kB / 1.803 GB, free: 40.82 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000686/2.414, allocations: 147 kB / 1.803 GB, free: 40.68 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003086/2.417, allocations: 4.313 MB / 1.807 GB, free: 36.05 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004536/2.417, allocations: 67.28 kB / 1.807 GB, free: 35.99 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.44e-05/2.417, allocations: 45.8 kB / 1.807 GB, free: 35.95 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 (56): * Single equations (assignments): 51 * 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.0001132/2.417, allocations: 120.6 kB / 1.807 GB, free: 35.83 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/2.417, allocations: 51.34 kB / 1.807 GB, free: 35.78 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00356/2.421, allocations: 1.391 MB / 1.809 GB, free: 34.45 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.576e-05/2.421, allocations: 11.88 kB / 1.809 GB, free: 34.45 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/2.421, allocations: 3.906 kB / 1.809 GB, free: 34.44 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/2.421, allocations: 7.984 kB / 1.809 GB, free: 34.43 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003583/2.425, allocations: 1.916 MB / 1.811 GB, free: 32.48 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-06/2.425, allocations: 11.66 kB / 1.811 GB, free: 32.47 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006995/2.425, allocations: 143.8 kB / 1.811 GB, free: 32.33 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003648/2.426, allocations: 154.3 kB / 1.811 GB, free: 32.18 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.716e-05/2.426, allocations: 23.97 kB / 1.811 GB, free: 32.15 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002956/2.429, allocations: 4.321 MB / 1.815 GB, free: 27.51 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/2.429, allocations: 0 / 1.815 GB, free: 27.51 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002919/2.432, allocations: 1.474 MB / 1.817 GB, free: 25.99 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.66e-05/2.432, allocations: 132.3 kB / 1.817 GB, free: 25.84 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.512e-05/2.432, allocations: 7.906 kB / 1.817 GB, free: 25.83 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004542/2.432, allocations: 51.95 kB / 1.817 GB, free: 25.78 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.081e-05/2.432, allocations: 52.58 kB / 1.817 GB, free: 25.73 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.686e-05/2.433, allocations: 39.98 kB / 1.817 GB, free: 25.69 MB / 0.5886 GB Notification: Performance of sort global known variables: time 0.0001663/2.433, allocations: 235.2 kB / 1.817 GB, free: 25.46 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001936/2.435, allocations: 0.7525 MB / 1.818 GB, free: 24.71 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (counterFlowNTU.inletA.m_flow,counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,flowResistanceB.inlet.m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 52 * Array equations: 1 * 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%) 3,(3,88.9%) 1,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002935/2.438, allocations: 1.934 MB / 1.82 GB, free: 22.75 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001544/2.439, allocations: 1.074 MB / 1.821 GB, free: 21.63 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/2.439, allocations: 0 / 1.821 GB, free: 21.63 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001198/2.44, allocations: 0.8583 MB / 1.822 GB, free: 20.73 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005689/2.441, allocations: 105.5 kB / 1.822 GB, free: 20.63 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002142/2.443, allocations: 1.174 MB / 1.823 GB, free: 19.42 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007225/2.444, allocations: 1.064 MB / 1.824 GB, free: 18.33 MB / 0.5886 GB Notification: Performance of SimCode: time 5.71e-07/2.444, allocations: 0 / 1.824 GB, free: 18.33 MB / 0.5886 GB Notification: Performance of Templates: time 0.1874/2.631, allocations: 23.62 MB / 1.847 GB, free: 132 MB / 0.5886 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches