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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.007332/0.007332, allocations: 165.9 kB / 15.13 MB, free: 6.031 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.329/1.329, allocations: 205.4 MB / 221.3 MB, free: 13.81 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.0007242/0.0007244, allocations: 90.31 kB / 269.6 MB, free: 13.34 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.7836/0.7836, allocations: 90.6 MB / 408.5 MB, free: 14.95 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0004427/0.0004429, allocations: 8 kB / 485.2 MB, free: 2.055 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3783/0.3788, allocations: 66.29 MB / 0.5386 GB, free: 45.47 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow): time 0.2106/0.5894, allocations: 192.5 MB / 0.7266 GB, free: 11.03 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.01679/0.6062, allocations: 15.07 MB / 0.7413 GB, free: 11.93 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007318/0.607, allocations: 19.88 kB / 0.7413 GB, free: 11.91 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001068/0.6081, allocations: 369.8 kB / 0.7417 GB, free: 11.55 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.002727/0.6108, allocations: 1.069 MB / 0.7427 GB, free: 10.47 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.005135/0.616, allocations: 1.8 MB / 0.7445 GB, free: 8.684 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001316/0.6173, allocations: 1.152 MB / 0.7456 GB, free: 7.527 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003036/0.6176, allocations: 188.4 kB / 0.7458 GB, free: 7.324 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001706/0.6193, allocations: 0.8568 MB / 0.7466 GB, free: 6.465 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004554/0.6198, allocations: 386.2 kB / 0.747 GB, free: 6.086 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 8.162e-05/0.6199, allocations: 36 kB / 0.747 GB, free: 6.051 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006626/0.6265, allocations: 3.899 MB / 0.7508 GB, free: 2.148 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001171/0.6266, allocations: 131.4 kB / 0.7509 GB, free: 2.02 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001524/0.6268, allocations: 161.3 kB / 0.7511 GB, free: 1.855 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.002008/0.6288, allocations: 1.594 MB / 0.7527 GB, free: 264 kB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.6288, allocations: 0 / 0.7527 GB, free: 264 kB / 0.5573 GB Notification: Performance of FrontEnd: time 2.024e-06/0.6288, allocations: 4 kB / 0.7527 GB, free: 260 kB / 0.5573 GB Notification: Performance of Transformations before backend: time 9.187e-06/0.6289, allocations: 4 kB / 0.7527 GB, free: 256 kB / 0.5573 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.2267/0.8556, allocations: 1.331 MB / 0.754 GB, free: 184.8 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.695e-05/0.8557, allocations: 10 kB / 0.754 GB, free: 184.8 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001559/0.8573, allocations: 195.2 kB / 0.7542 GB, free: 184.7 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007269/0.858, allocations: 469.9 kB / 0.7546 GB, free: 184.5 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001876/0.8582, allocations: 188.9 kB / 0.7548 GB, free: 184.3 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001222/0.8583, allocations: 65.66 kB / 0.7548 GB, free: 184.3 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00147/0.8598, allocations: 0.7252 MB / 0.7556 GB, free: 184.3 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.8598, allocations: 1.203 kB / 0.7556 GB, free: 184.3 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.319e-05/0.8599, allocations: 28.47 kB / 0.7556 GB, free: 184.3 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.559e-05/0.8599, allocations: 16.78 kB / 0.7556 GB, free: 184.3 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001333/0.8613, allocations: 0.648 MB / 0.7562 GB, free: 184.3 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003303/0.8646, allocations: 2.804 MB / 0.759 GB, free: 182.9 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001332/0.8659, allocations: 0.6602 MB / 0.7596 GB, free: 182.8 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007175/0.8667, allocations: 382.2 kB / 0.76 GB, free: 182.8 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001378/0.8681, allocations: 2.158 MB / 0.7621 GB, free: 180.6 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.8681, allocations: 38.16 kB / 0.7621 GB, free: 180.6 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=63): time 2.625e-06/0.8681, allocations: 0 / 0.7621 GB, free: 180.6 MB / 0.5573 GB Notification: Performance of matching and sorting (n=63): time 0.005345/0.8735, allocations: 1.964 MB / 0.764 GB, free: 180.2 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.124e-05/0.8735, allocations: 58.09 kB / 0.7641 GB, free: 180.1 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004231/0.8739, allocations: 391 kB / 0.7645 GB, free: 180 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.227e-05/0.874, allocations: 37.23 kB / 0.7645 GB, free: 180 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002295/0.8742, allocations: 311.8 kB / 0.7648 GB, free: 179.9 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001566/0.8744, allocations: 221.6 kB / 0.765 GB, free: 179.7 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.446e-05/0.8745, allocations: 7.75 kB / 0.765 GB, free: 179.7 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 9.953e-05/0.8746, allocations: 374.6 kB / 0.7654 GB, free: 179.4 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006752/0.8752, allocations: 291.5 kB / 0.7657 GB, free: 179.4 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006292/0.8759, allocations: 295.8 kB / 0.7659 GB, free: 179.3 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006351/0.8765, allocations: 301 kB / 0.7662 GB, free: 179.2 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.8765, allocations: 0 / 0.7662 GB, free: 179.2 MB / 0.5573 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002712/0.8793, allocations: 1.13 MB / 0.7673 GB, free: 178.9 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.8793, allocations: 6.938 kB / 0.7673 GB, free: 178.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.8793, allocations: 0 / 0.7673 GB, free: 178.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007801/0.8801, allocations: 261.1 kB / 0.7676 GB, free: 178.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006761/0.8808, allocations: 139 kB / 0.7677 GB, free: 178.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004674/0.8855, allocations: 4.898 MB / 0.7725 GB, free: 174.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005062/0.886, allocations: 82.48 kB / 0.7726 GB, free: 174.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.115e-05/0.8861, allocations: 40.52 kB / 0.7726 GB, free: 174.6 MB / 0.5573 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 (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.0002503/0.8863, allocations: 189.5 kB / 0.7728 GB, free: 174.4 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.8864, allocations: 60.28 kB / 0.7729 GB, free: 174.4 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003381/0.8898, allocations: 1.344 MB / 0.7742 GB, free: 174 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.348e-06/0.8899, allocations: 6.125 kB / 0.7742 GB, free: 174 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.8899, allocations: 2.219 kB / 0.7742 GB, free: 174 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.335e-06/0.8899, allocations: 4.172 kB / 0.7742 GB, free: 174 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004123/0.894, allocations: 2.138 MB / 0.7763 GB, free: 173 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.894, allocations: 2.906 kB / 0.7763 GB, free: 173 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007391/0.8948, allocations: 149.6 kB / 0.7764 GB, free: 173 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006783/0.8955, allocations: 266.4 kB / 0.7767 GB, free: 172.9 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.221e-05/0.8955, allocations: 30.34 kB / 0.7767 GB, free: 172.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004969/0.9005, allocations: 4.894 MB / 0.7815 GB, free: 168.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.9005, allocations: 4.75 kB / 0.7815 GB, free: 168.7 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003737/0.9043, allocations: 1.603 MB / 0.7831 GB, free: 168.1 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/0.9044, allocations: 135.6 kB / 0.7832 GB, free: 168 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.147e-05/0.9045, allocations: 16.16 kB / 0.7832 GB, free: 168 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004881/0.905, allocations: 59.95 kB / 0.7833 GB, free: 167.9 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/0.9051, allocations: 62.91 kB / 0.7833 GB, free: 167.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.233e-05/0.9052, allocations: 44.58 kB / 0.7834 GB, free: 167.9 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002733/0.9055, allocations: 273.6 kB / 0.7836 GB, free: 167.8 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9055, allocations: 0 / 0.7836 GB, free: 167.8 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00147/0.907, allocations: 0.5486 MB / 0.7842 GB, free: 167.7 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (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.001957/0.9089, allocations: 0.8456 MB / 0.785 GB, free: 167.4 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.002623/0.9116, allocations: 1.262 MB / 0.7862 GB, free: 166.8 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.9116, allocations: 0 / 0.7862 GB, free: 166.8 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001823/0.9134, allocations: 0.9497 MB / 0.7871 GB, free: 166.2 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008556/0.9143, allocations: 148.9 kB / 0.7873 GB, free: 166.2 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002935/0.9172, allocations: 1.949 MB / 0.7892 GB, free: 165 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004124/0.9177, allocations: 0.9236 MB / 0.7901 GB, free: 164.3 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0008329/0.9185, allocations: 173.5 kB / 0.7903 GB, free: 164.3 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003111/0.9188, allocations: 90.47 kB / 0.7903 GB, free: 164.3 MB / 0.5573 GB Notification: Performance of SimCode: time 2.41e-07/0.9188, allocations: 0 / 0.7903 GB, free: 164.3 MB / 0.5573 GB Notification: Performance of Templates: time 0.03004/0.9489, allocations: 18.22 MB / 0.8081 GB, free: 157.8 MB / 0.5573 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