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.001155/0.001155, allocations: 110.8 kB / 17.54 MB, free: 4.641 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.001169/0.001169, allocations: 189.9 kB / 20.71 MB, free: 1.484 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.274/1.274, allocations: 225.6 MB / 249.3 MB, free: 3.168 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6119/0.6119, allocations: 94.59 MB / 399 MB, free: 15.78 MB / 334.1 MB " [Timeout remaining time 179] 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: "" <> 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.002183/0.002183, allocations: 87.84 kB / 0.5442 GB, free: 12.64 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.3433, allocations: 71.84 MB / 0.6143 GB, free: 3.844 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.SimpleStream): time 0.624/0.9673, allocations: 286.7 MB / 0.8943 GB, free: 1.957 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02288/0.9902, allocations: 27.65 MB / 0.9213 GB, free: 1.84 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001165/0.9914, allocations: 48.53 kB / 0.9214 GB, free: 1.84 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002809/0.9942, allocations: 1.451 MB / 0.9228 GB, free: 1.836 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0104/1.005, allocations: 4.757 MB / 0.9274 GB, free: 1.723 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.004653/1.009, allocations: 2.062 MB / 0.9294 GB, free: 1.656 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.00276/1.012, allocations: 2.25 MB / 0.9316 GB, free: 1.652 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00052/1.012, allocations: 392.4 kB / 0.932 GB, free: 1.566 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00235/1.015, allocations: 1.386 MB / 0.9334 GB, free: 1.555 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001089/1.016, allocations: 1.035 MB / 0.9344 GB, free: 1.555 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001623/1.016, allocations: 136 kB / 0.9345 GB, free: 1.555 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01523/1.031, allocations: 9.22 MB / 0.9435 GB, free: 1.469 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0008386/1.032, allocations: 495.6 kB / 0.944 GB, free: 1.449 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.00121/1.033, allocations: 0.849 MB / 0.9448 GB, free: 1.199 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01315/1.047, allocations: 5.556 MB / 0.9502 GB, free: 0.6133 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/1.047, allocations: 2.812 kB / 0.9502 GB, free: 0.6133 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.483e-06/1.047, allocations: 0 / 0.9502 GB, free: 0.6133 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.972e-05/1.047, allocations: 3.047 kB / 0.9502 GB, free: 0.6133 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.005452/1.052, allocations: 2.797 MB / 0.953 GB, free: 15.18 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/1.052, allocations: 8.469 kB / 0.953 GB, free: 15.18 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001901/1.052, allocations: 187.2 kB / 0.9532 GB, free: 15.13 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003116/1.053, allocations: 190.5 kB / 0.9533 GB, free: 15.03 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001424/1.054, allocations: 1.019 MB / 0.9543 GB, free: 14.65 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.06e-05/1.054, allocations: 86.33 kB / 0.9544 GB, free: 14.64 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001544/1.054, allocations: 133.5 kB / 0.9546 GB, free: 14.64 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002162/1.056, allocations: 1.775 MB / 0.9563 GB, free: 14.29 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.855e-05/1.056, allocations: 0 / 0.9563 GB, free: 14.29 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-05/1.056, allocations: 49.91 kB / 0.9563 GB, free: 14.29 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001144/1.057, allocations: 112.1 kB / 0.9564 GB, free: 14.27 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00211/1.059, allocations: 1.885 MB / 0.9583 GB, free: 13.99 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008051/1.067, allocations: 7.984 MB / 0.9661 GB, free: 8.348 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001235/1.068, allocations: 0.8334 MB / 0.9669 GB, free: 8.133 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007657/1.069, allocations: 0.6139 MB / 0.9675 GB, free: 8.047 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001684/1.07, allocations: 2.354 MB / 0.9698 GB, free: 5.363 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/1.07, allocations: 45.98 kB / 0.9698 GB, free: 5.316 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=101): time 3.256e-06/1.07, allocations: 3.938 kB / 0.9698 GB, free: 5.312 MB / 0.7012 GB Notification: Performance of matching and sorting (n=103): time 0.005697/1.076, allocations: 3.855 MB / 0.9736 GB, free: 4.195 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/1.076, allocations: 63.56 kB / 0.9737 GB, free: 4.133 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008818/1.077, allocations: 0.8071 MB / 0.9745 GB, free: 3.863 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.129e-05/1.077, allocations: 41.23 kB / 0.9745 GB, free: 3.832 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003635/1.078, allocations: 0.6054 MB / 0.9751 GB, free: 3.523 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002648/1.078, allocations: 374.7 kB / 0.9754 GB, free: 3.25 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002634/1.078, allocations: 186.5 kB / 0.9756 GB, free: 3.203 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001522/1.078, allocations: 343.2 kB / 0.9759 GB, free: 2.887 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000623/1.079, allocations: 0.4982 MB / 0.9764 GB, free: 2.824 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006946/1.08, allocations: 0.5761 MB / 0.977 GB, free: 2.715 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.001551/1.081, allocations: 1.233 MB / 0.9782 GB, free: 2.492 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/1.081, allocations: 6.625 kB / 0.9782 GB, free: 2.488 MB / 0.7012 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002111/1.083, allocations: 1.49 MB / 0.9797 GB, free: 2.207 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/1.083, allocations: 17.53 kB / 0.9797 GB, free: 2.199 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.874e-06/1.083, allocations: 0 / 0.9797 GB, free: 2.199 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005067/1.084, allocations: 172.5 kB / 0.9798 GB, free: 2.148 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006053/1.084, allocations: 190.8 kB / 0.98 GB, free: 2.117 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003007/1.087, allocations: 2.69 MB / 0.9826 GB, free: 15.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004815/1.088, allocations: 23.47 kB / 0.9827 GB, free: 15.92 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000135/1.088, allocations: 61.53 kB / 0.9827 GB, free: 15.87 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.0005865/1.089, allocations: 343.8 kB / 0.9831 GB, free: 15.64 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002157/1.089, allocations: 119.2 kB / 0.9832 GB, free: 15.52 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003278/1.092, allocations: 2.134 MB / 0.9853 GB, free: 14.02 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.292e-05/1.092, allocations: 12 kB / 0.9853 GB, free: 14.01 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/1.092, allocations: 0 / 0.9853 GB, free: 14.01 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.188e-05/1.092, allocations: 3.984 kB / 0.9853 GB, free: 14.01 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004966/1.097, allocations: 3.359 MB / 0.9886 GB, free: 10.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/1.097, allocations: 0 / 0.9886 GB, free: 10.82 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006276/1.098, allocations: 183.6 kB / 0.9887 GB, free: 10.65 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005071/1.098, allocations: 176.9 kB / 0.9889 GB, free: 10.48 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.976e-05/1.098, allocations: 39.97 kB / 0.9889 GB, free: 10.44 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003042/1.101, allocations: 2.697 MB / 0.9916 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/1.101, allocations: 6.656 kB / 0.9916 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003442/1.105, allocations: 2.349 MB / 0.9939 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002553/1.105, allocations: 192.3 kB / 0.994 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000126/1.105, allocations: 20 kB / 0.9941 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004351/1.106, allocations: 23.98 kB / 0.9941 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001476/1.106, allocations: 88.64 kB / 0.9942 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001208/1.106, allocations: 63.95 kB / 0.9942 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0007579/1.107, allocations: 0.5869 MB / 0.9948 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/1.107, allocations: 0 / 0.9948 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002458/1.109, allocations: 0.9453 MB / 0.9957 GB, free: 3.312 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.006209/1.115, allocations: 4.098 MB / 0.9997 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002349/1.118, allocations: 1.441 MB / 1.001 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.118, allocations: 4.188 kB / 1.001 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001287/1.119, allocations: 0.8531 MB / 1.002 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001623/1.12, allocations: 415 kB / 1.002 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01463/1.135, allocations: 10.59 MB / 1.013 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008777/1.136, allocations: 1.26 MB / 1.014 GB, free: 0.6406 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001136/1.137, allocations: 0.6104 MB / 1.015 GB, free: 36 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008064/1.138, allocations: 0.5969 MB / 1.015 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of SimCode: time 9.52e-07/1.138, allocations: 0 / 1.015 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08991/1.228, allocations: 50.04 MB / 1.064 GB, free: 13.7 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/12.57, allocations: 10.67 kB / 1.064 GB, free: 13.7 MB / 0.795 GB " [Timeout remaining time 647] (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 --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/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: 15.704594326998631]