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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.00122/0.00122, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 195.2 kB / 16.14 MB, free: 6.719 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.317/1.317, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.711/2.711, allocations: 461.8 MB / 0.7342 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001289, allocations: 65.98 kB / 0.8985 GB, free: 36.97 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2957/0.297, allocations: 157.4 MB / 1.052 GB, free: 8.199 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1672/0.4643, allocations: 159.3 MB / 1.208 GB, free: 8.328 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004702/0.469, allocations: 3.507 MB / 1.211 GB, free: 4.809 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003746/0.4694, allocations: 11.94 kB / 1.211 GB, free: 4.797 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000475/0.4699, allocations: 107.3 kB / 1.211 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001203/0.4712, allocations: 418.2 kB / 1.212 GB, free: 4.281 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001485/0.4727, allocations: 0.5424 MB / 1.212 GB, free: 3.742 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0009499/0.4736, allocations: 0.8116 MB / 1.213 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003666/0.474, allocations: 192.7 kB / 1.213 GB, free: 2.742 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00166/0.4757, allocations: 316.9 kB / 1.213 GB, free: 2.441 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003224/0.476, allocations: 195.2 kB / 1.214 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.127e-05/0.4761, allocations: 16 kB / 1.214 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001071/0.4771, allocations: 0.6273 MB / 1.214 GB, free: 1.605 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001229/0.4773, allocations: 91.7 kB / 1.214 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000177/0.4775, allocations: 135.3 kB / 1.215 GB, free: 1.383 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0008666/0.4783, allocations: 0.5725 MB / 1.215 GB, free: 0.8086 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.4783, allocations: 4 kB / 1.215 GB, free: 0.8047 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.172e-06/0.4783, allocations: 0 / 1.215 GB, free: 0.8047 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.005e-05/0.4784, allocations: 4 kB / 1.215 GB, free: 0.8008 MB / 0.9669 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.001251/0.4796, allocations: 0.6233 MB / 1.216 GB, free: 132 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/0.4797, allocations: 19.91 kB / 1.216 GB, free: 112 kB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.088e-05/0.4798, allocations: 58.48 kB / 1.216 GB, free: 44 kB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006168/0.4804, allocations: 83.5 kB / 1.216 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004473/0.4809, allocations: 289.3 kB / 1.216 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.4809, allocations: 12.44 kB / 1.216 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.603e-05/0.4809, allocations: 24 kB / 1.216 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006776/0.4816, allocations: 316.2 kB / 1.216 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.4816, allocations: 0 / 1.216 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.266e-05/0.4817, allocations: 11.98 kB / 1.216 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.808e-06/0.4817, allocations: 7.938 kB / 1.216 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006708/0.4824, allocations: 248.9 kB / 1.217 GB, free: 15.01 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.001659/0.484, allocations: 1.244 MB / 1.218 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004473/0.4845, allocations: 178.5 kB / 1.218 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003213/0.4848, allocations: 120.8 kB / 1.218 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006254/0.4855, allocations: 307.2 kB / 1.219 GB, free: 13 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.4855, allocations: 34.5 kB / 1.219 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=14): time 1.493e-06/0.4855, allocations: 4 kB / 1.219 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14): time 0.002307/0.4878, allocations: 0.5708 MB / 1.219 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/0.4879, allocations: 59.34 kB / 1.219 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002627/0.4881, allocations: 255 kB / 1.219 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.278e-05/0.4882, allocations: 33.7 kB / 1.219 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.4883, allocations: 160.2 kB / 1.22 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.772e-05/0.4884, allocations: 55.19 kB / 1.22 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.075e-05/0.4884, allocations: 41.7 kB / 1.22 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.4886, allocations: 330.8 kB / 1.22 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002912/0.4889, allocations: 99.91 kB / 1.22 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003115/0.4892, allocations: 136.2 kB / 1.22 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005843/0.4898, allocations: 232.1 kB / 1.22 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.4898, allocations: 3.938 kB / 1.22 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0012/0.491, allocations: 354.6 kB / 1.221 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.491, allocations: 5.875 kB / 1.221 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.491, allocations: 4 kB / 1.221 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006552/0.4917, allocations: 88.88 kB / 1.221 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000239/0.492, allocations: 43.91 kB / 1.221 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002241/0.4942, allocations: 1.602 MB / 1.222 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002839/0.4945, allocations: 43.81 kB / 1.223 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.854e-05/0.4945, allocations: 8 kB / 1.223 GB, free: 8.617 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.000166/0.4947, allocations: 149.7 kB / 1.223 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.615e-05/0.4948, allocations: 27.7 kB / 1.223 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001162/0.496, allocations: 366.5 kB / 1.223 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.496, allocations: 0 / 1.223 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.496, allocations: 4 kB / 1.223 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.496, allocations: 3.984 kB / 1.223 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001697/0.4977, allocations: 0.7707 MB / 1.224 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.4977, allocations: 8.031 kB / 1.224 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002091/0.4979, allocations: 39.95 kB / 1.224 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005294/0.4985, allocations: 84.77 kB / 1.224 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.257e-05/0.4985, allocations: 8 kB / 1.224 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001887/0.5004, allocations: 1.621 MB / 1.226 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.5004, allocations: 0 / 1.226 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001127/0.5015, allocations: 458.2 kB / 1.226 GB, free: 4.848 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001305/0.5017, allocations: 124.7 kB / 1.226 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.855e-05/0.5017, allocations: 4 kB / 1.226 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002771/0.502, allocations: 31.95 kB / 1.226 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.005e-05/0.5021, allocations: 16.05 kB / 1.226 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.311e-05/0.5021, allocations: 8 kB / 1.226 GB, free: 4.648 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001663/0.5023, allocations: 189.9 kB / 1.226 GB, free: 4.461 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.21e-07/0.5023, allocations: 0 / 1.226 GB, free: 4.461 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004347/0.5028, allocations: 87.83 kB / 1.226 GB, free: 4.375 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.001706/0.5045, allocations: 1.042 MB / 1.227 GB, free: 3.297 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001063/0.5055, allocations: 358.4 kB / 1.228 GB, free: 2.934 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.5056, allocations: 256 / 1.228 GB, free: 2.934 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000659/0.5062, allocations: 254.5 kB / 1.228 GB, free: 2.672 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008527/0.5071, allocations: 118.7 kB / 1.228 GB, free: 2.559 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00508/0.5122, allocations: 2.89 MB / 1.231 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003543/0.5126, allocations: 0.7714 MB / 1.232 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002548/0.5128, allocations: 50.27 kB / 1.232 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001303/0.513, allocations: 79.56 kB / 1.232 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of SimCode: time 5.81e-07/0.513, allocations: 4 kB / 1.232 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02236/0.5353, allocations: 8.066 MB / 1.24 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002387/0.5356, allocations: 282.3 kB / 1.24 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.925/2.46, allocations: 0 / 1.24 GB, free: 6.387 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