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.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.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.001321/0.001321, allocations: 172.4 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.511/1.511, allocations: 205.3 MB / 213.4 MB, free: 13.76 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.0008682/0.0008684, allocations: 93.39 kB / 261.4 MB, free: 13.45 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.7399/0.7399, allocations: 90.37 MB / 399.7 MB, free: 12.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.449e-05/1.452e-05, allocations: 4 kB / 472.2 MB, free: 3.457 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3727/0.3728, allocations: 66.26 MB / 0.5258 GB, free: 29.04 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6433/1.016, allocations: 284.5 MB / 0.8036 GB, free: 35.39 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002067/1.016, allocations: 87.06 kB / 0.8037 GB, free: 35.35 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.667/3.684, allocations: 0.7542 GB / 1.558 GB, free: 14.8 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.012e-06/3.684, allocations: 4 kB / 1.558 GB, free: 14.79 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0001213/3.684, allocations: 47.98 kB / 1.558 GB, free: 14.75 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.01456/3.699, allocations: 4.33 MB / 1.562 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/3.699, allocations: 12.03 kB / 1.562 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002044/3.701, allocations: 341.4 kB / 1.563 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001668/3.702, allocations: 0.9111 MB / 1.563 GB, free: 9.039 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.943e-05/3.702, allocations: 55.95 kB / 1.563 GB, free: 8.984 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001861/3.703, allocations: 95.91 kB / 1.564 GB, free: 8.891 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001805/3.704, allocations: 0.8886 MB / 1.564 GB, free: 8 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002161/3.707, allocations: 1.27 MB / 1.566 GB, free: 6.656 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.3e-05/3.707, allocations: 3.938 kB / 1.566 GB, free: 6.652 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.172e-05/3.707, allocations: 4 kB / 1.566 GB, free: 6.648 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-05/3.707, allocations: 43.98 kB / 1.566 GB, free: 6.605 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3707/4.078, allocations: 7.317 MB / 1.573 GB, free: 55.97 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001573/4.079, allocations: 1.054 MB / 1.574 GB, free: 55.94 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006731/4.08, allocations: 441 kB / 1.574 GB, free: 55.93 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001637/4.081, allocations: 2.219 MB / 1.576 GB, free: 53.49 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/4.082, allocations: 44.44 kB / 1.577 GB, free: 53.45 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=141): time 3.947e-06/4.082, allocations: 0 / 1.577 GB, free: 53.45 MB / 0.5886 GB Notification: Performance of matching and sorting (n=148): time 0.01849/4.1, allocations: 5.605 MB / 1.582 GB, free: 52.54 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.171e-05/4.1, allocations: 65.16 kB / 1.582 GB, free: 52.47 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001032/4.101, allocations: 0.6812 MB / 1.583 GB, free: 52.33 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.856e-05/4.101, allocations: 26.48 kB / 1.583 GB, free: 52.3 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004185/4.102, allocations: 0.7264 MB / 1.583 GB, free: 52.04 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003385/4.102, allocations: 0.4886 MB / 1.584 GB, free: 51.78 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.212e-05/4.102, allocations: 0 / 1.584 GB, free: 51.78 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.858e-05/4.102, allocations: 371.4 kB / 1.584 GB, free: 51.47 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008028/4.103, allocations: 418.4 kB / 1.585 GB, free: 51.47 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009016/4.104, allocations: 0.6858 MB / 1.585 GB, free: 51.19 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 = 0.0 ($START.conductionElement5.deltaE_system = 0.0) 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 = 0.0 ($START.conductionElement3.deltaE_system = 0.0) 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 = 0.0 ($START.conductionElement1.deltaE_system = 0.0) 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 = 0.0 ($START.conductionElement.deltaE_system = 0.0) Notification: Performance of analyzeInitialSystem (initialization): time 0.004012/4.108, allocations: 1.463 MB / 1.587 GB, free: 50.79 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.177e-06/4.108, allocations: 2.312 kB / 1.587 GB, free: 50.79 MB / 0.5886 GB Notification: Performance of matching and sorting (n=202) (initialization): time 0.005517/4.113, allocations: 2.127 MB / 1.589 GB, free: 50.59 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/4.114, allocations: 7.375 kB / 1.589 GB, free: 50.59 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/4.114, allocations: 6.625 kB / 1.589 GB, free: 50.59 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005131/4.114, allocations: 195.5 kB / 1.589 GB, free: 50.54 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/4.115, allocations: 334 kB / 1.589 GB, free: 50.54 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003842/4.119, allocations: 7.785 MB / 1.597 GB, free: 43.37 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001175/4.12, allocations: 62.19 kB / 1.597 GB, free: 43.37 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001727/4.12, allocations: 83.3 kB / 1.597 GB, free: 43.37 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 = 0.0 conductionElement3.deltaE_system = 0.0 conductionElement1.deltaE_system = 0.0 conductionElement.deltaE_system = 0.0. 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 () * 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.0002689/4.121, allocations: 142.8 kB / 1.597 GB, free: 43.26 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000214/4.121, allocations: 133.9 kB / 1.597 GB, free: 43.19 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007388/4.128, allocations: 2.713 MB / 1.6 GB, free: 43.02 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005054/4.133, allocations: 1.763 MB / 1.602 GB, free: 42.9 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/4.133, allocations: 2.844 kB / 1.602 GB, free: 42.9 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.436e-05/4.134, allocations: 11.27 kB / 1.602 GB, free: 42.9 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008793/4.142, allocations: 3.667 MB / 1.605 GB, free: 42.47 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.528e-06/4.142, allocations: 2.875 kB / 1.605 GB, free: 42.47 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001163/4.144, allocations: 271.8 kB / 1.606 GB, free: 42.47 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005311/4.144, allocations: 185.5 kB / 1.606 GB, free: 42.43 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001388/4.144, allocations: 47.39 kB / 1.606 GB, free: 42.43 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003978/4.148, allocations: 7.784 MB / 1.613 GB, free: 35.26 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/4.148, allocations: 3.562 kB / 1.613 GB, free: 35.26 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006852/4.155, allocations: 2.778 MB / 1.616 GB, free: 34.75 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003898/4.156, allocations: 199.9 kB / 1.616 GB, free: 34.58 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001973/4.156, allocations: 6.906 kB / 1.616 GB, free: 34.58 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007945/4.157, allocations: 57.02 kB / 1.616 GB, free: 34.57 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002965/4.157, allocations: 137.8 kB / 1.617 GB, free: 34.57 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001431/4.157, allocations: 71.05 kB / 1.617 GB, free: 34.57 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0006728/4.158, allocations: 0.4972 MB / 1.617 GB, free: 34.46 MB / 0.5886 GB Notification: Performance of sort global known variables: time 9.61e-07/4.158, allocations: 0 / 1.617 GB, free: 34.46 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.00575/4.163, allocations: 1.591 MB / 1.619 GB, free: 34.46 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 () * 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.005645/4.169, allocations: 2.039 MB / 1.621 GB, free: 34.32 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.003138/4.172, allocations: 2.257 MB / 1.623 GB, free: 33.25 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/4.172, allocations: 0.875 kB / 1.623 GB, free: 33.25 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001618/4.174, allocations: 1.713 MB / 1.625 GB, free: 32.19 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001506/4.175, allocations: 260.1 kB / 1.625 GB, free: 32.18 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004998/4.18, allocations: 2.966 MB / 1.628 GB, free: 31.42 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007427/4.181, allocations: 1.332 MB / 1.629 GB, free: 30.71 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001696/4.183, allocations: 0.6638 MB / 1.63 GB, free: 30.69 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000417/4.183, allocations: 139 kB / 1.63 GB, free: 30.69 MB / 0.5886 GB Notification: Performance of SimCode: time 5.51e-07/4.183, allocations: 0 / 1.63 GB, free: 30.69 MB / 0.5886 GB Notification: Performance of Templates: time 0.05262/4.236, allocations: 37.03 MB / 1.666 GB, free: 28.38 MB / 0.5886 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