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.00123/0.00123, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001461/0.001461, allocations: 215.5 kB / 22.25 MB, free: 5.258 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.371/1.371, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] 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.978/2.978, allocations: 0.49 GB / 0.7951 GB, free: 35.5 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.001946/0.001946, allocations: 65.05 kB / 1.154 GB, free: 25.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3182, allocations: 176.1 MB / 1.326 GB, free: 1.441 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1683/0.4865, allocations: 142.3 MB / 1.465 GB, free: 2.566 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.0047/0.4912, allocations: 3.252 MB / 1.468 GB, free: 15.31 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000271/0.4914, allocations: 11.88 kB / 1.468 GB, free: 15.3 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0004304/0.4919, allocations: 142.9 kB / 1.468 GB, free: 15.16 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001126/0.493, allocations: 457.9 kB / 1.469 GB, free: 14.71 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001512/0.4945, allocations: 0.6155 MB / 1.469 GB, free: 14.09 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0007123/0.4952, allocations: 0.64 MB / 1.47 GB, free: 13.45 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003355/0.4956, allocations: 188.9 kB / 1.47 GB, free: 13.27 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001673/0.4972, allocations: 0.4954 MB / 1.471 GB, free: 12.78 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000321/0.4976, allocations: 203.2 kB / 1.471 GB, free: 12.58 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 4.101e-05/0.4976, allocations: 28 kB / 1.471 GB, free: 12.55 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008312/0.4984, allocations: 478.9 kB / 1.471 GB, free: 12.09 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001285/0.4986, allocations: 103.6 kB / 1.471 GB, free: 11.98 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001403/0.4987, allocations: 115.4 kB / 1.471 GB, free: 11.87 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0007802/0.4995, allocations: 0.5489 MB / 1.472 GB, free: 11.32 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.4995, allocations: 3.938 kB / 1.472 GB, free: 11.32 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4995, allocations: 0 / 1.472 GB, free: 11.32 MB / 1.17 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.4995, allocations: 0 / 1.472 GB, free: 11.32 MB / 1.17 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.001028/0.5005, allocations: 0.5747 MB / 1.473 GB, free: 10.71 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.5006, allocations: 8.031 kB / 1.473 GB, free: 10.7 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.617e-05/0.5006, allocations: 54.55 kB / 1.473 GB, free: 10.64 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005242/0.5011, allocations: 79.69 kB / 1.473 GB, free: 10.56 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004381/0.5016, allocations: 247.6 kB / 1.473 GB, free: 10.29 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/0.5016, allocations: 12.44 kB / 1.473 GB, free: 10.28 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.101e-05/0.5016, allocations: 20 kB / 1.473 GB, free: 10.26 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006739/0.5023, allocations: 363.5 kB / 1.473 GB, free: 9.871 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.5023, allocations: 4 kB / 1.473 GB, free: 9.867 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.145e-05/0.5024, allocations: 12 kB / 1.473 GB, free: 9.855 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.5024, allocations: 7.938 kB / 1.473 GB, free: 9.848 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006312/0.503, allocations: 244.9 kB / 1.474 GB, free: 9.609 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001542/0.5045, allocations: 0.9951 MB / 1.474 GB, free: 8.547 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004362/0.505, allocations: 170.4 kB / 1.475 GB, free: 8.371 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003074/0.5053, allocations: 120.8 kB / 1.475 GB, free: 8.25 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004905/0.5058, allocations: 71.92 kB / 1.475 GB, free: 8.18 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.5058, allocations: 34.56 kB / 1.475 GB, free: 8.137 MB / 1.17 GB Notification: Performance of pre-optimization done (n=14): time 1.673e-06/0.5058, allocations: 0 / 1.475 GB, free: 8.137 MB / 1.17 GB Notification: Performance of matching and sorting (n=14): time 0.002243/0.508, allocations: 0.5035 MB / 1.475 GB, free: 7.625 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/0.5081, allocations: 55.41 kB / 1.475 GB, free: 7.559 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002668/0.5084, allocations: 260.1 kB / 1.476 GB, free: 7.293 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.476e-05/0.5084, allocations: 33.7 kB / 1.476 GB, free: 7.254 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.5085, allocations: 164.3 kB / 1.476 GB, free: 7.086 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 4.875e-05/0.5086, allocations: 47.59 kB / 1.476 GB, free: 7.039 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.148e-05/0.5086, allocations: 41.7 kB / 1.476 GB, free: 6.992 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.5088, allocations: 330.8 kB / 1.476 GB, free: 6.66 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002904/0.5091, allocations: 95.92 kB / 1.476 GB, free: 6.566 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003394/0.5094, allocations: 167.5 kB / 1.476 GB, free: 6.383 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005659/0.51, allocations: 232.1 kB / 1.477 GB, free: 6.141 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.51, allocations: 0 / 1.477 GB, free: 6.141 MB / 1.17 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001182/0.5112, allocations: 367.8 kB / 1.477 GB, free: 5.773 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.5112, allocations: 4 kB / 1.477 GB, free: 5.77 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.5112, allocations: 4 kB / 1.477 GB, free: 5.766 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006272/0.5118, allocations: 88.73 kB / 1.477 GB, free: 5.676 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002267/0.512, allocations: 47.89 kB / 1.477 GB, free: 5.629 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002311/0.5144, allocations: 1.619 MB / 1.479 GB, free: 3.895 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002485/0.5146, allocations: 43.78 kB / 1.479 GB, free: 3.852 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.374e-05/0.5146, allocations: 8.062 kB / 1.479 GB, free: 3.844 MB / 1.17 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.0001682/0.5148, allocations: 145.8 kB / 1.479 GB, free: 3.691 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.519e-05/0.5148, allocations: 23.86 kB / 1.479 GB, free: 3.668 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001184/0.516, allocations: 371.9 kB / 1.479 GB, free: 3.297 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.516, allocations: 0 / 1.479 GB, free: 3.297 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-06/0.516, allocations: 0 / 1.479 GB, free: 3.297 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.516, allocations: 0 / 1.479 GB, free: 3.297 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001694/0.5177, allocations: 0.7192 MB / 1.48 GB, free: 2.516 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.5177, allocations: 0 / 1.48 GB, free: 2.516 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001994/0.5179, allocations: 39.91 kB / 1.48 GB, free: 2.477 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004541/0.5184, allocations: 84.73 kB / 1.48 GB, free: 2.391 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.788e-05/0.5184, allocations: 8 kB / 1.48 GB, free: 2.383 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001983/0.5204, allocations: 1.632 MB / 1.482 GB, free: 0.6289 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.5204, allocations: 0 / 1.482 GB, free: 0.6289 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001104/0.5215, allocations: 450.6 kB / 1.482 GB, free: 164 kB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001208/0.5216, allocations: 51.77 kB / 1.482 GB, free: 112 kB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.781e-05/0.5217, allocations: 11.94 kB / 1.482 GB, free: 100 kB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000244/0.5219, allocations: 23.97 kB / 1.482 GB, free: 76 kB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.914e-05/0.522, allocations: 23.91 kB / 1.482 GB, free: 52 kB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.253e-05/0.522, allocations: 8.062 kB / 1.482 GB, free: 44 kB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0001895/0.5222, allocations: 187.1 kB / 1.483 GB, free: 15.86 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/0.5222, allocations: 0 / 1.483 GB, free: 15.86 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0004074/0.5226, allocations: 83.83 kB / 1.483 GB, free: 15.78 MB / 1.186 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.001542/0.5241, allocations: 1.019 MB / 1.484 GB, free: 14.72 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0009361/0.5251, allocations: 350.5 kB / 1.484 GB, free: 14.36 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.5251, allocations: 4 kB / 1.484 GB, free: 14.36 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0005536/0.5256, allocations: 262.6 kB / 1.484 GB, free: 14.09 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006787/0.5263, allocations: 131.4 kB / 1.484 GB, free: 13.97 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004663/0.531, allocations: 2.814 MB / 1.487 GB, free: 11.04 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001559/0.5311, allocations: 162.8 kB / 1.487 GB, free: 10.86 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0001932/0.5313, allocations: 62.25 kB / 1.487 GB, free: 10.8 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001235/0.5314, allocations: 79.41 kB / 1.487 GB, free: 10.72 MB / 1.186 GB Notification: Performance of SimCode: time 3.91e-07/0.5314, allocations: 0 / 1.487 GB, free: 10.72 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0408/0.5722, allocations: 9.586 MB / 1.497 GB, free: 1.387 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/12.27, allocations: 10 kB / 1.497 GB, free: 1.379 MB / 1.186 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.468894948018715]