Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.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.3.1-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-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.Undirected.Processes.Tests.ConductionElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|conductionElement.h|conductionElement.rear.m_flow|conductionElement1.h|conductionElement1.rear.m_flow|conductionElement2.deltaE_system|conductionElement2.h|conductionElement2.rear.m_flow|conductionElement3.h|conductionElement3.rear.m_flow|conductionElement4.deltaE_system|conductionElement4.h|conductionElement4.rear.m_flow|conductionElement5.h|conductionElement5.rear.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.ConductionElement") translateModel(ThermofluidStream.Undirected.Processes.Tests.ConductionElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|conductionElement.h|conductionElement.rear.m_flow|conductionElement1.h|conductionElement1.rear.m_flow|conductionElement2.deltaE_system|conductionElement2.h|conductionElement2.rear.m_flow|conductionElement3.h|conductionElement3.rear.m_flow|conductionElement4.deltaE_system|conductionElement4.h|conductionElement4.rear.m_flow|conductionElement5.h|conductionElement5.rear.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.ConductionElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001111/0.001111, allocations: 177.8 kB / 16.12 MB, free: 5.695 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.489/1.489, allocations: 205.4 MB / 222.3 MB, free: 9.02 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.0007568/0.0007569, allocations: 92.86 kB / 270.6 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-OM_adaptions/package.mo): time 0.7215/0.7215, allocations: 89.62 MB / 408.5 MB, free: 4.457 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004393/0.0004394, allocations: 12.22 kB / 485.2 MB, free: 7.609 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3669/0.3673, allocations: 66.01 MB / 0.5383 GB, free: 34.48 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6052/0.9726, allocations: 285.1 MB / 0.8167 GB, free: 11.3 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002739/0.9729, allocations: 88.58 kB / 0.8168 GB, free: 11.26 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.362/3.335, allocations: 0.699 GB / 1.516 GB, free: 73.48 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.114e-06/3.335, allocations: 0 / 1.516 GB, free: 73.48 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0001927/3.335, allocations: 54.12 kB / 1.516 GB, free: 73.47 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: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.01447/3.35, allocations: 4.477 MB / 1.52 GB, free: 70.85 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/3.35, allocations: 9.156 kB / 1.52 GB, free: 70.85 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00238/3.352, allocations: 342 kB / 1.521 GB, free: 70.75 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002174/3.354, allocations: 0.9539 MB / 1.522 GB, free: 70.31 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001415/3.355, allocations: 123.4 kB / 1.522 GB, free: 70.31 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004636/3.355, allocations: 155 kB / 1.522 GB, free: 70.3 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004269/3.359, allocations: 1.629 MB / 1.523 GB, free: 69.24 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.7e-05/3.359, allocations: 12.06 kB / 1.523 GB, free: 69.23 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001311/3.36, allocations: 61.12 kB / 1.523 GB, free: 69.21 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.233e-05/3.36, allocations: 43.06 kB / 1.524 GB, free: 69.18 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003337/3.363, allocations: 1.194 MB / 1.525 GB, free: 68.15 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008695/3.372, allocations: 7.571 MB / 1.532 GB, free: 60.13 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002866/3.375, allocations: 1.255 MB / 1.533 GB, free: 58.9 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007928/3.375, allocations: 0.5247 MB / 1.534 GB, free: 58.38 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001457/3.377, allocations: 2.215 MB / 1.536 GB, free: 55.7 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/3.377, allocations: 50.75 kB / 1.536 GB, free: 55.65 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=141): time 4.548e-06/3.377, allocations: 3.844 kB / 1.536 GB, free: 55.65 MB / 0.5886 GB Notification: Performance of matching and sorting (n=148): time 0.01519/3.392, allocations: 5.77 MB / 1.542 GB, free: 49.74 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/3.392, allocations: 70.22 kB / 1.542 GB, free: 49.66 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001352/3.393, allocations: 0.9836 MB / 1.543 GB, free: 48.67 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0001035/3.394, allocations: 49.7 kB / 1.543 GB, free: 48.62 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003718/3.394, allocations: 0.7166 MB / 1.543 GB, free: 47.89 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002925/3.394, allocations: 0.5081 MB / 1.544 GB, free: 47.39 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.462e-05/3.394, allocations: 32 kB / 1.544 GB, free: 47.36 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.539e-05/3.394, allocations: 372 kB / 1.544 GB, free: 46.99 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009932/3.395, allocations: 0.5231 MB / 1.545 GB, free: 46.47 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00109/3.397, allocations: 0.825 MB / 1.546 GB, free: 45.55 MB / 0.5886 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: conductionElement5.deltaE_system = $START.conductionElement5.deltaE_system (0.0 = $START.conductionElement5.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: conductionElement3.deltaE_system = $START.conductionElement3.deltaE_system (0.0 = $START.conductionElement3.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: conductionElement1.deltaE_system = $START.conductionElement1.deltaE_system (0.0 = $START.conductionElement1.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.002319/3.399, allocations: 1.766 MB / 1.547 GB, free: 43.64 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.749e-06/3.399, allocations: 4 kB / 1.547 GB, free: 43.64 MB / 0.5886 GB Notification: Performance of matching and sorting (n=202) (initialization): time 0.003517/3.402, allocations: 1.836 MB / 1.549 GB, free: 41.8 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/3.402, allocations: 8 kB / 1.549 GB, free: 41.79 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.664e-05/3.403, allocations: 10.22 kB / 1.549 GB, free: 41.78 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005279/3.403, allocations: 187.9 kB / 1.549 GB, free: 41.58 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001051/3.404, allocations: 338.9 kB / 1.55 GB, free: 41.25 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004094/3.408, allocations: 8.119 MB / 1.558 GB, free: 32.37 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001219/3.409, allocations: 86.5 kB / 1.558 GB, free: 32.29 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002372/3.41, allocations: 83.95 kB / 1.558 GB, free: 32.21 MB / 0.5886 GB Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization sytem: conductionElement5.deltaE_system = $START.conductionElement5.deltaE_system conductionElement3.deltaE_system = $START.conductionElement3.deltaE_system conductionElement1.deltaE_system = $START.conductionElement1.deltaE_system conductionElement.deltaE_system = $START.conductionElement.deltaE_system. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (176): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007916/3.411, allocations: 318.2 kB / 1.558 GB, free: 31.89 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003026/3.411, allocations: 150.1 kB / 1.558 GB, free: 31.74 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004633/3.415, allocations: 2.395 MB / 1.561 GB, free: 29.42 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002488/3.418, allocations: 1.413 MB / 1.562 GB, free: 28 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.195e-05/3.418, allocations: 4 kB / 1.562 GB, free: 27.99 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.323e-05/3.418, allocations: 11.47 kB / 1.562 GB, free: 27.98 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005857/3.424, allocations: 3.479 MB / 1.565 GB, free: 24.45 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/3.424, allocations: 0 / 1.565 GB, free: 24.45 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001021/3.425, allocations: 275.9 kB / 1.566 GB, free: 24.18 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004514/3.425, allocations: 188.8 kB / 1.566 GB, free: 23.98 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001209/3.426, allocations: 63.94 kB / 1.566 GB, free: 23.91 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004029/3.43, allocations: 8.111 MB / 1.574 GB, free: 15.02 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/3.43, allocations: 0 / 1.574 GB, free: 15.02 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004191/3.434, allocations: 2.449 MB / 1.576 GB, free: 12.51 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005191/3.434, allocations: 207.2 kB / 1.576 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003313/3.435, allocations: 32 kB / 1.576 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009077/3.436, allocations: 79.8 kB / 1.576 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000313/3.436, allocations: 137 kB / 1.577 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001446/3.436, allocations: 75.94 kB / 1.577 GB, free: 11.97 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0008459/3.437, allocations: 0.6446 MB / 1.577 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.3e-07/3.437, allocations: 0 / 1.577 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.005053/3.442, allocations: 1.654 MB / 1.579 GB, free: 9.668 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 14 (conductionElement.rear.m_flow,conductionElement.h,conductionElement1.m_flow,conductionElement1.h,conductionElement2.rear.m_flow,conductionElement2.h,conductionElement2.deltaE_system,conductionElement3.rear.m_flow,conductionElement3.h,conductionElement4.rear.m_flow,conductionElement4.h,conductionElement4.deltaE_system,conductionElement5.rear.m_flow,conductionElement5.h) * 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 (129): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006142/3.448, allocations: 2.066 MB / 1.581 GB, free: 7.754 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.003803/3.452, allocations: 2.565 MB / 1.583 GB, free: 5.039 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/3.452, allocations: 0 / 1.583 GB, free: 5.039 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.002146/3.454, allocations: 1.882 MB / 1.585 GB, free: 3.008 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002287/3.456, allocations: 340.4 kB / 1.586 GB, free: 2.691 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00616/3.463, allocations: 4.417 MB / 1.59 GB, free: 14.29 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001131/3.464, allocations: 1.297 MB / 1.591 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001866/3.466, allocations: 0.6794 MB / 1.592 GB, free: 12.31 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004781/3.466, allocations: 151.2 kB / 1.592 GB, free: 12.17 MB / 0.6042 GB Notification: Performance of SimCode: time 6.81e-07/3.466, allocations: 0 / 1.592 GB, free: 12.17 MB / 0.6042 GB Notification: Performance of Templates: time 0.4226/3.889, allocations: 41.3 MB / 1.632 GB, free: 77.12 MB / 0.6042 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.ConductionElement -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.ConductionElement_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.Undirected.Processes.Tests.ConductionElement_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches