Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Examples.SimpleStream.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001601/0.001601, allocations: 109.4 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001988/0.001988, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo): time 0.8239/0.8239, allocations: 94.59 MB / 397.3 MB, free: 320 kB / 302.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.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: "" <> buildModelFMU(ThermofluidStream.Examples.SimpleStream,fileNamePrefix="ThermofluidStream_ThermofluidStream_Examples_SimpleStream",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Examples.SimpleStream,fileNamePrefix="ThermofluidStream_ThermofluidStream_Examples_SimpleStream",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002337/0.002337, allocations: 83.22 kB / 0.5416 GB, free: 42.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1309, allocations: 71.86 MB / 0.6118 GB, free: 10.13 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.SimpleStream): time 0.643/0.774, allocations: 285.7 MB / 0.8908 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.04194/0.8159, allocations: 27.47 MB / 0.9176 GB, free: 3.98 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001698/0.8176, allocations: 47.75 kB / 0.9177 GB, free: 3.934 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003938/0.8215, allocations: 1.45 MB / 0.9191 GB, free: 2.477 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01381/0.8353, allocations: 4.749 MB / 0.9237 GB, free: 13.71 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.00564/0.841, allocations: 2.063 MB / 0.9257 GB, free: 11.64 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004152/0.8451, allocations: 2.252 MB / 0.9279 GB, free: 9.379 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008659/0.846, allocations: 439.8 kB / 0.9284 GB, free: 8.922 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002921/0.8489, allocations: 1.394 MB / 0.9297 GB, free: 7.523 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001468/0.8504, allocations: 1.035 MB / 0.9307 GB, free: 6.484 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002296/0.8506, allocations: 136 kB / 0.9309 GB, free: 6.352 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0166/0.8672, allocations: 9.213 MB / 0.9399 GB, free: 13.12 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0007966/0.868, allocations: 0.4906 MB / 0.9403 GB, free: 12.63 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001187/0.8692, allocations: 0.8435 MB / 0.9412 GB, free: 11.78 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01351/0.8827, allocations: 5.565 MB / 0.9466 GB, free: 6.199 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.8827, allocations: 0 / 0.9466 GB, free: 6.199 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.943e-06/0.8827, allocations: 0 / 0.9466 GB, free: 6.199 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.01e-05/0.8828, allocations: 0 / 0.9466 GB, free: 6.199 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 314 * Number of variables: 314 Notification: Performance of Generate backend data structure: time 0.006523/0.8893, allocations: 2.798 MB / 0.9493 GB, free: 3.336 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.8893, allocations: 12.03 kB / 0.9493 GB, free: 3.324 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002424/0.8896, allocations: 189.8 kB / 0.9495 GB, free: 3.129 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003706/0.89, allocations: 182.9 kB / 0.9497 GB, free: 2.949 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001935/0.8919, allocations: 1.025 MB / 0.9507 GB, free: 1.879 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.664e-05/0.892, allocations: 87.41 kB / 0.9508 GB, free: 1.793 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001846/0.8922, allocations: 119.9 kB / 0.9509 GB, free: 1.676 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002886/0.895, allocations: 1.773 MB / 0.9526 GB, free: 15.86 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.05e-05/0.8951, allocations: 4 kB / 0.9526 GB, free: 15.86 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001087/0.8952, allocations: 51.92 kB / 0.9527 GB, free: 15.81 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001528/0.8953, allocations: 114.4 kB / 0.9528 GB, free: 15.7 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002816/0.8982, allocations: 1.872 MB / 0.9546 GB, free: 13.82 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01066/0.9088, allocations: 7.994 MB / 0.9624 GB, free: 4.984 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001524/0.9103, allocations: 0.8323 MB / 0.9632 GB, free: 4.125 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009895/0.9113, allocations: 0.61 MB / 0.9638 GB, free: 3.512 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001882/0.9132, allocations: 2.351 MB / 0.9661 GB, free: 0.6445 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.529e-05/0.9133, allocations: 39.56 kB / 0.9662 GB, free: 0.5977 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=101): time 3.066e-06/0.9133, allocations: 4 kB / 0.9662 GB, free: 0.5938 MB / 0.7012 GB Notification: Performance of matching and sorting (n=103): time 0.007041/0.9203, allocations: 3.85 MB / 0.9699 GB, free: 12.65 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.498e-05/0.9203, allocations: 64.41 kB / 0.97 GB, free: 12.58 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001122/0.9215, allocations: 0.8052 MB / 0.9708 GB, free: 11.75 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.797e-05/0.9215, allocations: 41.7 kB / 0.9708 GB, free: 11.7 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004857/0.922, allocations: 0.6143 MB / 0.9714 GB, free: 11.08 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003247/0.9224, allocations: 376.7 kB / 0.9718 GB, free: 10.71 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003143/0.9227, allocations: 186.6 kB / 0.9719 GB, free: 10.52 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001794/0.9229, allocations: 341.9 kB / 0.9723 GB, free: 10.18 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007927/0.9236, allocations: 0.5017 MB / 0.9728 GB, free: 9.68 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009146/0.9246, allocations: 0.5802 MB / 0.9733 GB, free: 9.09 MB / 0.7169 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: thermalConduction.deltaE_system = $START.thermalConduction.deltaE_system (0.0 = $START.thermalConduction.deltaE_system) Notification: Performance of analyzeInitialSystem (initialization): time 0.001949/0.9265, allocations: 1.231 MB / 0.9745 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.9265, allocations: 0 / 0.9745 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002627/0.9291, allocations: 1.493 MB / 0.976 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.9292, allocations: 4 kB / 0.976 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.9292, allocations: 0 / 0.976 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005682/0.9297, allocations: 178 kB / 0.9762 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006614/0.9304, allocations: 201.5 kB / 0.9764 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003405/0.9338, allocations: 2.692 MB / 0.979 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005045/0.9343, allocations: 23.98 kB / 0.979 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000165/0.9345, allocations: 67.97 kB / 0.9791 GB, free: 3.031 MB / 0.7169 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: thermalConduction.deltaE_system = $START.thermalConduction.deltaE_system. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (95): * Single equations (assignments): 89 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005886/0.9351, allocations: 333.5 kB / 0.9794 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000238/0.9353, allocations: 119.2 kB / 0.9795 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003773/0.9391, allocations: 2.127 MB / 0.9816 GB, free: 448 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.357e-05/0.9391, allocations: 12 kB / 0.9816 GB, free: 436 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.9391, allocations: 4.875 kB / 0.9816 GB, free: 432 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/0.9391, allocations: 3.984 kB / 0.9816 GB, free: 428 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005596/0.9447, allocations: 3.354 MB / 0.9849 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.313e-06/0.9447, allocations: 8.062 kB / 0.9849 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006508/0.9454, allocations: 175.8 kB / 0.9851 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005399/0.9459, allocations: 180.7 kB / 0.9852 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.402e-05/0.946, allocations: 41.16 kB / 0.9853 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003329/0.9493, allocations: 2.701 MB / 0.9879 GB, free: 9.738 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.9493, allocations: 4 kB / 0.9879 GB, free: 9.734 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003752/0.9531, allocations: 2.356 MB / 0.9902 GB, free: 7.355 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003036/0.9534, allocations: 184.3 kB / 0.9904 GB, free: 7.156 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001415/0.9535, allocations: 20 kB / 0.9904 GB, free: 7.137 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004374/0.954, allocations: 31.92 kB / 0.9904 GB, free: 7.105 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001474/0.9541, allocations: 84.89 kB / 0.9905 GB, free: 7.02 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001296/0.9542, allocations: 63.95 kB / 0.9906 GB, free: 6.957 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008125/0.955, allocations: 0.5869 MB / 0.9911 GB, free: 6.359 MB / 0.7325 GB Notification: Performance of sort global known variables: time 7e-08/0.955, allocations: 0 / 0.9911 GB, free: 6.359 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002386/0.9574, allocations: 0.9467 MB / 0.9921 GB, free: 5.41 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (thermalConduction.h,heatCapacitor.T,flowResistance2.inlet.m_flow,flowResistance3.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 (91): * Single equations (assignments): 85 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006745/0.9642, allocations: 4.074 MB / 0.996 GB, free: 1.309 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002706/0.9669, allocations: 1.452 MB / 0.9975 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.9669, allocations: 0 / 0.9975 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001542/0.9684, allocations: 0.8635 MB / 0.9983 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001973/0.9704, allocations: 418.6 kB / 0.9987 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01854/0.9889, allocations: 10.58 MB / 1.009 GB, free: 3.832 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001264/0.9902, allocations: 1.272 MB / 1.01 GB, free: 2.527 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001521/0.9917, allocations: 0.6022 MB / 1.011 GB, free: 1.926 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009811/0.9927, allocations: 0.6008 MB / 1.011 GB, free: 1.324 MB / 0.7481 GB Notification: Performance of SimCode: time 1.522e-06/0.9927, allocations: 4 kB / 1.011 GB, free: 1.32 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3662/1.359, allocations: 49.86 MB / 1.06 GB, free: 323.2 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.6/14.96, allocations: 13.56 kB / 1.06 GB, free: 323.1 MB / 0.7794 GB " [Timeout remaining time 645] (rm -f ThermofluidStream_ThermofluidStream.Examples.SimpleStream.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Examples.SimpleStream.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Examples.SimpleStream.pipe >> ../files/ThermofluidStream_ThermofluidStream.Examples.SimpleStream.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Examples.SimpleStream_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Examples_SimpleStream_fmu --startTime=0 --stopTime=100 --stepSize=0.1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Examples_SimpleStream.fmu > ThermofluidStream_ThermofluidStream.Examples.SimpleStream.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_ThermofluidStream.Examples.SimpleStream_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Examples.SimpleStream_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Examples.SimpleStream.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 18.740107574034482]