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.001012/0.001012, allocations: 172.2 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.204/1.204, allocations: 205 MB / 221.9 MB, free: 9.137 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.0007374/0.0007374, allocations: 90.3 kB / 269.9 MB, free: 8.664 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.5935/0.5935, allocations: 90.52 MB / 408.3 MB, free: 3.938 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002663/0.0002663, allocations: 12 kB / 484.9 MB, free: 7.215 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.2232, allocations: 65.8 MB / 0.5378 GB, free: 34.96 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.ConductionElement): time 0.07583/0.2991, allocations: 92.34 MB / 0.6279 GB, free: 10.36 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.006777/0.3059, allocations: 4.443 MB / 0.6323 GB, free: 5.906 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001166/0.3071, allocations: 23.88 kB / 0.6323 GB, free: 5.883 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001609/0.3087, allocations: 0.6799 MB / 0.633 GB, free: 5.199 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007976/0.3167, allocations: 3.66 MB / 0.6365 GB, free: 1.543 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009354/0.3261, allocations: 4.646 MB / 0.6411 GB, free: 12.92 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0036/0.3297, allocations: 4.177 MB / 0.6451 GB, free: 8.73 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005456/0.3302, allocations: 463.8 kB / 0.6456 GB, free: 8.25 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01123/0.3415, allocations: 8.449 MB / 0.6538 GB, free: 15.78 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001116/0.3426, allocations: 1.12 MB / 0.6549 GB, free: 14.65 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001299/0.3427, allocations: 64 kB / 0.655 GB, free: 14.59 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01563/0.3584, allocations: 11.05 MB / 0.6658 GB, free: 3.52 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004548/0.3589, allocations: 286.4 kB / 0.6661 GB, free: 3.238 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000996/0.3599, allocations: 0.8623 MB / 0.6669 GB, free: 2.371 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01001/0.3699, allocations: 5.727 MB / 0.6725 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3699, allocations: 0 / 0.6725 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3699, allocations: 0 / 0.6725 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.738e-05/0.37, allocations: 0 / 0.6725 GB, free: 12.63 MB / 0.4948 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.004487/0.3744, allocations: 2.632 MB / 0.6751 GB, free: 9.938 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.3745, allocations: 12.02 kB / 0.6751 GB, free: 9.926 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001818/0.3763, allocations: 338.3 kB / 0.6754 GB, free: 9.594 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001012/0.3773, allocations: 0.8385 MB / 0.6762 GB, free: 8.699 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.109e-05/0.3774, allocations: 115.4 kB / 0.6763 GB, free: 8.586 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002064/0.3777, allocations: 160.2 kB / 0.6765 GB, free: 8.43 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003295/0.381, allocations: 1.645 MB / 0.6781 GB, free: 6.711 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.478e-05/0.381, allocations: 7.938 kB / 0.6781 GB, free: 6.703 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/0.3811, allocations: 60 kB / 0.6782 GB, free: 6.645 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.025e-05/0.3812, allocations: 47.92 kB / 0.6782 GB, free: 6.598 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003146/0.3843, allocations: 1.21 MB / 0.6794 GB, free: 5.383 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1953/0.5796, allocations: 7.535 MB / 0.6867 GB, free: 129.8 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003131/0.5828, allocations: 1.271 MB / 0.688 GB, free: 129.7 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009154/0.5837, allocations: 0.527 MB / 0.6885 GB, free: 129.5 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002449/0.5862, allocations: 3.898 MB / 0.6923 GB, free: 125.3 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.5862, allocations: 49.02 kB / 0.6923 GB, free: 125.3 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=141): time 4.038e-06/0.5862, allocations: 0.875 kB / 0.6923 GB, free: 125.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=148): time 0.01499/0.6012, allocations: 5.831 MB / 0.698 GB, free: 122.6 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.39e-05/0.6013, allocations: 66.69 kB / 0.6981 GB, free: 122.5 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/0.6023, allocations: 1.004 MB / 0.6991 GB, free: 122.1 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.736e-05/0.6024, allocations: 46.7 kB / 0.6991 GB, free: 122.1 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003361/0.6028, allocations: 0.7075 MB / 0.6998 GB, free: 121.5 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002933/0.6031, allocations: 0.5177 MB / 0.7003 GB, free: 121.1 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.44e-05/0.6031, allocations: 30.66 kB / 0.7004 GB, free: 121.1 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.012e-05/0.6032, allocations: 366.5 kB / 0.7007 GB, free: 120.8 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001042/0.6043, allocations: 0.5448 MB / 0.7012 GB, free: 120.6 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001201/0.6055, allocations: 0.8379 MB / 0.7021 GB, free: 120.1 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: 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.002458/0.608, allocations: 1.803 MB / 0.7038 GB, free: 118.9 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.608, allocations: 3.406 kB / 0.7038 GB, free: 118.9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=202) (initialization): time 0.003302/0.6113, allocations: 1.881 MB / 0.7057 GB, free: 118.1 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.6113, allocations: 8.031 kB / 0.7057 GB, free: 118.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/0.6113, allocations: 8.25 kB / 0.7057 GB, free: 118.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004807/0.6118, allocations: 195.2 kB / 0.7059 GB, free: 118.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001088/0.6129, allocations: 351.2 kB / 0.7062 GB, free: 118 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003547/0.6165, allocations: 8.112 MB / 0.7141 GB, free: 109.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008565/0.6173, allocations: 88.5 kB / 0.7142 GB, free: 109.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001431/0.6175, allocations: 113.7 kB / 0.7143 GB, free: 109.9 MB / 0.4948 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 (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004743/0.618, allocations: 322.7 kB / 0.7146 GB, free: 109.7 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002274/0.6182, allocations: 149.2 kB / 0.7148 GB, free: 109.6 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003782/0.622, allocations: 1.996 MB / 0.7167 GB, free: 108.8 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.237e-05/0.622, allocations: 7.312 kB / 0.7167 GB, free: 108.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.622, allocations: 0 / 0.7167 GB, free: 108.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001833/0.6222, allocations: 205.8 kB / 0.7169 GB, free: 108.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001805/0.6224, allocations: 27.88 kB / 0.7169 GB, free: 108.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006545/0.6231, allocations: 86.55 kB / 0.717 GB, free: 108.6 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002228/0.6233, allocations: 139.4 kB / 0.7172 GB, free: 108.6 MB / 0.4948 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003956/0.6273, allocations: 1.842 MB / 0.719 GB, free: 107.9 MB / 0.4948 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003675/0.631, allocations: 2.425 MB / 0.7213 GB, free: 106.7 MB / 0.4948 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001011/0.632, allocations: 0.6644 MB / 0.722 GB, free: 106.4 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0006047/0.6326, allocations: 0.6614 MB / 0.7226 GB, free: 106 MB / 0.4948 GB Notification: Performance of Backend: time 4.31e-07/0.6326, allocations: 0 / 0.7226 GB, free: 106 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007422/0.64, allocations: 4.75 MB / 0.7273 GB, free: 102.4 MB / 0.4948 GB Notification: Performance of SimCode: time 0.004275/0.6443, allocations: 5.041 MB / 0.7322 GB, free: 97.28 MB / 0.4948 GB Notification: Performance of Templates: time 0.0578/0.7021, allocations: 56.11 MB / 0.787 GB, free: 41.51 MB / 0.4948 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