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.001442/0.001442, allocations: 102 kB / 16.35 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001515/0.001516, allocations: 196 kB / 17.3 MB, free: 5.516 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.271/1.271, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6058/0.6058, allocations: 89.5 MB / 380.7 MB, free: 8.688 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 76.22 kB / 459.7 MB, free: 10.55 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1044, allocations: 67.31 MB / 0.5146 GB, free: 7.156 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConductionElement): time 0.2225/0.3269, allocations: 76.19 MB / 0.589 GB, free: 1.195 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01103/0.3379, allocations: 9.982 MB / 0.5988 GB, free: 10.09 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001061/0.339, allocations: 16.31 kB / 0.5988 GB, free: 10.09 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001668/0.3407, allocations: 0.6736 MB / 0.5994 GB, free: 9.703 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006509/0.3473, allocations: 2.814 MB / 0.6022 GB, free: 8.395 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003322/0.3506, allocations: 1.472 MB / 0.6036 GB, free: 7.695 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002497/0.3531, allocations: 1.997 MB / 0.6056 GB, free: 6.508 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006792/0.3538, allocations: 0.503 MB / 0.6061 GB, free: 6.277 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005691/0.3595, allocations: 3.769 MB / 0.6097 GB, free: 4.336 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001187/0.3607, allocations: 0.8497 MB / 0.6106 GB, free: 3.785 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002962/0.361, allocations: 135 kB / 0.6107 GB, free: 3.785 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006853/0.3679, allocations: 4.312 MB / 0.6149 GB, free: 0.4922 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00032/0.3682, allocations: 330.8 kB / 0.6152 GB, free: 172 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008338/0.3691, allocations: 0.7348 MB / 0.616 GB, free: 15.43 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003733/0.3728, allocations: 2.583 MB / 0.6185 GB, free: 12.84 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3728, allocations: 0 / 0.6185 GB, free: 12.84 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3729, allocations: 3.938 kB / 0.6185 GB, free: 12.84 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.259e-05/0.3729, allocations: 0 / 0.6185 GB, free: 12.84 MB / 478.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.003217/0.3761, allocations: 1.98 MB / 0.6204 GB, free: 10.8 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.3761, allocations: 12.03 kB / 0.6204 GB, free: 10.79 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001753/0.3779, allocations: 283 kB / 0.6207 GB, free: 10.52 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008981/0.3788, allocations: 0.6867 MB / 0.6214 GB, free: 9.785 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.969e-05/0.3789, allocations: 94.8 kB / 0.6215 GB, free: 9.691 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001664/0.3791, allocations: 128.8 kB / 0.6216 GB, free: 9.566 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002201/0.3813, allocations: 1.302 MB / 0.6228 GB, free: 8.211 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/0.3813, allocations: 0.7969 kB / 0.6228 GB, free: 8.211 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.924e-05/0.3814, allocations: 48 kB / 0.6229 GB, free: 8.164 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-05/0.3814, allocations: 42.25 kB / 0.6229 GB, free: 8.121 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00211/0.3836, allocations: 1.078 MB / 0.624 GB, free: 7.035 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006236/0.3898, allocations: 5.452 MB / 0.6293 GB, free: 1.195 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00181/0.3916, allocations: 1.079 MB / 0.6304 GB, free: 64 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000875/0.3925, allocations: 0.5504 MB / 0.6309 GB, free: 15.51 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001236/0.3938, allocations: 2.408 MB / 0.6333 GB, free: 12.54 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.3938, allocations: 45.19 kB / 0.6333 GB, free: 12.49 MB / 494.1 MB Notification: Performance of pre-optimization done (n=100): time 2.294e-06/0.3938, allocations: 0 / 0.6333 GB, free: 12.49 MB / 494.1 MB Notification: Performance of matching and sorting (n=103): time 0.006755/0.4006, allocations: 3.632 MB / 0.6368 GB, free: 8.699 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.302e-05/0.4006, allocations: 60.41 kB / 0.6369 GB, free: 8.625 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000779/0.4014, allocations: 0.7709 MB / 0.6377 GB, free: 7.844 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.086e-05/0.4015, allocations: 45.7 kB / 0.6377 GB, free: 7.793 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002895/0.4018, allocations: 0.5154 MB / 0.6382 GB, free: 7.27 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002177/0.402, allocations: 366.7 kB / 0.6386 GB, free: 6.906 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002693/0.4023, allocations: 198.8 kB / 0.6387 GB, free: 6.707 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.4024, allocations: 345.9 kB / 0.6391 GB, free: 6.363 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007148/0.4031, allocations: 402.4 kB / 0.6395 GB, free: 5.969 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008065/0.4039, allocations: 0.5457 MB / 0.64 GB, free: 5.379 MB / 494.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.001721/0.4056, allocations: 1.245 MB / 0.6412 GB, free: 4.039 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.4057, allocations: 0 / 0.6412 GB, free: 4.039 MB / 494.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002386/0.408, allocations: 1.385 MB / 0.6426 GB, free: 2.633 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.4081, allocations: 11.94 kB / 0.6426 GB, free: 2.621 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.896e-06/0.4081, allocations: 4 kB / 0.6426 GB, free: 2.617 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000645/0.4087, allocations: 250.9 kB / 0.6428 GB, free: 2.363 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008208/0.4096, allocations: 233.8 kB / 0.643 GB, free: 2.137 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004602/0.4142, allocations: 5.742 MB / 0.6486 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005835/0.4148, allocations: 35.98 kB / 0.6487 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.451e-05/0.4149, allocations: 51.97 kB / 0.6487 GB, free: 11.9 MB / 0.4981 GB 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.000396/0.4153, allocations: 290.5 kB / 0.649 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001743/0.4155, allocations: 110.7 kB / 0.6491 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002752/0.4182, allocations: 1.525 MB / 0.6506 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.4182, allocations: 8 kB / 0.6506 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.4183, allocations: 4 kB / 0.6506 GB, free: 9.973 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.278e-05/0.4183, allocations: 7.984 kB / 0.6506 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004793/0.4231, allocations: 3.788 MB / 0.6543 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.4231, allocations: 0 / 0.6543 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007631/0.4239, allocations: 199.7 kB / 0.6545 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006005/0.4245, allocations: 250.6 kB / 0.6547 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-05/0.4246, allocations: 39.97 kB / 0.6548 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004497/0.4291, allocations: 5.757 MB / 0.6604 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.4291, allocations: 11.94 kB / 0.6604 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00297/0.432, allocations: 1.962 MB / 0.6623 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001616/0.4322, allocations: 175.8 kB / 0.6625 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001319/0.4324, allocations: 24 kB / 0.6625 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005513/0.4329, allocations: 47.95 kB / 0.6626 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001548/0.4331, allocations: 96.75 kB / 0.6627 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.324e-05/0.4332, allocations: 54.48 kB / 0.6627 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0005439/0.4337, allocations: 0.5224 MB / 0.6632 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4337, allocations: 0 / 0.6632 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001171/0.4349, allocations: 0.4959 MB / 0.6637 GB, free: 11.75 MB / 0.5137 GB 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.0008294/0.4357, allocations: 0.5678 MB / 0.6643 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002294/0.438, allocations: 1.512 MB / 0.6657 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.4381, allocations: 4 kB / 0.6657 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001435/0.4395, allocations: 1.023 MB / 0.6667 GB, free: 8.617 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001232/0.4407, allocations: 353.8 kB / 0.6671 GB, free: 8.312 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003283/0.444, allocations: 2.737 MB / 0.6698 GB, free: 5.566 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005655/0.4446, allocations: 1.129 MB / 0.6709 GB, free: 4.402 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0006756/0.4453, allocations: 321.4 kB / 0.6712 GB, free: 4.109 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003031/0.4456, allocations: 115.4 kB / 0.6713 GB, free: 3.996 MB / 0.5137 GB Notification: Performance of SimCode: time 2.71e-07/0.4456, allocations: 0 / 0.6713 GB, free: 3.996 MB / 0.5137 GB Notification: Performance of Templates: time 0.4345/0.8801, allocations: 24.59 MB / 0.6953 GB, free: 11.78 MB / 0.545 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 -s cvode -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