Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.001585/0.001585, allocations: 105.8 kB / 16.45 MB, free: 6.445 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.00173/0.00173, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.457/1.457, allocations: 225.6 MB / 247.8 MB, free: 3.715 MB / 190.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.6083/0.6083, allocations: 94.61 MB / 397.3 MB, free: 460 kB / 318.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_dev_ThermofluidStream_Examples_SimpleStream",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Examples.SimpleStream,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Examples_SimpleStream",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002425/0.002425, allocations: 87.86 kB / 0.5416 GB, free: 14.02 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3972/0.3996, allocations: 71.84 MB / 0.6118 GB, free: 3.938 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.SimpleStream): time 0.7214/1.121, allocations: 285.7 MB / 0.8908 GB, free: 1.984 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02696/1.148, allocations: 27.48 MB / 0.9176 GB, free: 1.867 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001532/1.149, allocations: 50.47 kB / 0.9177 GB, free: 1.867 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.003544/1.153, allocations: 1.45 MB / 0.9191 GB, free: 1.863 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01212/1.165, allocations: 4.755 MB / 0.9237 GB, free: 1.758 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.005282/1.17, allocations: 2.062 MB / 0.9257 GB, free: 1.688 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.003012/1.173, allocations: 2.254 MB / 0.9279 GB, free: 1.684 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006179/1.174, allocations: 440.7 kB / 0.9283 GB, free: 1.598 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00256/1.177, allocations: 1.389 MB / 0.9297 GB, free: 1.586 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001182/1.178, allocations: 1.032 MB / 0.9307 GB, free: 1.586 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001572/1.178, allocations: 136 kB / 0.9308 GB, free: 1.586 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01595/1.194, allocations: 9.218 MB / 0.9398 GB, free: 1.5 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0008407/1.195, allocations: 496.2 kB / 0.9403 GB, free: 1.496 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001851/1.197, allocations: 0.8474 MB / 0.9411 GB, free: 1.254 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01492/1.212, allocations: 5.563 MB / 0.9466 GB, free: 0.668 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/1.212, allocations: 1 kB / 0.9466 GB, free: 0.668 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.623e-06/1.212, allocations: 0 / 0.9466 GB, free: 0.668 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 8.353e-05/1.212, allocations: 0 / 0.9466 GB, free: 0.668 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.006965/1.219, allocations: 2.8 MB / 0.9493 GB, free: 15.23 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/1.219, allocations: 10.09 kB / 0.9493 GB, free: 15.23 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003358/1.219, allocations: 180.8 kB / 0.9495 GB, free: 15.18 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000335/1.219, allocations: 188.5 kB / 0.9497 GB, free: 15.09 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001762/1.221, allocations: 1.023 MB / 0.9507 GB, free: 14.7 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.584e-05/1.221, allocations: 89.88 kB / 0.9508 GB, free: 14.7 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001512/1.221, allocations: 126.7 kB / 0.9509 GB, free: 14.69 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002322/1.224, allocations: 1.777 MB / 0.9526 GB, free: 14.34 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.944e-05/1.224, allocations: 0 / 0.9526 GB, free: 14.34 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.833e-05/1.224, allocations: 45.44 kB / 0.9527 GB, free: 14.34 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001184/1.224, allocations: 113.4 kB / 0.9528 GB, free: 14.32 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002406/1.226, allocations: 1.877 MB / 0.9546 GB, free: 14.05 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009515/1.236, allocations: 7.989 MB / 0.9624 GB, free: 8.398 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001377/1.237, allocations: 0.8365 MB / 0.9632 GB, free: 8.188 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008907/1.238, allocations: 0.6118 MB / 0.9638 GB, free: 8.105 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00193/1.24, allocations: 2.353 MB / 0.9661 GB, free: 5.418 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.476e-05/1.24, allocations: 52.16 kB / 0.9662 GB, free: 5.375 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=101): time 3.086e-06/1.24, allocations: 0 / 0.9662 GB, free: 5.375 MB / 0.7012 GB Notification: Performance of matching and sorting (n=103): time 0.006276/1.246, allocations: 3.853 MB / 0.9699 GB, free: 4.254 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.643e-05/1.246, allocations: 64.59 kB / 0.97 GB, free: 4.191 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001037/1.247, allocations: 0.8091 MB / 0.9708 GB, free: 3.918 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.359e-05/1.247, allocations: 40.36 kB / 0.9708 GB, free: 3.887 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003948/1.248, allocations: 0.6112 MB / 0.9714 GB, free: 3.578 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002825/1.248, allocations: 370.9 kB / 0.9718 GB, free: 3.301 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002584/1.248, allocations: 186 kB / 0.9719 GB, free: 3.258 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001652/1.249, allocations: 341 kB / 0.9723 GB, free: 2.945 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007233/1.249, allocations: 0.4949 MB / 0.9728 GB, free: 2.883 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007243/1.25, allocations: 0.5849 MB / 0.9733 GB, free: 2.77 MB / 0.7012 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.001662/1.252, allocations: 1.234 MB / 0.9745 GB, free: 2.547 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/1.252, allocations: 0 / 0.9745 GB, free: 2.547 MB / 0.7012 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002299/1.254, allocations: 1.495 MB / 0.976 GB, free: 2.258 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.874e-05/1.254, allocations: 11.38 kB / 0.976 GB, free: 2.254 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/1.254, allocations: 2.562 kB / 0.976 GB, free: 2.254 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005063/1.254, allocations: 174.1 kB / 0.9762 GB, free: 2.203 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005983/1.255, allocations: 191.9 kB / 0.9764 GB, free: 2.168 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003369/1.258, allocations: 2.695 MB / 0.979 GB, free: 20 kB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006405/1.259, allocations: 25.75 kB / 0.979 GB, free: 8 kB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001697/1.259, allocations: 65.91 kB / 0.9791 GB, free: 15.96 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.0006807/1.26, allocations: 329.9 kB / 0.9794 GB, free: 15.73 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002928/1.26, allocations: 123.2 kB / 0.9795 GB, free: 15.61 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003903/1.264, allocations: 2.124 MB / 0.9816 GB, free: 14.12 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-05/1.264, allocations: 12 kB / 0.9816 GB, free: 14.11 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-05/1.264, allocations: 7.984 kB / 0.9816 GB, free: 14.11 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/1.264, allocations: 3.984 kB / 0.9816 GB, free: 14.1 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006029/1.27, allocations: 3.36 MB / 0.9849 GB, free: 11.13 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/1.27, allocations: 0 / 0.9849 GB, free: 11.13 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006608/1.271, allocations: 179.6 kB / 0.9851 GB, free: 10.96 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006528/1.272, allocations: 172.7 kB / 0.9852 GB, free: 10.79 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000103/1.272, allocations: 47.97 kB / 0.9853 GB, free: 10.75 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003578/1.275, allocations: 2.7 MB / 0.9879 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/1.275, allocations: 0 / 0.9879 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004148/1.279, allocations: 2.35 MB / 0.9902 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004242/1.28, allocations: 188.3 kB / 0.9904 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002434/1.28, allocations: 26.8 kB / 0.9904 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005615/1.281, allocations: 24 kB / 0.9904 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001565/1.281, allocations: 84.88 kB / 0.9905 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001453/1.281, allocations: 67.95 kB / 0.9906 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001038/1.282, allocations: 0.5791 MB / 0.9911 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7e-08/1.282, allocations: 0 / 0.9911 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003104/1.285, allocations: 0.9504 MB / 0.9921 GB, free: 3.629 MB / 0.7169 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.00814/1.293, allocations: 4.099 MB / 0.9961 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002992/1.296, allocations: 1.445 MB / 0.9975 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/1.296, allocations: 0 / 0.9975 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001696/1.298, allocations: 0.85 MB / 0.9983 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002297/1.3, allocations: 415.5 kB / 0.9987 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02039/1.321, allocations: 10.57 MB / 1.009 GB, free: 2.266 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001272/1.322, allocations: 1.264 MB / 1.01 GB, free: 0.9688 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001613/1.323, allocations: 0.6053 MB / 1.011 GB, free: 380 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001108/1.325, allocations: 0.6068 MB / 1.011 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of SimCode: time 1.052e-06/1.325, allocations: 0 / 1.011 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1132/1.438, allocations: 49.88 MB / 1.06 GB, free: 14.25 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.87/14.31, allocations: 4.062 kB / 1.06 GB, free: 14.25 MB / 0.795 GB " [Timeout remaining time 646] (rm -f ThermofluidStream_dev_ThermofluidStream.Examples.SimpleStream.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Examples.SimpleStream.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Examples.SimpleStream.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Examples.SimpleStream.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Examples.SimpleStream_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Examples_SimpleStream_fmu --startTime=0 --stopTime=100 --stepSize=0.1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Examples_SimpleStream.fmu > ThermofluidStream_dev_ThermofluidStream.Examples.SimpleStream.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_dev_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_dev_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: 17.761512984056026]