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.0009833/0.0009834, allocations: 175.2 kB / 12.73 MB, free: 2.59 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.374/1.374, allocations: 205.2 MB / 218.5 MB, free: 9.215 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.0008339/0.0008341, allocations: 79.5 kB / 266.6 MB, free: 9.273 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.7087/0.7087, allocations: 90.35 MB / 405 MB, free: 8.613 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.991e-05/4.016e-05, allocations: 4 kB / 479.2 MB, free: 14.32 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3983/0.3984, allocations: 66.25 MB / 0.5326 GB, free: 28.55 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5504/0.9489, allocations: 285.1 MB / 0.8111 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002265/0.9491, allocations: 79.52 kB / 0.8111 GB, free: 27.07 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.427/3.376, allocations: 0.759 GB / 1.57 GB, free: 36.17 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.092e-06/3.376, allocations: 0 / 1.57 GB, free: 36.17 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0001004/3.376, allocations: 43.98 kB / 1.57 GB, free: 36.13 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.01129/3.388, allocations: 4.332 MB / 1.574 GB, free: 31.75 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/3.388, allocations: 8.031 kB / 1.574 GB, free: 31.74 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001958/3.39, allocations: 341.3 kB / 1.575 GB, free: 31.4 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001349/3.391, allocations: 0.8994 MB / 1.576 GB, free: 30.45 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.013e-05/3.391, allocations: 115 kB / 1.576 GB, free: 30.33 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001737/3.391, allocations: 163.8 kB / 1.576 GB, free: 30.17 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002868/3.394, allocations: 1.55 MB / 1.577 GB, free: 28.55 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.749e-05/3.394, allocations: 0 / 1.577 GB, free: 28.55 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001019/3.394, allocations: 67.94 kB / 1.577 GB, free: 28.48 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.154e-05/3.394, allocations: 43.98 kB / 1.577 GB, free: 28.44 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002281/3.397, allocations: 1.073 MB / 1.579 GB, free: 27.36 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006519/3.403, allocations: 7.593 MB / 1.586 GB, free: 19.2 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002393/3.406, allocations: 1.201 MB / 1.587 GB, free: 18 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005709/3.406, allocations: 472.8 kB / 1.588 GB, free: 17.54 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001402/3.408, allocations: 2.217 MB / 1.59 GB, free: 14.84 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/3.408, allocations: 45.08 kB / 1.59 GB, free: 14.79 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=141): time 3.657e-06/3.408, allocations: 0 / 1.59 GB, free: 14.79 MB / 0.5886 GB Notification: Performance of matching and sorting (n=148): time 0.01062/3.418, allocations: 4.275 MB / 1.594 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.083e-05/3.418, allocations: 72.67 kB / 1.594 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008954/3.419, allocations: 0.8383 MB / 1.595 GB, free: 9.449 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.724e-05/3.419, allocations: 49.7 kB / 1.595 GB, free: 9.395 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003158/3.42, allocations: 0.7112 MB / 1.596 GB, free: 8.672 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002574/3.42, allocations: 0.5197 MB / 1.596 GB, free: 8.145 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.724e-05/3.42, allocations: 32 kB / 1.596 GB, free: 8.113 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.726e-05/3.42, allocations: 361.9 kB / 1.596 GB, free: 7.754 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006601/3.421, allocations: 452 kB / 1.597 GB, free: 7.312 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007763/3.421, allocations: 0.7281 MB / 1.598 GB, free: 6.477 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.0009715/3.422, allocations: 0.8792 MB / 1.598 GB, free: 5.531 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/3.422, allocations: 4 kB / 1.598 GB, free: 5.527 MB / 0.5886 GB Notification: Performance of matching and sorting (n=202) (initialization): time 0.002578/3.425, allocations: 1.652 MB / 1.6 GB, free: 3.848 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/3.425, allocations: 12.48 kB / 1.6 GB, free: 3.836 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/3.425, allocations: 13.95 kB / 1.6 GB, free: 3.824 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005108/3.426, allocations: 193 kB / 1.6 GB, free: 3.617 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001111/3.427, allocations: 335.5 kB / 1.601 GB, free: 3.289 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005136/3.432, allocations: 8.095 MB / 1.609 GB, free: 10.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00115/3.433, allocations: 87.8 kB / 1.609 GB, free: 10.31 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001774/3.433, allocations: 88.02 kB / 1.609 GB, free: 10.22 MB / 0.6042 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.0003204/3.434, allocations: 193.1 kB / 1.609 GB, free: 10.03 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002172/3.434, allocations: 150.1 kB / 1.609 GB, free: 9.879 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004467/3.438, allocations: 2.223 MB / 1.611 GB, free: 7.656 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00224/3.441, allocations: 1.234 MB / 1.612 GB, free: 6.402 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/3.441, allocations: 4 kB / 1.612 GB, free: 6.398 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.527e-05/3.441, allocations: 7.969 kB / 1.612 GB, free: 6.391 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005857/3.446, allocations: 3.327 MB / 1.616 GB, free: 2.965 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.792e-06/3.446, allocations: 0 / 1.616 GB, free: 2.965 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001086/3.448, allocations: 275.9 kB / 1.616 GB, free: 2.695 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005176/3.448, allocations: 188.9 kB / 1.616 GB, free: 2.492 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001228/3.448, allocations: 63.89 kB / 1.616 GB, free: 2.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3454/3.794, allocations: 8.083 MB / 1.624 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/3.794, allocations: 8 kB / 1.624 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0044/3.798, allocations: 2.294 MB / 1.626 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005047/3.799, allocations: 205.8 kB / 1.626 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001874/3.799, allocations: 38.42 kB / 1.627 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007786/3.8, allocations: 79.34 kB / 1.627 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003014/3.8, allocations: 137.8 kB / 1.627 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001395/3.8, allocations: 70.05 kB / 1.627 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0009976/3.801, allocations: 0.6312 MB / 1.627 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.41e-07/3.801, allocations: 0 / 1.627 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00719/3.808, allocations: 1.647 MB / 1.629 GB, free: 61.41 MB / 0.6042 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.006717/3.815, allocations: 2.049 MB / 1.631 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003776/3.819, allocations: 2.372 MB / 1.633 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/3.819, allocations: 0 / 1.633 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001823/3.821, allocations: 1.78 MB / 1.635 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001661/3.822, allocations: 345.7 kB / 1.635 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004718/3.827, allocations: 3.039 MB / 1.638 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007685/3.828, allocations: 1.338 MB / 1.64 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001682/3.83, allocations: 0.6762 MB / 1.64 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004458/3.83, allocations: 155.1 kB / 1.64 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of SimCode: time 6.31e-07/3.83, allocations: 0 / 1.64 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of Templates: time 0.05844/3.889, allocations: 40.68 MB / 1.68 GB, free: 55.64 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