Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 192.5 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.224/1.224, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.378/2.378, allocations: 461.9 MB / 0.7346 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 70.88 kB / 0.8992 GB, free: 36.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/0.2255, allocations: 157.4 MB / 1.053 GB, free: 8.23 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1516/0.3771, allocations: 161.5 MB / 1.211 GB, free: 6.102 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004481/0.3817, allocations: 3.486 MB / 1.214 GB, free: 2.602 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003406/0.382, allocations: 23.81 kB / 1.214 GB, free: 2.578 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004248/0.3825, allocations: 131 kB / 1.214 GB, free: 2.449 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001105/0.3836, allocations: 453.9 kB / 1.215 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001412/0.385, allocations: 0.5949 MB / 1.215 GB, free: 1.41 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0006901/0.3857, allocations: 0.6245 MB / 1.216 GB, free: 0.7852 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003588/0.3861, allocations: 224.6 kB / 1.216 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001096/0.3872, allocations: 334.4 kB / 1.216 GB, free: 260 kB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002753/0.3875, allocations: 207.1 kB / 1.217 GB, free: 52 kB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.875e-05/0.3876, allocations: 20 kB / 1.217 GB, free: 32 kB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008715/0.3884, allocations: 0.5457 MB / 1.217 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001088/0.3886, allocations: 99.66 kB / 1.217 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001396/0.3887, allocations: 143.3 kB / 1.217 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007686/0.3895, allocations: 0.5454 MB / 1.218 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3895, allocations: 0 / 1.218 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.462e-06/0.3895, allocations: 3.938 kB / 1.218 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.594e-06/0.3895, allocations: 0 / 1.218 GB, free: 14.7 MB / 0.9825 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.0009776/0.3905, allocations: 0.6311 MB / 1.218 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.3905, allocations: 8.625 kB / 1.218 GB, free: 14 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.476e-05/0.3906, allocations: 54.55 kB / 1.219 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004743/0.3911, allocations: 71.52 kB / 1.219 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003221/0.3914, allocations: 301.3 kB / 1.219 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.3914, allocations: 12.44 kB / 1.219 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.132e-05/0.3915, allocations: 24 kB / 1.219 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005747/0.3921, allocations: 304.2 kB / 1.219 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.3921, allocations: 15.81 kB / 1.219 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.824e-05/0.3921, allocations: 12 kB / 1.219 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-06/0.3921, allocations: 7.938 kB / 1.219 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000628/0.3928, allocations: 244.9 kB / 1.219 GB, free: 12.91 MB / 0.9825 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001469/0.3942, allocations: 1.252 MB / 1.221 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004085/0.3947, allocations: 174.5 kB / 1.221 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003031/0.395, allocations: 128.8 kB / 1.221 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005361/0.3955, allocations: 303.2 kB / 1.221 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.086e-05/0.3955, allocations: 30.56 kB / 1.221 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=14): time 2.695e-06/0.3956, allocations: 0 / 1.221 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14): time 0.002124/0.3977, allocations: 0.5803 MB / 1.222 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.836e-05/0.3977, allocations: 55.41 kB / 1.222 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002267/0.398, allocations: 255 kB / 1.222 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.44e-05/0.398, allocations: 29.7 kB / 1.222 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.535e-05/0.3981, allocations: 164.2 kB / 1.222 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.076e-05/0.3981, allocations: 51.19 kB / 1.222 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.178e-05/0.3982, allocations: 41.7 kB / 1.222 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.869e-05/0.3983, allocations: 338.8 kB / 1.223 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002797/0.3986, allocations: 91.92 kB / 1.223 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003002/0.3989, allocations: 138.1 kB / 1.223 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005607/0.3995, allocations: 240.1 kB / 1.223 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3995, allocations: 0 / 1.223 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001096/0.4006, allocations: 353.8 kB / 1.224 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.4006, allocations: 4 kB / 1.224 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.4006, allocations: 0 / 1.224 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005741/0.4012, allocations: 88.89 kB / 1.224 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002134/0.4014, allocations: 43.89 kB / 1.224 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00195/0.4034, allocations: 1.729 MB / 1.225 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002204/0.4036, allocations: 35.81 kB / 1.225 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.111e-05/0.4036, allocations: 4 kB / 1.225 GB, free: 6.387 MB / 0.9825 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.0001364/0.4038, allocations: 149.7 kB / 1.226 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.43e-05/0.4038, allocations: 27.66 kB / 1.226 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0011/0.405, allocations: 368 kB / 1.226 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.405, allocations: 3.938 kB / 1.226 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-06/0.405, allocations: 0 / 1.226 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.405, allocations: 0 / 1.226 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001519/0.4065, allocations: 0.7785 MB / 1.227 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.4065, allocations: 0 / 1.227 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001793/0.4067, allocations: 31.97 kB / 1.227 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004199/0.4071, allocations: 88.8 kB / 1.227 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.4072, allocations: 4.141 kB / 1.227 GB, free: 4.859 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00178/0.4089, allocations: 1.751 MB / 1.229 GB, free: 2.965 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.409, allocations: 0 / 1.229 GB, free: 2.965 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001051/0.41, allocations: 458.3 kB / 1.229 GB, free: 2.488 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/0.4101, allocations: 124.7 kB / 1.229 GB, free: 2.348 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.937e-05/0.4102, allocations: 7.938 kB / 1.229 GB, free: 2.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002351/0.4104, allocations: 19.97 kB / 1.229 GB, free: 2.32 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.545e-05/0.4105, allocations: 19.97 kB / 1.229 GB, free: 2.301 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.088e-05/0.4105, allocations: 12 kB / 1.229 GB, free: 2.289 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001505/0.4107, allocations: 186 kB / 1.229 GB, free: 2.105 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4107, allocations: 0 / 1.229 GB, free: 2.105 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003723/0.4111, allocations: 87.84 kB / 1.229 GB, free: 2.02 MB / 0.9825 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.001488/0.4125, allocations: 1.046 MB / 1.23 GB, free: 0.9414 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00091/0.4135, allocations: 362.6 kB / 1.231 GB, free: 0.5742 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.4135, allocations: 0 / 1.231 GB, free: 0.5742 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0005409/0.414, allocations: 254.7 kB / 1.231 GB, free: 320 kB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006756/0.4147, allocations: 127.4 kB / 1.231 GB, free: 196 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004232/0.419, allocations: 2.815 MB / 1.234 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002797/0.4192, allocations: 0.7675 MB / 1.235 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001996/0.4195, allocations: 58.23 kB / 1.235 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.4196, allocations: 75.41 kB / 1.235 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of SimCode: time 3.5e-07/0.4196, allocations: 4 kB / 1.235 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.611/4.031, allocations: 8.581 MB / 1.243 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.16/17.19, allocations: 10.03 kB / 1.243 GB, free: 3.938 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches