Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 215.8 kB / 22.26 MB, free: 5.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.328/1.328, allocations: 230.6 MB / 256 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.899/2.899, allocations: 0.49 GB / 0.7951 GB, free: 33.38 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="Buildings_12_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="Buildings_12_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001851/0.001851, allocations: 63.28 kB / 1.154 GB, free: 25.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2964/0.2983, allocations: 176.1 MB / 1.326 GB, free: 1.934 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1807/0.479, allocations: 165.1 MB / 1.487 GB, free: 12.25 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.005081/0.4841, allocations: 3.544 MB / 1.491 GB, free: 8.699 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003291/0.4844, allocations: 19.81 kB / 1.491 GB, free: 8.68 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0004866/0.4849, allocations: 135 kB / 1.491 GB, free: 8.547 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.001278/0.4862, allocations: 481.8 kB / 1.491 GB, free: 8.074 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001619/0.4878, allocations: 0.6254 MB / 1.492 GB, free: 7.449 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0008576/0.4886, allocations: 0.6362 MB / 1.492 GB, free: 6.812 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003803/0.489, allocations: 180.9 kB / 1.493 GB, free: 6.637 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001787/0.4908, allocations: 0.5198 MB / 1.493 GB, free: 6.129 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003449/0.4911, allocations: 195.2 kB / 1.493 GB, free: 5.938 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 4.664e-05/0.4912, allocations: 24 kB / 1.493 GB, free: 5.914 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009872/0.4922, allocations: 0.5885 MB / 1.494 GB, free: 5.324 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001181/0.4923, allocations: 99.64 kB / 1.494 GB, free: 5.227 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001756/0.4925, allocations: 147.2 kB / 1.494 GB, free: 5.082 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.000903/0.4934, allocations: 0.5528 MB / 1.495 GB, free: 4.527 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.4934, allocations: 0 / 1.495 GB, free: 4.527 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.082e-06/0.4934, allocations: 0 / 1.495 GB, free: 4.527 MB / 1.186 GB Notification: Performance of Transformations before backend: time 8.095e-06/0.4934, allocations: 0 / 1.495 GB, free: 4.527 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001063/0.4944, allocations: 0.5785 MB / 1.495 GB, free: 3.914 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.4945, allocations: 12.03 kB / 1.495 GB, free: 3.902 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.663e-05/0.4946, allocations: 50.55 kB / 1.495 GB, free: 3.844 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005267/0.4951, allocations: 87.69 kB / 1.495 GB, free: 3.758 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004116/0.4955, allocations: 239.7 kB / 1.496 GB, free: 3.5 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.4955, allocations: 16.44 kB / 1.496 GB, free: 3.484 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.299e-05/0.4956, allocations: 20 kB / 1.496 GB, free: 3.465 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006202/0.4962, allocations: 316.1 kB / 1.496 GB, free: 3.133 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.4962, allocations: 0 / 1.496 GB, free: 3.133 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.555e-05/0.4962, allocations: 8 kB / 1.496 GB, free: 3.125 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.916e-06/0.4962, allocations: 15.94 kB / 1.496 GB, free: 3.109 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006214/0.4968, allocations: 244.9 kB / 1.496 GB, free: 2.871 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001655/0.4985, allocations: 1.21 MB / 1.497 GB, free: 1.551 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004184/0.4989, allocations: 174.4 kB / 1.498 GB, free: 1.371 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002927/0.4992, allocations: 120.8 kB / 1.498 GB, free: 1.25 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004729/0.4997, allocations: 71.92 kB / 1.498 GB, free: 1.18 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.4997, allocations: 38.55 kB / 1.498 GB, free: 1.133 MB / 1.186 GB Notification: Performance of pre-optimization done (n=14): time 1.513e-06/0.4997, allocations: 0 / 1.498 GB, free: 1.133 MB / 1.186 GB Notification: Performance of matching and sorting (n=14): time 0.002145/0.5019, allocations: 0.5095 MB / 1.498 GB, free: 0.6172 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.693e-05/0.5019, allocations: 51.41 kB / 1.498 GB, free: 0.5547 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002811/0.5022, allocations: 260.2 kB / 1.499 GB, free: 296 kB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.008e-05/0.5022, allocations: 33.7 kB / 1.499 GB, free: 256 kB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/0.5023, allocations: 164.2 kB / 1.499 GB, free: 84 kB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 4.886e-05/0.5024, allocations: 51.58 kB / 1.499 GB, free: 32 kB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.368e-05/0.5025, allocations: 41.64 kB / 1.499 GB, free: 15.98 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.5026, allocations: 338.8 kB / 1.499 GB, free: 15.64 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002859/0.5029, allocations: 87.92 kB / 1.499 GB, free: 15.56 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003016/0.5032, allocations: 144.2 kB / 1.499 GB, free: 15.4 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000583/0.5038, allocations: 232.1 kB / 1.5 GB, free: 15.16 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.5038, allocations: 0 / 1.5 GB, free: 15.16 MB / 1.201 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001155/0.505, allocations: 350 kB / 1.5 GB, free: 14.81 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.505, allocations: 9.875 kB / 1.5 GB, free: 14.8 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.505, allocations: 0 / 1.5 GB, free: 14.8 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006249/0.5056, allocations: 96.81 kB / 1.5 GB, free: 14.7 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002183/0.5058, allocations: 35.97 kB / 1.5 GB, free: 14.67 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002395/0.5082, allocations: 1.635 MB / 1.502 GB, free: 12.92 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002519/0.5085, allocations: 43.81 kB / 1.502 GB, free: 12.88 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.436e-05/0.5085, allocations: 4 kB / 1.502 GB, free: 12.87 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (16): * Single equations (assignments): 15 * Array equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001928/0.5087, allocations: 145.8 kB / 1.502 GB, free: 12.72 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.059e-05/0.5088, allocations: 23.86 kB / 1.502 GB, free: 12.7 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001142/0.5099, allocations: 371.9 kB / 1.502 GB, free: 12.32 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.5099, allocations: 4 kB / 1.502 GB, free: 12.32 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-06/0.5099, allocations: 0 / 1.502 GB, free: 12.32 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.5099, allocations: 0 / 1.502 GB, free: 12.32 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001774/0.5117, allocations: 0.7464 MB / 1.503 GB, free: 11.51 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.5117, allocations: 0 / 1.503 GB, free: 11.51 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000192/0.5119, allocations: 40 kB / 1.503 GB, free: 11.47 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004452/0.5123, allocations: 80.7 kB / 1.503 GB, free: 11.39 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.807e-05/0.5124, allocations: 4 kB / 1.503 GB, free: 11.39 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002058/0.5144, allocations: 1.64 MB / 1.505 GB, free: 9.625 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.5144, allocations: 0 / 1.505 GB, free: 9.625 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/0.5156, allocations: 450.7 kB / 1.505 GB, free: 9.156 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001458/0.5157, allocations: 51.75 kB / 1.505 GB, free: 9.105 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.758e-05/0.5157, allocations: 7.938 kB / 1.505 GB, free: 9.098 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002552/0.516, allocations: 23.97 kB / 1.505 GB, free: 9.074 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.66e-05/0.5161, allocations: 23.91 kB / 1.505 GB, free: 9.051 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.624e-05/0.5161, allocations: 8 kB / 1.505 GB, free: 9.043 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002326/0.5164, allocations: 191.1 kB / 1.505 GB, free: 8.855 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5164, allocations: 7.875 kB / 1.505 GB, free: 8.848 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0004885/0.5168, allocations: 83.89 kB / 1.505 GB, free: 8.766 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (12): * Single equations (assignments): 11 * Array equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001597/0.5184, allocations: 1.026 MB / 1.506 GB, free: 7.699 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0009961/0.5194, allocations: 350.6 kB / 1.507 GB, free: 7.344 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.5194, allocations: 0 / 1.507 GB, free: 7.344 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0005543/0.52, allocations: 254.7 kB / 1.507 GB, free: 7.082 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006765/0.5207, allocations: 123.9 kB / 1.507 GB, free: 6.965 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00457/0.5252, allocations: 2.817 MB / 1.51 GB, free: 4.027 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003845/0.5256, allocations: 0.7714 MB / 1.511 GB, free: 3.23 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0001799/0.5258, allocations: 66.23 kB / 1.511 GB, free: 3.168 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/0.5259, allocations: 71.42 kB / 1.511 GB, free: 3.098 MB / 1.201 GB Notification: Performance of SimCode: time 3.5e-07/0.5259, allocations: 0 / 1.511 GB, free: 3.098 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04071/0.5666, allocations: 8.843 MB / 1.519 GB, free: 10.47 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.2, allocations: 1.891 kB / 1.519 GB, free: 10.47 MB / 1.217 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb_fmu --startTime=0 --stopTime=120 --stepSize=0.048 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.159512715181336]