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.001603/0.001603, 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.001958/0.001958, allocations: 194.1 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.362/1.362, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.742/2.742, allocations: 469.4 MB / 0.742 GB, free: 7.641 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002275/0.002275, allocations: 68.59 kB / 0.9083 GB, free: 34.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.283/0.2853, allocations: 159.1 MB / 1.064 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1731/0.4585, allocations: 161.5 MB / 1.221 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005048/0.4636, allocations: 3.491 MB / 1.225 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004425/0.4641, allocations: 11.94 kB / 1.225 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004897/0.4646, allocations: 131 kB / 1.225 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0014/0.466, allocations: 453.8 kB / 1.225 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001576/0.4676, allocations: 0.594 MB / 1.226 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0008468/0.4685, allocations: 0.6206 MB / 1.227 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004696/0.469, allocations: 234.6 kB / 1.227 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001354/0.4703, allocations: 324.6 kB / 1.227 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003562/0.4707, allocations: 199.1 kB / 1.227 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.702e-05/0.4708, allocations: 20 kB / 1.227 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009886/0.4718, allocations: 0.5534 MB / 1.228 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001222/0.4719, allocations: 99.72 kB / 1.228 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001715/0.4721, allocations: 143.3 kB / 1.228 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008363/0.4729, allocations: 0.5453 MB / 1.229 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.473, allocations: 0 / 1.229 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.302e-06/0.473, allocations: 0 / 1.229 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.305e-06/0.473, allocations: 0 / 1.229 GB, free: 4.973 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.00106/0.474, allocations: 0.6311 MB / 1.229 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.4741, allocations: 8.031 kB / 1.229 GB, free: 4.285 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.806e-05/0.4742, allocations: 58.48 kB / 1.229 GB, free: 4.219 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005191/0.4747, allocations: 75.5 kB / 1.229 GB, free: 4.145 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003719/0.4751, allocations: 297.3 kB / 1.23 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/0.4751, allocations: 16.38 kB / 1.23 GB, free: 3.801 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.692e-05/0.4751, allocations: 20 kB / 1.23 GB, free: 3.781 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006351/0.4758, allocations: 312.1 kB / 1.23 GB, free: 3.453 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.4758, allocations: 3.938 kB / 1.23 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.111e-05/0.4758, allocations: 12 kB / 1.23 GB, free: 3.438 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/0.4758, allocations: 7.938 kB / 1.23 GB, free: 3.43 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006667/0.4765, allocations: 252.9 kB / 1.23 GB, free: 3.184 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.001572/0.4781, allocations: 1.252 MB / 1.231 GB, free: 1.816 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004468/0.4786, allocations: 170.5 kB / 1.232 GB, free: 1.641 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003248/0.4789, allocations: 124.8 kB / 1.232 GB, free: 1.516 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005997/0.4795, allocations: 307.2 kB / 1.232 GB, free: 1.16 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.4795, allocations: 34.5 kB / 1.232 GB, free: 1.117 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=14): time 2.164e-06/0.4795, allocations: 0 / 1.232 GB, free: 1.117 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14): time 0.002277/0.4818, allocations: 0.5724 MB / 1.233 GB, free: 0.5195 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.638e-05/0.4819, allocations: 59.34 kB / 1.233 GB, free: 460 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002447/0.4821, allocations: 255 kB / 1.233 GB, free: 196 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.775e-05/0.4822, allocations: 29.7 kB / 1.233 GB, free: 160 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/0.4823, allocations: 172.1 kB / 1.233 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.277e-05/0.4823, allocations: 47.23 kB / 1.233 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.65e-05/0.4824, allocations: 41.7 kB / 1.233 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.4826, allocations: 330.8 kB / 1.234 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003017/0.4829, allocations: 99.92 kB / 1.234 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003163/0.4832, allocations: 133.8 kB / 1.234 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006005/0.4838, allocations: 244.1 kB / 1.234 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.4838, allocations: 0 / 1.234 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001186/0.485, allocations: 353.8 kB / 1.234 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.485, allocations: 4 kB / 1.234 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.485, allocations: 4 kB / 1.234 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006236/0.4857, allocations: 84.89 kB / 1.234 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002352/0.4859, allocations: 47.89 kB / 1.234 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002131/0.4881, allocations: 1.726 MB / 1.236 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002425/0.4883, allocations: 35.83 kB / 1.236 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.501e-05/0.4883, allocations: 7.984 kB / 1.236 GB, free: 12.66 MB / 0.9981 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.0001541/0.4885, allocations: 153.7 kB / 1.236 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.787e-05/0.4886, allocations: 19.72 kB / 1.236 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001199/0.4898, allocations: 365.5 kB / 1.237 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.4898, allocations: 7.938 kB / 1.237 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.4898, allocations: 7.984 kB / 1.237 GB, free: 12.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.4898, allocations: 0 / 1.237 GB, free: 12.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001696/0.4915, allocations: 0.7746 MB / 1.237 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.4915, allocations: 0 / 1.237 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000199/0.4917, allocations: 36.06 kB / 1.237 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004521/0.4922, allocations: 80.72 kB / 1.238 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.128e-05/0.4922, allocations: 8 kB / 1.238 GB, free: 11.13 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002203/0.4944, allocations: 1.751 MB / 1.239 GB, free: 9.234 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.4945, allocations: 0 / 1.239 GB, free: 9.234 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001153/0.4956, allocations: 455.5 kB / 1.24 GB, free: 8.762 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001208/0.4958, allocations: 124.7 kB / 1.24 GB, free: 8.621 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.023e-05/0.4958, allocations: 11.94 kB / 1.24 GB, free: 8.609 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002594/0.4961, allocations: 19.97 kB / 1.24 GB, free: 8.59 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.509e-05/0.4962, allocations: 15.98 kB / 1.24 GB, free: 8.574 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.502e-05/0.4962, allocations: 15.98 kB / 1.24 GB, free: 8.559 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001679/0.4964, allocations: 186 kB / 1.24 GB, free: 8.375 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4964, allocations: 0 / 1.24 GB, free: 8.375 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004477/0.4968, allocations: 83.84 kB / 1.24 GB, free: 8.293 MB / 0.9981 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.001698/0.4985, allocations: 1.047 MB / 1.241 GB, free: 7.215 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001008/0.4995, allocations: 362.4 kB / 1.242 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4996, allocations: 4.25 kB / 1.242 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005949/0.5002, allocations: 258.4 kB / 1.242 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000773/0.5009, allocations: 124.9 kB / 1.242 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004852/0.5058, allocations: 2.813 MB / 1.245 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003431/0.5062, allocations: 0.7714 MB / 1.245 GB, free: 2.734 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002284/0.5064, allocations: 66.23 kB / 1.245 GB, free: 2.668 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000119/0.5065, allocations: 71.42 kB / 1.246 GB, free: 2.598 MB / 0.9981 GB Notification: Performance of SimCode: time 4.2e-07/0.5065, allocations: 0 / 1.246 GB, free: 2.598 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4828/0.9893, allocations: 8.564 MB / 1.254 GB, free: 188 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/12.31, allocations: 11.66 kB / 1.254 GB, free: 188 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.csv --start-time 0 --stop-time 120 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.048 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.csv","/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