Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_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_ThermofluidStream.Processes.Tests.ConductionElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 200.2 kB / 16.79 MB, free: 6.828 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 222.9 MB / 240.5 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6299/0.6299, allocations: 89.51 MB / 380.1 MB, free: 11.27 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 77.72 kB / 458.2 MB, free: 23.89 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1122, allocations: 67.31 MB / 0.5132 GB, free: 12.94 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConductionElement): time 0.3244/0.4366, allocations: 78.2 MB / 0.5896 GB, free: 6 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0121/0.4488, allocations: 10.27 MB / 0.5996 GB, free: 5.902 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001398/0.4502, allocations: 19.59 kB / 0.5996 GB, free: 5.902 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001713/0.452, allocations: 0.5945 MB / 0.6002 GB, free: 5.898 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006969/0.459, allocations: 2.549 MB / 0.6027 GB, free: 5.887 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003602/0.4626, allocations: 1.329 MB / 0.604 GB, free: 5.879 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003149/0.4658, allocations: 2.397 MB / 0.6063 GB, free: 5.879 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006736/0.4664, allocations: 467.8 kB / 0.6068 GB, free: 5.797 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006835/0.4733, allocations: 4.031 MB / 0.6107 GB, free: 5.73 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001444/0.4748, allocations: 0.8321 MB / 0.6115 GB, free: 5.574 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001849/0.475, allocations: 88.97 kB / 0.6116 GB, free: 5.574 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008484/0.4834, allocations: 4.691 MB / 0.6162 GB, free: 5.457 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003627/0.4838, allocations: 282.9 kB / 0.6165 GB, free: 5.406 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001052/0.4849, allocations: 0.6985 MB / 0.6171 GB, free: 5.199 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00313/0.488, allocations: 1.884 MB / 0.619 GB, free: 5.012 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.488, allocations: 8.438 kB / 0.619 GB, free: 5.012 MB / 462.1 MB Notification: Performance of FrontEnd: time 8.41e-07/0.4881, allocations: 0 / 0.619 GB, free: 5.012 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.92e-05/0.4881, allocations: 4 kB / 0.619 GB, free: 5.008 MB / 462.1 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.004114/0.4922, allocations: 1.971 MB / 0.6209 GB, free: 20.05 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.4922, allocations: 9.625 kB / 0.6209 GB, free: 20.05 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001889/0.4941, allocations: 285.5 kB / 0.6212 GB, free: 19.98 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009147/0.4951, allocations: 0.6859 MB / 0.6219 GB, free: 19.66 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.582e-05/0.4952, allocations: 89.62 kB / 0.6219 GB, free: 19.65 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001815/0.4953, allocations: 129.2 kB / 0.6221 GB, free: 19.64 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002469/0.4978, allocations: 1.302 MB / 0.6233 GB, free: 19.38 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.368e-05/0.4979, allocations: 2.906 kB / 0.6233 GB, free: 19.38 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001011/0.498, allocations: 46.34 kB / 0.6234 GB, free: 19.38 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.263e-05/0.498, allocations: 49.66 kB / 0.6234 GB, free: 19.37 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002151/0.5002, allocations: 1.082 MB / 0.6245 GB, free: 19.17 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006858/0.507, allocations: 5.469 MB / 0.6298 GB, free: 15.71 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001991/0.5091, allocations: 1.082 MB / 0.6309 GB, free: 15.3 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008584/0.5099, allocations: 0.548 MB / 0.6314 GB, free: 15.22 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001477/0.5114, allocations: 2.412 MB / 0.6338 GB, free: 12.37 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.534e-05/0.5115, allocations: 42.22 kB / 0.6338 GB, free: 12.33 MB / 478.1 MB Notification: Performance of pre-optimization done (n=100): time 2.695e-06/0.5115, allocations: 0 / 0.6338 GB, free: 12.33 MB / 478.1 MB Notification: Performance of matching and sorting (n=103): time 0.00809/0.5196, allocations: 3.639 MB / 0.6374 GB, free: 10.77 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.651e-05/0.5196, allocations: 61.12 kB / 0.6374 GB, free: 10.71 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000843/0.5205, allocations: 0.7635 MB / 0.6382 GB, free: 10.28 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.172e-05/0.5206, allocations: 45.89 kB / 0.6382 GB, free: 10.24 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002722/0.5209, allocations: 0.5152 MB / 0.6387 GB, free: 9.777 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000178/0.521, allocations: 365.8 kB / 0.6391 GB, free: 9.465 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002696/0.5213, allocations: 199.8 kB / 0.6393 GB, free: 9.348 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.5215, allocations: 346.8 kB / 0.6396 GB, free: 9.012 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007172/0.5222, allocations: 404 kB / 0.64 GB, free: 8.812 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008894/0.5231, allocations: 0.5488 MB / 0.6405 GB, free: 8.445 MB / 478.1 MB 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.001924/0.525, allocations: 1.24 MB / 0.6417 GB, free: 7.574 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.525, allocations: 2.906 kB / 0.6417 GB, free: 7.574 MB / 478.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002681/0.5277, allocations: 1.38 MB / 0.6431 GB, free: 6.883 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.5278, allocations: 19.33 kB / 0.6431 GB, free: 6.871 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.5278, allocations: 2.875 kB / 0.6431 GB, free: 6.871 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007717/0.5285, allocations: 247.5 kB / 0.6433 GB, free: 6.75 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009079/0.5295, allocations: 238.4 kB / 0.6436 GB, free: 6.695 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005136/0.5346, allocations: 5.292 MB / 0.6487 GB, free: 1.785 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009018/0.5355, allocations: 43.61 kB / 0.6488 GB, free: 1.762 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/0.5357, allocations: 46.39 kB / 0.6488 GB, free: 1.75 MB / 478.1 MB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: 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: 15 * 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 (114): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(4,14,75.0%), (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.0005729/0.5362, allocations: 288.7 kB / 0.6491 GB, free: 1.531 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002285/0.5365, allocations: 107.4 kB / 0.6492 GB, free: 1.477 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003119/0.5396, allocations: 1.529 MB / 0.6507 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.5396, allocations: 10.75 kB / 0.6507 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.5396, allocations: 5.219 kB / 0.6507 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/0.5396, allocations: 7.969 kB / 0.6507 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005586/0.5452, allocations: 3.803 MB / 0.6544 GB, free: 13.57 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.548e-06/0.5453, allocations: 2.719 kB / 0.6544 GB, free: 13.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008483/0.5461, allocations: 200.2 kB / 0.6546 GB, free: 13.53 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007155/0.5469, allocations: 241.5 kB / 0.6548 GB, free: 13.4 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.566e-05/0.547, allocations: 44.14 kB / 0.6549 GB, free: 13.37 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004873/0.5518, allocations: 5.302 MB / 0.6601 GB, free: 8.449 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.5519, allocations: 2.5 kB / 0.6601 GB, free: 8.449 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003547/0.5554, allocations: 1.961 MB / 0.662 GB, free: 6.676 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003158/0.5557, allocations: 171.8 kB / 0.6621 GB, free: 6.488 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001565/0.5559, allocations: 27.98 kB / 0.6622 GB, free: 6.461 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006954/0.5566, allocations: 63.94 kB / 0.6622 GB, free: 6.398 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001918/0.5568, allocations: 88 kB / 0.6623 GB, free: 6.316 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.811e-05/0.5569, allocations: 51.95 kB / 0.6624 GB, free: 6.266 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006717/0.5576, allocations: 0.5186 MB / 0.6629 GB, free: 5.754 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5576, allocations: 4 kB / 0.6629 GB, free: 5.75 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001659/0.5593, allocations: 0.5037 MB / 0.6634 GB, free: 5.246 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 12 (conductionElement.h,conductionElement1.inlet.m_flow,conductionElement1.h,conductionElement1.deltaE_system,conductionElement2.inlet.m_flow,conductionElement2.h,splitterX.splitterN.inlet.m_flow,conductionElement3.inlet.m_flow,conductionElement3.h,conductionElement3.deltaE_system,conductionElement4.h,flowResistance.inlet.m_flow) * 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 (88): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(4,14,75.0%), (1,3,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001065/0.5603, allocations: 0.5724 MB / 0.6639 GB, free: 4.719 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002686/0.563, allocations: 1.501 MB / 0.6654 GB, free: 3.184 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.5631, allocations: 0.625 kB / 0.6654 GB, free: 3.184 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00169/0.5648, allocations: 1.025 MB / 0.6664 GB, free: 2.121 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001612/0.5664, allocations: 326.5 kB / 0.6667 GB, free: 1.805 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004334/0.5707, allocations: 3.276 MB / 0.6699 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006647/0.5714, allocations: 1.121 MB / 0.671 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00048/0.5719, allocations: 131.3 kB / 0.6711 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of SimCode: time 5.11e-07/0.5719, allocations: 0 / 0.6711 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of Templates: time 0.03783/0.6097, allocations: 34.44 MB / 0.7048 GB, free: 10.84 MB / 0.5294 GB make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement.makefile (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement.sim & ./ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.ConductionElement_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches