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.0009735/0.0009735, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007749/0.007749, allocations: 170 kB / 16.26 MB, free: 6.613 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.359/1.359, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.663/2.663, allocations: 462.6 MB / 0.7364 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004958/0.0004959, allocations: 16.94 kB / 0.9029 GB, free: 36.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3185/0.319, allocations: 159.6 MB / 1.059 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1617/0.4808, allocations: 157.2 MB / 1.212 GB, free: 7.078 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004852/0.4857, allocations: 3.471 MB / 1.216 GB, free: 3.594 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003842/0.4861, allocations: 7.938 kB / 1.216 GB, free: 3.586 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000464/0.4866, allocations: 107.3 kB / 1.216 GB, free: 3.48 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001375/0.488, allocations: 414.3 kB / 1.216 GB, free: 3.074 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00164/0.4896, allocations: 0.5481 MB / 1.217 GB, free: 2.527 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00104/0.4907, allocations: 0.8154 MB / 1.218 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000376/0.4911, allocations: 180.8 kB / 1.218 GB, free: 1.539 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001625/0.4927, allocations: 317.1 kB / 1.218 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003511/0.4931, allocations: 191.2 kB / 1.218 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.495e-05/0.4931, allocations: 15.98 kB / 1.218 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001137/0.4943, allocations: 0.6273 MB / 1.219 GB, free: 420 kB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.000127/0.4944, allocations: 79.72 kB / 1.219 GB, free: 340 kB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001951/0.4946, allocations: 165 kB / 1.219 GB, free: 168 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00091/0.4955, allocations: 0.5646 MB / 1.22 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.4956, allocations: 0 / 1.22 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.684e-06/0.4956, allocations: 4 kB / 1.22 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.816e-06/0.4956, allocations: 0 / 1.22 GB, free: 15.59 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.001067/0.4967, allocations: 0.5961 MB / 1.22 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.4967, allocations: 19.84 kB / 1.22 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.365e-05/0.4968, allocations: 54.55 kB / 1.22 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005415/0.4973, allocations: 83.5 kB / 1.22 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003806/0.4977, allocations: 293.3 kB / 1.221 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/0.4978, allocations: 12.44 kB / 1.221 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.588e-05/0.4978, allocations: 20 kB / 1.221 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006884/0.4985, allocations: 332.1 kB / 1.221 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.4985, allocations: 0 / 1.221 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.829e-05/0.4986, allocations: 8 kB / 1.221 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.4986, allocations: 7.938 kB / 1.221 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007086/0.4993, allocations: 284.9 kB / 1.221 GB, free: 13.79 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.001925/0.5012, allocations: 1.252 MB / 1.222 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005446/0.5018, allocations: 198.4 kB / 1.223 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003612/0.5022, allocations: 140.8 kB / 1.223 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006519/0.5028, allocations: 319.2 kB / 1.223 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.5029, allocations: 30.56 kB / 1.223 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=14): time 1.683e-06/0.5029, allocations: 0 / 1.223 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14): time 0.002375/0.5052, allocations: 0.6278 MB / 1.224 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.373e-05/0.5053, allocations: 51.41 kB / 1.224 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002605/0.5056, allocations: 259 kB / 1.224 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.118e-05/0.5056, allocations: 33.7 kB / 1.224 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.5057, allocations: 164.2 kB / 1.224 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.857e-05/0.5058, allocations: 55.19 kB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.885e-05/0.5058, allocations: 17.72 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.5059, allocations: 334.8 kB / 1.225 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003222/0.5063, allocations: 111.9 kB / 1.225 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003333/0.5066, allocations: 152.2 kB / 1.225 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006369/0.5073, allocations: 269.2 kB / 1.225 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.5073, allocations: 3.938 kB / 1.225 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00123/0.5085, allocations: 389.8 kB / 1.225 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.5085, allocations: 8 kB / 1.225 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.5085, allocations: 128 / 1.225 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006063/0.5092, allocations: 92.7 kB / 1.226 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002528/0.5094, allocations: 55.95 kB / 1.226 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002098/0.5115, allocations: 1.607 MB / 1.227 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002778/0.5118, allocations: 51.66 kB / 1.227 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.505e-05/0.5119, allocations: 8.062 kB / 1.227 GB, free: 7.168 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.0001512/0.512, allocations: 146.3 kB / 1.227 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.656e-05/0.5121, allocations: 23.72 kB / 1.227 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001245/0.5133, allocations: 400 kB / 1.228 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-06/0.5133, allocations: 4 kB / 1.228 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.5134, allocations: 0 / 1.228 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.5134, allocations: 4 kB / 1.228 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001725/0.5151, allocations: 0.8058 MB / 1.229 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.5151, allocations: 0 / 1.229 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002097/0.5153, allocations: 52 kB / 1.229 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005166/0.5159, allocations: 92.75 kB / 1.229 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.887e-05/0.5159, allocations: 0 / 1.229 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001857/0.5177, allocations: 1.617 MB / 1.23 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.5178, allocations: 4.062 kB / 1.23 GB, free: 3.809 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001212/0.519, allocations: 494.4 kB / 1.231 GB, free: 3.297 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001253/0.5191, allocations: 124.9 kB / 1.231 GB, free: 3.156 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.097e-05/0.5192, allocations: 0 / 1.231 GB, free: 3.156 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002893/0.5194, allocations: 39.88 kB / 1.231 GB, free: 3.117 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.084e-05/0.5195, allocations: 23.89 kB / 1.231 GB, free: 3.094 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.209e-05/0.5196, allocations: 12 kB / 1.231 GB, free: 3.082 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001676/0.5197, allocations: 185.9 kB / 1.231 GB, free: 2.898 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.61e-07/0.5198, allocations: 4 kB / 1.231 GB, free: 2.895 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004254/0.5202, allocations: 79.94 kB / 1.231 GB, free: 2.816 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.001771/0.522, allocations: 1.073 MB / 1.232 GB, free: 1.711 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001025/0.523, allocations: 398.6 kB / 1.233 GB, free: 1.309 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.523, allocations: 4 kB / 1.233 GB, free: 1.305 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0006066/0.5236, allocations: 270.7 kB / 1.233 GB, free: 1.027 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000794/0.5244, allocations: 118.5 kB / 1.233 GB, free: 0.918 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005097/0.5295, allocations: 2.982 MB / 1.236 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00037/0.5299, allocations: 0.7714 MB / 1.237 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002293/0.5302, allocations: 50.27 kB / 1.237 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001224/0.5303, allocations: 75.41 kB / 1.237 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of SimCode: time 3.21e-07/0.5303, allocations: 4 kB / 1.237 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02132/0.5516, allocations: 7.949 MB / 1.245 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002167/0.5519, allocations: 276.7 kB / 1.245 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.905/2.457, allocations: 0 / 1.245 GB, free: 4.801 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