Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConductionElement.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.Processes.Tests.ConductionElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|conductionElement.h|conductionElement1.deltaE_system|conductionElement1.h|conductionElement1.inlet.m_flow|conductionElement2.h|conductionElement2.inlet.m_flow|conductionElement3.deltaE_system|conductionElement3.h|conductionElement4.h|sink.inlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConductionElement") translateModel(ThermofluidStream.Processes.Tests.ConductionElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|conductionElement.h|conductionElement1.deltaE_system|conductionElement1.h|conductionElement1.inlet.m_flow|conductionElement2.h|conductionElement2.inlet.m_flow|conductionElement3.deltaE_system|conductionElement3.h|conductionElement4.h|sink.inlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConductionElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001198/0.001198, allocations: 176 kB / 16.11 MB, free: 5.688 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.183/1.183, allocations: 205 MB / 221.9 MB, free: 9.051 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.0007047/0.0007046, allocations: 89.28 kB / 269.9 MB, free: 8.652 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.6065/0.6065, allocations: 90.51 MB / 408.3 MB, free: 3.938 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002739/0.000274, allocations: 8 kB / 484.8 MB, free: 7.219 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2287/0.229, allocations: 65.81 MB / 0.5377 GB, free: 34.93 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConductionElement): time 0.07064/0.2997, allocations: 85.92 MB / 0.6217 GB, free: 0.8125 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01186/0.3116, allocations: 10.74 MB / 0.6321 GB, free: 6.039 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000841/0.3125, allocations: 19.94 kB / 0.6322 GB, free: 6.02 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001484/0.314, allocations: 0.5831 MB / 0.6327 GB, free: 5.434 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006755/0.3207, allocations: 3.048 MB / 0.6357 GB, free: 2.391 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004051/0.3248, allocations: 1.931 MB / 0.6376 GB, free: 480 kB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.001982/0.3268, allocations: 2.444 MB / 0.64 GB, free: 14.02 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005102/0.3273, allocations: 437.2 kB / 0.6404 GB, free: 13.57 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005247/0.3326, allocations: 3.954 MB / 0.6443 GB, free: 9.605 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00079/0.3334, allocations: 0.7739 MB / 0.645 GB, free: 8.828 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001165/0.3335, allocations: 56 kB / 0.6451 GB, free: 8.773 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01066/0.3442, allocations: 7.292 MB / 0.6522 GB, free: 1.469 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003621/0.3446, allocations: 242.8 kB / 0.6524 GB, free: 1.23 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007247/0.3453, allocations: 0.641 MB / 0.653 GB, free: 0.5859 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005731/0.351, allocations: 3.701 MB / 0.6567 GB, free: 12.88 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.3511, allocations: 0 / 0.6567 GB, free: 12.88 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.153e-06/0.3511, allocations: 0 / 0.6567 GB, free: 12.88 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.299e-05/0.3511, allocations: 0 / 0.6567 GB, free: 12.88 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.003457/0.3546, allocations: 1.953 MB / 0.6586 GB, free: 10.87 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.3546, allocations: 12.02 kB / 0.6586 GB, free: 10.86 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001409/0.356, allocations: 251.1 kB / 0.6588 GB, free: 10.61 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008007/0.3568, allocations: 0.6829 MB / 0.6595 GB, free: 9.883 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.539e-05/0.3569, allocations: 90.53 kB / 0.6596 GB, free: 9.793 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000163/0.3571, allocations: 120.3 kB / 0.6597 GB, free: 9.676 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002418/0.3595, allocations: 1.319 MB / 0.661 GB, free: 8.312 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.359e-05/0.3595, allocations: 0 / 0.661 GB, free: 8.312 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.72e-05/0.3596, allocations: 40 kB / 0.661 GB, free: 8.273 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-05/0.3597, allocations: 54.23 kB / 0.6611 GB, free: 8.219 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002296/0.362, allocations: 1.11 MB / 0.6622 GB, free: 7.102 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006257/0.3683, allocations: 5.239 MB / 0.6673 GB, free: 1.484 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002162/0.3704, allocations: 1.247 MB / 0.6685 GB, free: 164 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009519/0.3714, allocations: 0.5815 MB / 0.6691 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002856/0.3743, allocations: 4.305 MB / 0.6733 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.3743, allocations: 43.56 kB / 0.6733 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=106): time 3.186e-06/0.3743, allocations: 0 / 0.6733 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of matching and sorting (n=111): time 0.009224/0.3836, allocations: 4.34 MB / 0.6775 GB, free: 5.762 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.914e-05/0.3836, allocations: 64.41 kB / 0.6776 GB, free: 5.684 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006259/0.3842, allocations: 0.6453 MB / 0.6782 GB, free: 5.027 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.1e-05/0.3843, allocations: 45.7 kB / 0.6783 GB, free: 4.977 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002672/0.3846, allocations: 0.4999 MB / 0.6788 GB, free: 4.469 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002355/0.3848, allocations: 390.2 kB / 0.6791 GB, free: 4.082 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.712e-05/0.3849, allocations: 28 kB / 0.6792 GB, free: 4.055 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.385, allocations: 353.9 kB / 0.6795 GB, free: 3.703 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007763/0.3858, allocations: 426.4 kB / 0.6799 GB, free: 3.289 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008958/0.3867, allocations: 0.576 MB / 0.6805 GB, free: 2.668 MB / 0.4948 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: conductionElement4.deltaE_system = $START.conductionElement4.deltaE_system (0.0 = $START.conductionElement4.deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: conductionElement2.deltaE_system = $START.conductionElement2.deltaE_system (0.0 = $START.conductionElement2.deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: conductionElement.deltaE_system = $START.conductionElement.deltaE_system (0.0 = $START.conductionElement.deltaE_system) Notification: Performance of analyzeInitialSystem (initialization): time 0.001979/0.3887, allocations: 1.312 MB / 0.6817 GB, free: 1.266 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.3887, allocations: 4 kB / 0.6818 GB, free: 1.262 MB / 0.4948 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.1849/0.5736, allocations: 1.457 MB / 0.6832 GB, free: 134.9 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/0.5736, allocations: 6.625 kB / 0.6832 GB, free: 134.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/0.5736, allocations: 5.781 kB / 0.6832 GB, free: 134.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006932/0.5743, allocations: 239.9 kB / 0.6834 GB, free: 134.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000998/0.5753, allocations: 237.4 kB / 0.6836 GB, free: 134.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004111/0.5795, allocations: 5.288 MB / 0.6888 GB, free: 130.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007839/0.5803, allocations: 56.64 kB / 0.6889 GB, free: 130.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001367/0.5804, allocations: 64.98 kB / 0.6889 GB, free: 130.7 MB / 0.4948 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization sytem: conductionElement4.deltaE_system = $START.conductionElement4.deltaE_system conductionElement2.deltaE_system = $START.conductionElement2.deltaE_system conductionElement.deltaE_system = $START.conductionElement.deltaE_system. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (115): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,15,77.8%), (1,3,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004727/0.5809, allocations: 285.8 kB / 0.6892 GB, free: 130.5 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00023/0.5811, allocations: 104.4 kB / 0.6893 GB, free: 130.5 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003342/0.5845, allocations: 1.576 MB / 0.6908 GB, free: 129.9 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.603e-05/0.5845, allocations: 5.203 kB / 0.6908 GB, free: 129.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.5845, allocations: 1.172 kB / 0.6908 GB, free: 129.9 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001517/0.5847, allocations: 165.2 kB / 0.691 GB, free: 129.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001357/0.5848, allocations: 28.27 kB / 0.691 GB, free: 129.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005693/0.5854, allocations: 67.98 kB / 0.6911 GB, free: 129.7 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001956/0.5856, allocations: 106.7 kB / 0.6912 GB, free: 129.7 MB / 0.4948 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003776/0.5894, allocations: 1.572 MB / 0.6927 GB, free: 129.2 MB / 0.4948 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003505/0.5929, allocations: 1.961 MB / 0.6946 GB, free: 128.4 MB / 0.4948 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008487/0.5938, allocations: 0.5204 MB / 0.6951 GB, free: 128.2 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.00051/0.5943, allocations: 447.6 kB / 0.6956 GB, free: 128 MB / 0.4948 GB Notification: Performance of Backend: time 6.11e-07/0.5943, allocations: 3.938 kB / 0.6956 GB, free: 128 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005457/0.5997, allocations: 2.931 MB / 0.6984 GB, free: 127 MB / 0.4948 GB Notification: Performance of SimCode: time 0.003714/0.6035, allocations: 3.806 MB / 0.7022 GB, free: 124.4 MB / 0.4948 GB Notification: Performance of Templates: time 0.03915/0.6426, allocations: 36.4 MB / 0.7377 GB, free: 93.72 MB / 0.4948 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConductionElement.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConductionElement.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConductionElement.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConductionElement.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConductionElement.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConductionElement -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConductionElement.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConductionElement_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.Processes.Tests.ConductionElement_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConductionElement.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches