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.007128/0.007128, allocations: 170 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.527/1.527, allocations: 205.4 MB / 221.3 MB, free: 13.84 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.0008815/0.0008818, allocations: 90.81 kB / 269.6 MB, free: 13.37 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.8425/0.8425, allocations: 90.59 MB / 408.4 MB, free: 15 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0004628/0.0004628, allocations: 12 kB / 485.2 MB, free: 2.09 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4679/0.4683, allocations: 66.28 MB / 0.5386 GB, free: 45.59 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow): time 0.1973/0.6657, allocations: 158.8 MB / 0.6936 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.01624/0.682, allocations: 14.14 MB / 0.7074 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00109/0.6832, allocations: 19.94 kB / 0.7075 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.001113/0.6843, allocations: 370.2 kB / 0.7078 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.003492/0.6878, allocations: 1.106 MB / 0.7089 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.005359/0.6932, allocations: 1.808 MB / 0.7107 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001493/0.6947, allocations: 0.7216 MB / 0.7114 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003516/0.6951, allocations: 201.4 kB / 0.7116 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001691/0.6968, allocations: 0.7754 MB / 0.7123 GB, free: 9.707 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003727/0.6971, allocations: 338.5 kB / 0.7126 GB, free: 9.375 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 6.019e-05/0.6972, allocations: 36 kB / 0.7127 GB, free: 9.34 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00759/0.7048, allocations: 3.199 MB / 0.7158 GB, free: 6.137 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002251/0.7051, allocations: 123.4 kB / 0.7159 GB, free: 6.016 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.000357/0.7054, allocations: 173.3 kB / 0.7161 GB, free: 5.84 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.003514/0.709, allocations: 1.517 MB / 0.7176 GB, free: 4.324 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.709, allocations: 0 / 0.7176 GB, free: 4.324 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.653e-06/0.709, allocations: 4 kB / 0.7176 GB, free: 4.32 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.085e-05/0.709, allocations: 0 / 0.7176 GB, free: 4.32 MB / 0.5261 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.003064/0.7121, allocations: 1.318 MB / 0.7189 GB, free: 2.957 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.7122, allocations: 12.03 kB / 0.7189 GB, free: 2.945 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001457/0.7136, allocations: 194.8 kB / 0.7191 GB, free: 2.754 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000708/0.7144, allocations: 460.6 kB / 0.7195 GB, free: 2.266 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002489/0.7146, allocations: 188 kB / 0.7197 GB, free: 2.059 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001186/0.7148, allocations: 68 kB / 0.7197 GB, free: 1.992 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001481/0.7162, allocations: 0.7249 MB / 0.7204 GB, free: 1.262 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/0.7163, allocations: 7.891 kB / 0.7205 GB, free: 1.254 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.644e-05/0.7163, allocations: 28 kB / 0.7205 GB, free: 1.227 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.664e-05/0.7164, allocations: 16 kB / 0.7205 GB, free: 1.211 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001444/0.7178, allocations: 0.6538 MB / 0.7211 GB, free: 0.5547 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003639/0.7215, allocations: 2.8 MB / 0.7239 GB, free: 13.51 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001447/0.7229, allocations: 0.6531 MB / 0.7245 GB, free: 12.85 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007444/0.7237, allocations: 0.945 MB / 0.7254 GB, free: 11.7 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.7237, allocations: 47.08 kB / 0.7255 GB, free: 11.65 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=63): time 2.775e-06/0.7238, allocations: 0 / 0.7255 GB, free: 11.65 MB / 0.5417 GB Notification: Performance of matching and sorting (n=63): time 0.005324/0.7291, allocations: 2.117 MB / 0.7275 GB, free: 9.422 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.002e-05/0.7292, allocations: 63.91 kB / 0.7276 GB, free: 9.344 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004896/0.7297, allocations: 390 kB / 0.728 GB, free: 8.961 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.735e-05/0.7297, allocations: 37.7 kB / 0.728 GB, free: 8.918 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002132/0.73, allocations: 312.5 kB / 0.7283 GB, free: 8.605 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001998/0.7302, allocations: 220.8 kB / 0.7285 GB, free: 8.387 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.869e-05/0.7302, allocations: 15.94 kB / 0.7285 GB, free: 8.371 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.7304, allocations: 366.7 kB / 0.7289 GB, free: 8.004 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006427/0.731, allocations: 293 kB / 0.7292 GB, free: 7.719 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006234/0.7317, allocations: 292.9 kB / 0.7294 GB, free: 7.438 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006687/0.7323, allocations: 298.1 kB / 0.7297 GB, free: 7.145 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.7323, allocations: 0 / 0.7297 GB, free: 7.145 MB / 0.5417 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002836/0.7352, allocations: 1.137 MB / 0.7308 GB, free: 5.988 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.7352, allocations: 4 kB / 0.7308 GB, free: 5.984 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.7352, allocations: 4 kB / 0.7308 GB, free: 5.98 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008144/0.7361, allocations: 254.4 kB / 0.7311 GB, free: 5.723 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006924/0.7368, allocations: 148.8 kB / 0.7312 GB, free: 5.578 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00541/0.7422, allocations: 4.963 MB / 0.7361 GB, free: 224 kB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005795/0.7428, allocations: 79.59 kB / 0.7362 GB, free: 144 kB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.891e-05/0.7429, allocations: 43.98 kB / 0.7362 GB, free: 100 kB / 0.5417 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.0003338/0.7432, allocations: 181.8 kB / 0.7364 GB, free: 15.91 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.7433, allocations: 55.34 kB / 0.7364 GB, free: 15.85 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003436/0.7468, allocations: 1.35 MB / 0.7377 GB, free: 14.5 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/0.7468, allocations: 8 kB / 0.7377 GB, free: 14.5 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.7468, allocations: 0 / 0.7377 GB, free: 14.5 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.959e-06/0.7468, allocations: 7.969 kB / 0.7378 GB, free: 14.49 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004121/0.7509, allocations: 2.133 MB / 0.7398 GB, free: 12.29 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.751, allocations: 0 / 0.7398 GB, free: 12.29 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007373/0.7517, allocations: 151.8 kB / 0.74 GB, free: 12.14 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000725/0.7525, allocations: 270.2 kB / 0.7402 GB, free: 11.86 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-05/0.7525, allocations: 33.66 kB / 0.7403 GB, free: 11.83 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005373/0.7579, allocations: 4.961 MB / 0.7451 GB, free: 6.477 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.7579, allocations: 0 / 0.7451 GB, free: 6.477 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003713/0.7617, allocations: 1.625 MB / 0.7467 GB, free: 4.809 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001737/0.7619, allocations: 132.2 kB / 0.7468 GB, free: 4.66 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.477e-05/0.7619, allocations: 12 kB / 0.7468 GB, free: 4.648 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004943/0.7625, allocations: 63.95 kB / 0.7469 GB, free: 4.586 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001434/0.7626, allocations: 52.48 kB / 0.747 GB, free: 4.535 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.35e-05/0.7627, allocations: 52.48 kB / 0.747 GB, free: 4.484 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.0003282/0.763, allocations: 271.1 kB / 0.7473 GB, free: 4.219 MB / 0.5574 GB Notification: Performance of sort global known variables: time 1.21e-07/0.763, allocations: 0 / 0.7473 GB, free: 4.219 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.001578/0.7646, allocations: 0.5461 MB / 0.7478 GB, free: 3.672 MB / 0.5574 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.001964/0.7666, allocations: 0.8535 MB / 0.7486 GB, free: 2.824 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.002642/0.7692, allocations: 1.263 MB / 0.7499 GB, free: 1.512 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.7693, allocations: 0 / 0.7499 GB, free: 1.512 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.001774/0.771, allocations: 0.9516 MB / 0.7508 GB, free: 0.5117 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008443/0.7719, allocations: 137.7 kB / 0.7509 GB, free: 392 kB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2438/1.016, allocations: 1.936 MB / 0.7528 GB, free: 178.7 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003357/1.016, allocations: 0.9375 MB / 0.7537 GB, free: 178 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.000848/1.017, allocations: 166.6 kB / 0.7539 GB, free: 178 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002723/1.017, allocations: 87.39 kB / 0.754 GB, free: 178 MB / 0.5574 GB Notification: Performance of SimCode: time 1.042e-06/1.017, allocations: 0 / 0.754 GB, free: 178 MB / 0.5574 GB Notification: Performance of Templates: time 0.03154/1.049, allocations: 18.21 MB / 0.7718 GB, free: 176.5 MB / 0.5574 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